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.

fsk007Asked:
Who is Participating?
 
Debsyl99Commented:
Yes - I should have mentioned - if you just run the merge whilst you're logged on then you have to log off and back on again for it to work. That's why I thought it'd be useful as a logon script.
0
 
Debsyl99Commented:
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 :))
0
 
Debsyl99Commented:
P.S Needless to say - Backup registry first and test prior to any deployment attempt!
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
fsk007Author Commented:
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.

0
 
Debsyl99Commented:
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.
0
 
fsk007Author Commented:
Sorry so the answer is that this is not posible.
0
 
Debsyl99Commented:
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.
0
 
fsk007Author Commented:
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.
0
 
fsk007Author Commented:
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.
0
 
fsk007Author Commented:
You have helped me alot, thank you, I accept you are the Guru :-))
0
 
Debsyl99Commented:
Thanks  and you're very welcome - but we didn't quite solve your problem though,
Best Wishes
Deb :))
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.