Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing explorer view settings

Status
Not open for further replies.

acl03

MIS
Jun 13, 2005
1,077
US
Hello,

Does anyone know if there is a way to script the changing of folder view settigs.

I am talking about settings like:

[ul square]
[li]List, Thumbnail, Details, etc. views[/li]
[li]View-->Status bar[/li]
[li]Hiding/Showing Extensions[/li]
[li]Show in groups[/li]
[li]Classic folders/Show Common Tasks[/li]
[/ul]

Appreciate it!


Thanks,
Andrew

[medal] Hard work often pays off over time, but procrastination pays off right now!
 
Hello!
Why do you want change those settings with VBScript?
I use *.reg file, with all settings which I want to change.
Here is example:

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
-> This is to ensure that nothing will be Autostarted when any of the users logon.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ServerAdminUI"=dword:00000000 -> "Hidden"=dword:00000001 -> Explorer.exe -> Tools -> View: "Show hidden files and folders" - Checked
"ShowCompColor"=dword:00000001
"HideFileExt"=dword:00000000 -> Explorer.exe -> Tools -> View: "Hide extensions for known file types" - UnChecked
"DontPrettyPath"=dword:00000000
"ShowInfoTip"=dword:00000001
"HideIcons"=dword:00000000
"MapNetDrvBtn"=dword:00000000 -> If Value=1 - The Map Network Drive button will appear in Windows Explorer and My Computer toolbars.
"WebView"=dword:00000001 -> Explorer.exe -> Tools -> General: "Show common tasks in folders" - Checked
"Filter"=dword:00000000
"SuperHidden"=dword:00000001 -> Explorer.exe -> Tools -> View: "Hide protected operating system files (Recommended)" - UnChecked
"SeparateProcess"=dword:00000000
"ListviewAlphaSelect"=dword:00000001
"ListviewShadow"=dword:00000001
"ListviewWatermark"=dword:00000001
"TaskbarAnimations"=dword:00000001
"StartMenuInit"=dword:00000002
"StartButtonBalloonTip"=dword:00000002
"NoNetCrawling"=dword:00000001 -> Explorer.exe -> Tools -> View: "Automatically search for network folders and printers" - UnChecked
"FolderContentsInfoTip"=dword:00000001 -> Explorer.exe -> Tools -> View: "Display file size information in folder tips" - Checked
"FriendlyTree"=dword:00000001 -> Explorer.exe -> Tools -> View: "Display Simple folder view in Explorer`s Folder`s List" - Checked
"WebViewBarricade"=dword:00000001
"DisableThumbnailCache"=dword:00000001 -> Explorer.exe -> Tools -> View: "Do not cache thumbnails" - Checked
"ShowSuperHidden"=dword:00000001
"ClassicViewState"=dword:00000000
"PersistBrowsers"=dword:00000000 -> If Value=1 - The "My Documents" folder automatically opens every time that you log on to a Windows XP Service Pack 2-based computer []

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]
"FullPath"=dword:00000001
"FullPathAddress"=dword:00000001
-> Classic Search, Full Path In Title Bar And Address Bar. This allows you to disable the new Search Assistant Dog and use the traditional search interface in Windows Explorer


[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComputerDescriptions]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComputerDescriptions]
-> Remove and Create ComputerDescriptions: The ComputerDescriptions key is useful in determining whether or not a user was connected to certain computers or belonged to a specific LAN.

Desktop -> Properties -> Desktop -> Customize Desktop ... -> Desktop cleanup
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001 -> "Run Desktop Cleanup Wizard every 60 days" - UnChecked
"Days between clean up"=dword:00000099 -> Days between clean up: 99

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU]
-> Remove and Create: This is opened programs from Strat -> Run ...

[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="0" -> Stop Delay Of Start Menu (400 by default)
"PaintDesktopVersion"=dword:00000000 -> Display the Build Number on the desktop
"PowerOffActive"="0" -> tells whether the power-off phase of screen saving is enabled.
"PowerOffTimeOut"="0" -> returns the timeout in seconds of the power-off feature.
"ScreenSaverIsSecure"="0" -> Desktop -> Properties -> Screen Saver -> "On resume, password protect" - UnChecked
"ScreenSaveTimeOut"="600" -> Desktop -> Properties -> Screen Saver -> Wait 10 minutes
"ScreenSaveActive"="0" - ScreenSaver (None)
"SCRNSAVE.EXE"="" - ScreenSaver (None)

[HKEY_CURRENT_USER\Control Panel\PowerCfg]
"CurrentPowerPolicy"="3" -> Desktop -> Properties -> Screen Saver -> Power -> Power Schemes: Always On


Global Power Policy:
[HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy]
"Policies"=hex:01,00,00,00,00,00,00,00,03,00,00,00,08,00,00,00,00,00,00,00,03,\
00,00,00,08,00,00,00,00,00,00,00,03,00,00,00,00,00,00,80,00,00,00,00,03,00,\
00,00,00,00,00,80,00,00,00,00,01,00,00,00,00,00,00,80,00,00,00,00,01,00,00,\
00,00,00,00,80,01,00,00,00,03,00,00,00,00,00,00,00,04,00,00,c0,01,00,00,00,\
02,00,00,00,01,00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,\
00,12,00,00,00

Remove and Create Power Policies:
[-HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies]
[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies]

Create Power Policies 3 (Always On):
[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\3]
"Name"="Always On"
"Description"="This scheme keeps the computer running so that it can be accessed from the network. Use this scheme if you do not have network wakeup hardware."
"Policies"=hex:01,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,32,32,00,00,04,00,00,00,04,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,84,03,00,00,00,00,00,00,08,07,00,\
00,00,01,64,64,64,64,00,00
 
Thanks, I'll check these out.

Is there a command to run that will "apply" or activate these settings, or do you need to log out/in? Thanks

Thanks,
Andrew

[medal] Hard work often pays off over time, but procrastination pays off right now!
 
Also, what about settings like view-status bar and view-details?

And maybe a way to apply that to all folders?

Thanks,
Andrew

[medal] Hard work often pays off over time, but procrastination pays off right now!
 
Hello,
All changes will be activated after restart computer (in some case after log out/log in).

You can find information for "Enable Status Bar in Windows Explorer and Internet Explorer" on this link.



Best Regards,

Damyan Petkov
SkypeID:* "damian.petkov
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top