Set screen saver from command line?

  • Thread starter Thread starter Daniel Rudy
  • Start date Start date
D

Daniel Rudy

Is there a way to set the screen saver from the command line? A
registery hack maybe?
 
No. There is more to a screensaver than a program. If you dbl click the screensaver you can use it as a normal program (it will draw pretty things).

In 9x Screensavers were just programs that told windows not to let the user press Ctrl + Alt + Delete. In XP it's more of a switch user then run program situation.
 
Daniel said:
Is there a way to set the screen saver from the command line?
A registery hack maybe?
Hi

The screen saver to be used is defined in the registry value
HKEY_CURRENT_USER\Control Panel\Desktop\SCRNSAVE.EXE

From the command line you can use e.g. reg.exe to set this value.
 
Torgeir Bakken (MVP) said:
Hi

The screen saver to be used is defined in the registry value
HKEY_CURRENT_USER\Control Panel\Desktop\SCRNSAVE.EXE

From the command line you can use e.g. reg.exe to set this value.


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

Ah, that's exactly what I was looking for.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top