This is an old revision of the document!
Table of Contents
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
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)
Elevated Programs and Network Drives
One of the useful tools that Windows offers is the ability to assign drive letters to the network locations. You can use the Map Network Drive command of Windows Explorer or AB Commander to create the network drives. After a network drive has been created, you can use it just like any other drive: browse its contents, copy file to or from it, and so on.
A problem may occur, however, if you use Windows Vista or Windows 7 and need to access the network drive from an application that runs elevated (a.k.a. as administrator).
-
create a new DWORD entry with the name
EnableLinkedConnections
and value 1 inHKEY_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
Case Sensitivity
Taken in part from 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