Windows XP SP2 autologon

G

Guest

Hello,

I have setup autologon using KB article 315231. A special user was created
for this.

Windows XP SP 2 does log in automatically after a reboot of the PC.
However, when I log off the user (session log off, PC keeps running), the
user is not automatically logged on again.
Is this the normal behaviour?
How can I make sure that when an accidental log off happens, an automatic
log on is performed by the system?

Thanks
 
G

Guest

You would institute a logoff script that restarted the system.
start/run, type:
HH mk:mad:MSITStore:%windir%\Help\SPconcepts.chm::/gptext_logoffscripts.htm

--restart.vbs--
Set OpSysSet =
GetObject("winmgmts:{impersonationLevel=impersonate,(Shutdown)}" & _
"//./root/cimv2").ExecQuery("SELECT * FROM " & _
"Win32_OperatingSystem WHERE Primary=true")
For Each OpSys In OpSysSet
outParam = OpSys.Win32Shutdown(6)
Next
--end file--
 
G

Guest

OK, I guess a bit more information is needed.

The PC has a number of services (A, B, C) that need to keep running.

I need the autologon because service A is dependent on a program that can
only run when logged in. What's more, the program needs to run before service
A can start.
(I tried to make a service of this program, but this is not possible.)
In order to get service A up, I use the autologon, and then have a startup
batch script that first starts the program, then (re)starts service A.

If an accidental log off happens, doing a reboot is not wanted because that
would stop services B and C. (service A is failing anyway when no user is
logged on)

Issue I have is that on simple log off, no automatic log on happens.
So how can I get my service A back up in a fast and smooth way? Or, to
rephrase: How can I get an automatic re-log on without rebooting my PC?

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

Top