Link to home
Create AccountLog in
Avatar of ParadiseITS
ParadiseITS

asked on

How do I use Group Policy to force a path for My Pictures Screen Saver?

We are trying to use Group Policy to control our Screen Savers based on different events within the company.  So, the idea was floated to use My Pictures from a network path that could be updated with images from events.

Forcing the screen saver = Easy
Forcing the path..?   Can't seem to do it from Group Policy...?   Anyone know how?
Avatar of krawz187
krawz187
Flag of United States of America image

The group policies for Folder redirection allows redirecting My Pictures to a network location, but I don't think you can do that without also redirecting My Documents.
It would probably be easiest to add the following line to a logon script:
reg add "HKCU\Control Panel\Screen Saver.Slideshow" /v ImageDirectory /t REG_SZ /d "\\server\path" /f
Avatar of ParadiseITS
ParadiseITS

ASKER

I want all My Pictures SS's to go to the same network path, not My Documents to the network (which we already do).

I have considered the registry angle...  was hoping for a cleaner way to do it though...
... I can't seem to get that command to execute in my login script... how would I add it?
I should have mentioned that reg.exe is only included in WinXP.  If you have Win2K clients then you'll need to make a .reg file and import it with regedit /s <filename>.

If that's not the problem then what error do you get?
We get an  "expected end of statement" error... I'm not a VBS guru, but I didn't think it needed anything...? And they are all XP clients.
It sounds like a problem with the vbscript syntax.  What's the full line of code?
ASKER CERTIFIED SOLUTION
Avatar of Shift-3
Shift-3
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer