![]() 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. REM Also edits the registry hive for users who are not logged in Use the Optimize this folder for drop-down menu and select the correct folder view template. REM Modifies registry keys in for all logged in users Right-click the folder, and select the Properties option. 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 The usual way to reset a Folder Type View Settings is as follows: Open Explorer > Folder Options (Called File Explorer Options in Windows 10) > View tab > Reset Folders OK > Apply/OK. REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowSuperHidden /t REG_DWORD /d 1 /f REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Hidden /t REG_DWORD /d 1 /f Show number of unread items or Show total number of items. REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f The Common Dialogs provided by Explorer (Open/Save/Save As) save their view settings in the same Registry location Explorer folder views are saved. ![]() Many people mistakenly believe that what Im asking for can then be accomplished by going to Windows Explorer -> Options -> Change folder and search options -> View -> Apply to Folders. REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL /v DefaultValue /t REG_DWORD /d 1 /f For any given folder, this can be done by going to Windows Explorer -> View -> List, one by one. 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. Now type and hit Enter to open the Registry Editor. REM Changes to HKLM are not user-specific 3 Change default Save location for User Profile folders via Registry. ![]() 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. How to Reset Folder View Settings to Default in Windows 10 TutorialIn Windows, you can change the template, column width, Group by, Sort by, and layout vie. 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 |