User Tools

Site Tools


kb:common:windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kb:common:windows [2023/08/22 14:38] – [Elevated Programs and Network Drives] alexander.elbertkb:common:windows [2024/07/08 11:55] (current) joerg.hampel
Line 1: Line 1:
 ====== Windows ====== ====== Windows ======
 +
 +===== Disable Security Questions Windows 11/10 via Local Group Policy Editor =====
 +
 +  - Press Windows + R key combinations to open the Run window.
 +  - Input gpedit.msc in the text box and press Enter.
 +  - In the left panel, navigate to the following location:
 +  - Computer Configuration > Administrative Templates > Windows Components > Credential User Interface
 +  - In the right panel, double-click Prevent the use of security questions for local accounts.
 +  - In the pop-up window, select the option of Enabled, then click Apply > OK.
 +
 +---- 
 +
 +===== Remote Desktop =====
 +
 +To enable remote desktop and allow to log in via certain users, follow these steps:
 +
 +  - On the device you want to connect to, select Start and then click the Settings icon on the left.
 +  - Select the System group followed by the Remote Desktop item.
 +  - Use the slider to enable Remote Desktop.
 +  - It is also recommended to keep the PC awake and discoverable to facilitate connections. Click Show settings to enable.
 +  - As needed, add users who can connect remotely by clicking Select users that can remotely access this PC.
 +  - Members of the Administrators group automatically have access.
 +  - Make note of the name of this PC under How to connect to this PC. You'll need this to configure the clients.
 +
 +---- 
  
 ===== Map Network Drives ===== ===== Map Network Drives =====
  
-Mapping with different credentials only stays persistent after restart, if you **select both options the first time** you create the network drive.+Mapping with different credentials only stays persistent after restart, if you **select both options the first time** you create the network drive. (//internal: use "COMP-NAS" on our buildservers instead of the IP//)
  
 {{:kb:common:pasted:20220722-094828.png}} {{:kb:common:pasted:20220722-094828.png}}
  
 +
 +---- 
  
 ===== Elevated Programs and Network Drives ===== ===== Elevated Programs and Network Drives =====
Line 17: Line 44:
   * create a new DWORD entry with the name ''EnableLinkedConnections'' and value 1 in ''HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System''   * create a new DWORD entry with the name ''EnableLinkedConnections'' and value 1 in ''HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System''
   * you can do this with this single command (as admin): ''reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLinkedConnections" /t REG_DWORD /d 0x00000001 /f''   * you can do this with this single command (as admin): ''reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLinkedConnections" /t REG_DWORD /d 0x00000001 /f''
 +
 +---- 
 +
 +===== Case Sensitivity =====
 +
 +//Taken in part from [[https://learn.microsoft.com/en-us/windows/wsl/case-sensitivity|Case Sensitivity]] on Microsoft Learn platform//
 +
 +When working with both Linux and Windows files and directories, you may need to adjust how case sensitivity is handled. Standard behavior:
 +
 +  * Windows file system treats file and directory names as case-insensitive. FOO.txt and foo.txt will be treated as equivalent files.
 +  * Linux file system treats file and directory names as case-sensitive. FOO.txt and foo.txt will be treated as distinct files.
 +
 +The Windows file system supports setting case sensitivity with attribute flags per directory. While the standard behavior is to be case-insensitive, you can assign an attribute flag to make a directory case sensitive, so that it will recognize Linux files and folders that may differ only by case.
 +
 +
 +=== Windows Linux Subsystem ===
 +
 +//Windows PowerShell opened in administrator mode//
 +
 +Run the following:
 +
 +    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
 +
 +This takes a few seconds and will (prompt you to) restart your computer. 
 +
 +=== Change CS Settings ===
 +
 +//Windows PowerShell opened in administrator mode//
 +
 +To inspect case sensitivity settings, run:
 +
 +    fsutil.exe file queryCaseSensitiveInfo <path>
 +
 +To enable case sensitivity, run:
 +
 +    fsutil.exe file SetCaseSensitiveInfo <path> enable
 +
 +To disable case sensitivity, run:
 +
 +    fsutil.exe file SetCaseSensitiveInfo <path> disable
 +
 +
kb/common/windows.1692715080.txt.gz · Last modified: 2023/08/22 14:38 by alexander.elbert