REM Modified by Ken Carlilep0 and Sam HillsįOR /F "tokens=2* delims=\" %%a IN ('REG QUERY HKU ^|Findstr /R "DEFAULT S-1-5-*-*$"') DO CALL :modkey %%aįor /d %%b in ("%ProfPath%\*") do call :modlokey Exiting here ends the whole batch file. Its a free, open source app that just sets the correct registry values for you. REM Also edits the registry hive for users who are not logged in Sorry for the late reply, but you can easily change your Windows 11 default folder views using WinSetView. REM Modifies registry keys in for all logged in users Click the Linked Group Policy Objects tab to view all GPOs for this domain. Users can view and open all apps in the All Apps view, but they cannot pin any apps to Start. In the navigation pane, click Group Policy Management > Domains >. REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v DontPrettyPath /t REG_DWORD /d 1 /fĮcho WScript.Echo CreateObject("WScript.Shell").RegRead("HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory") >%temp%\profpath.vbsįor /f "tokens=*" %%i in ('cscript //nologo %temp%\profpath.vbs') do set ProfPath=%%i When a full Start layout is applied with this method, the users cannot pin, unpin, or uninstall apps from Start. REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowSuperHidden /t REG_DWORD /d 1 /f PianoZeus - Mon rafaeldemartin Did you try choosing the option: - Remember each folder's view settings under 'Folder Options' Erk333 if its trully not sticking there used to be a known issue with Windows 7 for such.in which case ensure you updated well. REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Hidden /t REG_DWORD /d 1 /f To access this Policies folder you would find the Sysvol folder on the domain controller. REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f The shell for the GPO is a folder, which is stored under the Policies folder. On the far right of the ribbon, click on Options, then Change folder and search. REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL /v DefaultValue /t REG_DWORD /d 1 /f In Windows File Explorer, in the View menu/ribbon, in Layout, click on Details. REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\HideFileExt /v DefaultValue /t REG_DWORD /d 0 /f REM Turns "hide file extensions" OFF and "show hidden files" ON. REM Changes to HKLM are not user-specific It loops through ALL the users in the registry and the profiles directory (including DEFAULT, so newly-created users get them too) and sets these options for them all. The above registry patches are correct, but they don't fix the entire problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |