Link to home
Start Free TrialLog in
Avatar of fsk007
fsk007Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Script Folder View settings in Detail to over 1000 users

How can I set Folder Veiw settings to detail using a script or from the regisrty to set all users veiw in detail without any manual intervention. (NOT FOLDER OPTIONS)

"HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags\<Bag Number>\Shell" this key works but then another one is created then another again and again. (AllFolders Does not work)

I need to deliver a new fix for all exsiting users and also take into account how to remove the existing settings I would prefer to have an .adm template or a GPO in AD but I don't believe microsoft have covered this area.

Please can any one help this is driving me nuts.

Avatar of Debsyl99
Debsyl99

Hi fsk007,
You also need to look at the following reg-key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams]
When you select detail view on a folder, and then apply this view to all folders then the following value gets added to the key above:
"Settings"=hex:08,00,00,00,04,00,00,00,01,00,00,00,00,77,7e,13,73,35,cf,11,ae,\
  69,08,00,2b,2e,12,62,04,00,00,00,01,00,00,00,43,00,00,00
Hence you should be able to deploy this as a logon script by running a batch file from the user's logon script folder containging this:
regedit /s pathto\details.reg
Where details.reg is a txt file saved with a .reg extension only containing the following:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams]
"Settings"=hex:08,00,00,00,04,00,00,00,01,00,00,00,00,77,7e,13,73,35,cf,11,ae,\
  69,08,00,2b,2e,12,62,04,00,00,00,01,00,00,00,43,00,00,00

and pathto\details.reg is an accessible share for the users logging on. Adm files won't handle hex registry values.

Deb :))
P.S Needless to say - Backup registry first and test prior to any deployment attempt!
Avatar of fsk007

ASKER

Thank you for the answer but tricky for me we are not allowed to run any batch files on our secure network all extension are disabled via policies.
The only way I can use it is via GPO .Adm template and I am unable to this with this answer.

Hmm - you didn't say that in your original question - "I would prefer to have an .adm template or a GPO in AD " not quite the same as "I can't have an adm template". As far as I'm aware you can't use an adm template for reg_binary values.
Avatar of fsk007

ASKER

Sorry so the answer is that this is not posible.
As far as I'm aware no - although I'd wait and see if someone comes up with an inventive way around it - or knows of a third-party add-on that would do it. I just push any registry changes like this out through scripts. Must be frustrating not being able to run any.
Avatar of fsk007

ASKER

Thank you for your support, I am still awaiting reply from some genius, or I may have to write a VB file that will write the Binary value into the HKCU key or update all the 'Vid' and 'Mode' values in the shell bag to detail.
Avatar of fsk007

ASKER

oh yes by the way, that reg key you supplied, it does not work. I hope that the right one. I just merged it and nothing happened.
ASKER CERTIFIED SOLUTION
Avatar of Debsyl99
Debsyl99

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fsk007

ASKER

You have helped me alot, thank you, I accept you are the Guru :-))
Thanks  and you're very welcome - but we didn't quite solve your problem though,
Best Wishes
Deb :))