Server logs off user by itself
Hello,
I currently have a windows 2008 server where I have several scheduled tasks that are set to run daily with a specific users account loged in. For some reason, this account is constantly logging off by itself. I checked the Active Directory "sessions"
tab and set the time out interval to never. I also noticed in the event log the following events. Noted on different days.
Level
Date and Time
Source
EventID
Task Category
Detail
Information
6/2/2011 1:38:11 PM
Winlogon
7002
(1102)
User Logoff Notification for Customer Experience Improvement Program
Information
6/2/2011 1:40:11 PM
Service Control Manager
7036
None
The Shell Hardware Detection service entered the stopped state.
Level
Keywords
Date and Time
User
Source
Event ID
Task Category
Information
Audit Success
6/2/2011 1:38:11 PM
N/A
Microsoft Windows security auditing.
4647
Logoff
Level
Date and Time
User
Task Category
Source
Event ID
Warning
6/2/2011 1:38:11 PM
SYSTEM
None
User Profile Service
1530
Information
6/2/2011 1:38:11 PM
N/A
None
Desktop Window Manager
9009
At 6:07pm the following also occurred:
·
The Desktop Window Manager has exited with code (0x40010004)
·
Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry
file may not function properly afterwards.
DETAIL -
1 user registry handles leaked from \Registry\User\S-1-5-21-4030513109-1756433638-646629981-2250:
Process 236 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4030513109-1756433638-646629981-2250\Printers\DevModePerUser
These are the same items that came up before.
Any insight in this issue would be of great help.
Thanks again
June 6th, 2011 6:29pm
As a side note no one needs to be logged on for scheduled tasks to succeed.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Free Windows Admin Tool Kit Click here and download it now
June 6th, 2011 6:35pm
In this situation the program in use isn't a service unfortunately. A user have to be logged in and the application have to be running.
Thanks for your side note. this is really a mind boggling issue.
June 6th, 2011 10:55pm
I'm assuming this system is idle for a period of time when the user logs off? If so, be sure to check your power settings; if the system is going on Stand-By or the screen saver is set to "blank", it may log the user out automatically when idle for
a duration of time.
ASH
Free Windows Admin Tool Kit Click here and download it now
June 8th, 2011 6:07pm
Hello,
I'm running into a similar issue where multiple perl scripts need to be running on a logged-in desktop so that my team can login and monitor the scripts. The scripts also are supposed to run in a constant loop, but occasionally (anywhere between 5 days and
30 minutes) the session logs out and scripts will stop running. I'll get notified and need to login again.
I'm seeing almost identical log messages as the OP. Is there any way to stop this?
May 10th, 2013 10:36pm
I'd start a new thread since this one is old and marked answered. I'd check the system event log to see if it rebooted, or windows updates. Also check the disconnected session time limit setting.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
May 10th, 2013 11:34pm