From 20f6fbf11b5801bb842ac83c36992deb9bb9d80e Mon Sep 17 00:00:00 2001 From: Kim Brian Ramberg Date: Mon, 6 Oct 2025 10:23:45 +0200 Subject: [PATCH] - --- .../Location Services - Disable (part 2).reg | Bin 0 -> 516 bytes .../Location Services - Disable.reg | Bin 0 -> 492 bytes .../Location Services - Enable.reg | Bin 0 -> 492 bytes ...by admin) on Windows 11. - WinTips.org.url | 2 ++ Windows/Maximum Path Length Limitation.md | 23 ++++++++++++++++++ 5 files changed, 25 insertions(+) create mode 100644 Windows/Location Services/Location Services - Disable (part 2).reg create mode 100644 Windows/Location Services/Location Services - Disable.reg create mode 100644 Windows/Location Services/Location Services - Enable.reg create mode 100644 Windows/Location Services/Location Services are Grayed Out (Turned off by admin) on Windows 11. - WinTips.org.url create mode 100644 Windows/Maximum Path Length Limitation.md diff --git a/Windows/Location Services/Location Services - Disable (part 2).reg b/Windows/Location Services/Location Services - Disable (part 2).reg new file mode 100644 index 0000000000000000000000000000000000000000..b7da9c495927f285b5b9a7cc6ba50d8ff28ed997 GIT binary patch literal 516 zcma)(-Acni5QV>M!FMQq0MYt$A$U=$Me(mR(jZ2Ptx*D!$VM!_y!!2mpcSMn!|u$P znR8C^@t#vrb5Fy9mJVY|9<8;!5O}k4BwCp@<{c*DL9{Zj&3D;g)3eT6iW`nOb>^BW zXIwI%?>*(*dmwhgg=j%0Hsp%j`Z!f`D>-}YuuaddM&8oSk*_ED=0+)V;jWkk>#gyi zw!+DuJ_fL36)TEZ5tk|jX{8m#msh{Wi`zluCxm2@$t3^n zI+3qH8-+S6Rz^d4+L4QORHO@;I;c++5@$39k3fCmfVilf^1QTCW-~R_re~^!I_j&c z3Vxw3z6#b-57d%tvUvjlr6s@OIT z41skeTIZ%Ls~R;iwJYX$ADvm1+4KxwgfH1v$!3pN_{#CB=3UFcw4a!|v8(+v;hod5 Qi}*U&#sPoz3v2Q_cLbwnZ#A^=*D8DsUDem zRiY=o$k&iN(Tv*%d(bmztPpIXg(B*KRpu~m;e97EHpI-htfF2MA83f_|F1WOyQF6W zc2qPpHz5p#O*yS=Q`Xgpo|@h__GA~6UESmK0AIy@XRe&H({T=)9Or79TIQyG&(_pl X?fQm6E0v+WNUkq)T<}+ISe^Di1LjkP literal 0 HcmV?d00001 diff --git a/Windows/Location Services/Location Services are Grayed Out (Turned off by admin) on Windows 11. - WinTips.org.url b/Windows/Location Services/Location Services are Grayed Out (Turned off by admin) on Windows 11. - WinTips.org.url new file mode 100644 index 0000000..2e8c535 --- /dev/null +++ b/Windows/Location Services/Location Services are Grayed Out (Turned off by admin) on Windows 11. - WinTips.org.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://www.wintips.org/fix-location-services-are-grayed-out-turned-off-by-admin-on-windows-11/ diff --git a/Windows/Maximum Path Length Limitation.md b/Windows/Maximum Path Length Limitation.md new file mode 100644 index 0000000..1c6ff41 --- /dev/null +++ b/Windows/Maximum Path Length Limitation.md @@ -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:\"` where "\" 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 +```