-
This commit is contained in:
Binary file not shown.
BIN
Windows/Location Services/Location Services - Disable.reg
Normal file
BIN
Windows/Location Services/Location Services - Disable.reg
Normal file
Binary file not shown.
BIN
Windows/Location Services/Location Services - Enable.reg
Normal file
BIN
Windows/Location Services/Location Services - Enable.reg
Normal file
Binary file not shown.
@@ -0,0 +1,2 @@
|
|||||||
|
[InternetShortcut]
|
||||||
|
URL=https://www.wintips.org/fix-location-services-are-grayed-out-turned-off-by-admin-on-windows-11/
|
||||||
23
Windows/Maximum Path Length Limitation.md
Normal file
23
Windows/Maximum Path Length Limitation.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Maximum Path Length Limitation
|
||||||
|
|
||||||
|
In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is `MAX_PATH`, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating null character. For example, the maximum path on drive D is `"D:\<some 256-character path string><NUL>"` where "\<NUL\>" represents the invisible terminating null character for the current system codepage. (The characters < > are used here for visual clarity and cannot be part of a valid path string.)
|
||||||
|
|
||||||
|
## Powershell
|
||||||
|
|
||||||
|
Run the following Powershell command with elevated permissions.
|
||||||
|
|
||||||
|
```
|
||||||
|
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem"
|
||||||
|
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
|
||||||
|
```
|
||||||
|
|
||||||
|
# Registry file .reg
|
||||||
|
|
||||||
|
Create a .reg file with the following content, then import it into the registry.
|
||||||
|
|
||||||
|
```
|
||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
|
||||||
|
"LongPathsEnabled"=dword:00000001
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user