Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Changing the Windows Explorer View to 'List' via Registry Change

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 07-04-2008
Member
 
Join Date: Jun 2006
Posts: 206
Changing the Windows Explorer View to 'List' via Registry Change

I am having Windows XP SP2, Windows 2000 SP4, Windows 2003 AD domain running in Windows 2000 mode. I have written a script that changes the windows explorer view to list. It usually works by writing values to the 'Streams' key in HKCU and seems to work fine when I run this as an administrator. The standard users dont have access to the tools > Options in Windows Explorer, disable via group policy. But when I login as a non-administrator, the view is still 'icons'. I have written a second script to interrogate the registry to verify that the changes that I made had been written successfully - they had. Below is the script details:

;@OSVersion
;Returns one of the following: "WIN_2003", "WIN_XP", "WIN_2000", "WIN_NT4",
"WIN_ME", "WIN_98", "WIN_95"

If @OSVersion = "WIN_2003" OR "WIN_XP" The
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams",
"Settings", "REG_BINARY",
"08000000040000000100000000777e137335cf11ae6908002b2e1262040000000200000043000000"
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults",
"{F3364BA0-65B9-11CE-A9BA-00AA004AE837}", "REG_BINARY",
"1c0000000400000000000000000090000000000001000000fffffffff0f0f0f014000300900000000000000030000000fdd fdffd0f0004002000100028003c0000000000010000000200000003000000f50060007800780000000000010000000200000 003000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000")
RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags")
Endif

If @OSVersion = "WIN_2000" The
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams",
"Settings", "REG_BINARY",
"09000000040000000000000000777e137335cf11ae6908002b2e12620300000001000000"
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults",
"{F3364BA0-65B9-11CE-A9BA-00AA004AE837}", "REG_BINARY",
"1c000000040000000000000000006c000000000001000000fffffffff0f0f0f0140003006c0000000000000030000000fdd fdffd0e000400200010002800000000000000010000000200000003000000780060007800780000000000010000000200000 003000000ffffffff")
Endif

Reply With Quote
  #2  
Old 08-04-2008
Member
 
Join Date: Oct 2005
Posts: 918
Re: Changing the Windows Explorer View to 'List' via Registry Change

I dont understand why do you want to do this? The setting of Windows Explorer view can be done with a click-drag click on the View icond. If you want then as the view throughout, it can be propagated through Folder Options.
Reply With Quote
  #3  
Old 08-04-2008
Member
 
Join Date: Jun 2006
Posts: 206
Re: Changing the Windows Explorer View to 'List' via Registry Chan

I want to implement this but users dont have access to Tools > Options > Folder Options in Windows Explorer. It has been removed through Group Policy and I cannot change that. The yser environment has been locked down so I want another way of achieving what could be done simply through the 'Folder Options'. Thanks
Reply With Quote
  #4  
Old 08-04-2008
Member
 
Join Date: Jun 2006
Posts: 620
Re: Changing the Windows Explorer View to 'List' via Registry Change

Dont you know that Folder View Settings are saved in the below locations:

HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags
HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU

Can you try to log in as Admin and then Reset all folders and set your List View, then Apply to all folders and then copy the registry settings from HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\ and implement into your script?
Reply With Quote
  #5  
Old 23-04-2008
Member
 
Join Date: Sep 2005
Posts: 1,466
Even I was having the same issue but now I have solved it. You have to go to the below location and then delete all the entries except "NoDriveTypeAutoRun"=dword:00000091

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

After that you can close the registry, modify folder's view and then apply to all folders. Just check it out, it will work.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Changing the Windows Explorer View to 'List' via Registry Change"
Thread Thread Starter Forum Replies Last Post
How to Change Window's Explorer Jump List? MahA ChOK Windows Software 3 03-11-2010 01:51 AM
View the List of Running Services - Windows XP Itronix Tips & Tweaks 1 26-02-2009 06:40 PM
Changing Filename COLORS in (VISTA )Windows Explorer (explorer.exe Eddie Vista Help 11 19-03-2008 04:28 AM
Details vs List view- how to change default? Lathar Windows XP Support 1 30-10-2007 08:49 AM


All times are GMT +5.5. The time now is 07:25 AM.