Sign in with
Sign up | Sign in
Your question

Force turning on screensaver on startup

Last response: in Windows XP
Share
Anonymous
November 3, 2004 5:34:50 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

Hi

Due to some extremely stupid design decisions in my current company, we are
faced with making an equally bad choice in making this a little safer.

We have a server application that would be natural to have as a windows
service, but the guy who made it apparently don't know how to make windows
services. So what he has done to make sure his application is restarted in
case of a server restart is to make the computer auto-login on startup. And
of course his application doesn't work unless the user logged in has
administrator rights... !!!

The dirty, dirty fix we wanted to do to make it a little bit harder for
curiuos operators to snoop around on this box with full admin rights, we
want to force a password proteced screensaver to run before the logon runs.
This is apparently straight forward in NT, but doesn't work on win 2000 and
XP.

Does anybody have a solution to this? (I know, throw away the piece of sh...
software, but unfortunately this is not an option at this time)


Thanks,

Morten
Anonymous
November 3, 2004 7:21:00 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

Morten Petter√łe wrote:

> The dirty, dirty fix we wanted to do to make it a little bit harder for
> curiuos operators to snoop around on this box with full admin rights, we
> want to force a password proteced screensaver to run before the logon runs.
> This is apparently straight forward in NT, but doesn't work on win 2000 and
> XP.
>
> Does anybody have a solution to this? (I know, throw away the piece of sh...
> software, but unfortunately this is not an option at this time)
Hi

Put e.g. this command in the Run key in registry (adjust the
C:\windows\ path if needed):

C:\Windows\system32\rundll32.exe user32.dll,LockWorkStation


(use the exact text LockWorkStation , it is case sensitive)

INFO: Run, RunOnce, RunServices, RunServicesOnce and Startup
http://support.microsoft.com/default.aspx?scid=kb;EN-US;179365


--
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.m...
!