Problems with Slow Shut down.

  • Thread starter Thread starter Kardon Coupé
  • Start date Start date
K

Kardon Coupé

Dear All,

I've got a problem with one of my XP machines take ages at the "Running
logoff scripts..." part of shutdown....

I've tried using the Hive Cleaning (unloading) program, and I've searched
numerous websites with no avail,

Errors (or Warnings as they are displayed, yellow triangle with exclamation
mark) I'm getting in the Event Viewer are...

Execution of GPO scripts has timed out and have been terminated.
For more information, see Help and Support Centre at {fwlink deleted incase
links are frowned upon}

The following handles opened in user profile hive HOMENETWORK\paul
(S-1-5-21-38318747-2371376729-2398085236-1128) are preventing the profile
from unloading:
svchost.exe (288)
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Network\Location Awareness
(0x3ec)
winlogon.exe (1484)
HKCU (0x140)

Windows unloaded user HOMENETWORK\paul registry when it received a
notification that no other applications or services were using the profile.
For more information, see Help and Support Centre at {fwlink deleted incase
links are frowned upon}

It is taking nearly 2-3 mins for the machine to reach the final point, and
either logoff, or shut down?

This does not just apply to my logon, if I logon under Admin, or another
user, the same, and yet, I go to another machine, with any logon, and the
speed is a normal shut down speed, so it is only one machine...

Can anybody point me in the right direction?

Regards
Paul.

P.s. sorry if this is the wrong newsgroup.
 
Execution of GPO scripts has timed out and have been terminated
Event ID: 1217
Source: Winlogon

Winlogon.exe is related to running startup and shut down scripts.

Your script is messed up or takes too long to run.

Does the script work when you launch it manually?


Maximum wait time for Group Policy scripts
Use this option to set the script timeout interval. The default interval is
600 seconds (10 minutes), and valid intervals range from 0 to 32000 seconds.
http://technet2.microsoft.com/Windo...831b-4e88-8aa7-d6999f291c6d1033.mspx?mfr=true

http://www.google.com/search?as_q=&...as_dt=i&as_sitesearch=&as_rights=&safe=images

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Wes,
Your script is messed up or takes too long to run.

Does the script work when you launch it manually?

I've checked the setting, and I don't have any scripts running on logon or
logoff, that is why I'm getting confusd myself....

Regards
Paul.
 
Paul,

Winlogon must think so.

Check these folders:
%windir%\system32\GroupPolicy\Machine\Scripts\Shutdown
or
C:\WINDOWS\system32\GroupPolicy\Machine\Scripts\Shutdown

%windir%\system32\GroupPolicy\Machine\Scripts\Startup
or
C:\WINDOWS\system32\GroupPolicy\Machine\Scripts\Startup

Any files at all in the above folders would be suspect.

Here's some info from a post I made once. Not edited.

Open the Group Policy snap-in.
Start | Run | Type: gpedit.msc | Click OK |
Navigate to >
Computer Configuration\Windows Settings\Scripts (Startup/Shutdown)

I just tried both of these so I could see what went on in the registry.

When you use Group Policy to add a startup script...
Place your script in...
%windir%\system32\GroupPolicy\Machine\Scripts\Startup
Navigate to >
Computer Configuration\Windows Settings\Scripts (Startup/Shutdown)
Double click on Startup
Click the Add button
Type or paste in the name
OK | Apply, etc.

The startup script gets added here...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\Group Policy\State\Machine\Scripts\Startup\0\0
and here...
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\
System\Scripts\Startup\0\0

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run is about
number eight in the execution order at startup, so I always use it for my
start up stuff.

When you use Group Policy to add a shutdown script...
Place your script in...
%windir%\system32\GroupPolicy\Machine\Scripts\Shutdown
Navigate to >
Computer Configuration\Windows Settings\Scripts (Startup/Shutdown)
Double click on Shutdown
Click the Add button
Type or paste in the name
OK | Apply, etc.

The shutdown script gets added here...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0\0
and here...
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\
Windows\System\Scripts\Shutdown\0\0

How to assign scripts in Windows 2000
http://support.microsoft.com/kb/322241

Overview of Logon, Logoff, Startup, and Shutdown Scripts in Windows 2000
http://support.microsoft.com/kb/198642

How to Assign a Logon Script to a Profile for a Local User
http://support.microsoft.com/kb/315245

How To Assign a Logon Script to a Profile for a Local User in Windows Server
2003
http://support.microsoft.com/kb/324803

How To Assign a Logon Script to a Profile for a Local User in Windows 2000
http://support.microsoft.com/kb/258286

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Wes,
%windir%\system32\GroupPolicy\Machine\Scripts\Shutdown
or
C:\WINDOWS\system32\GroupPolicy\Machine\Scripts\Shutdown

%windir%\system32\GroupPolicy\Machine\Scripts\Startup
or
C:\WINDOWS\system32\GroupPolicy\Machine\Scripts\Startup

All, these folders are empty.
Open the Group Policy snap-in.
Start | Run | Type: gpedit.msc | Click OK |
Navigate to >
Computer Configuration\Windows Settings\Scripts (Startup/Shutdown)

GPE show nothing as listed in Start up or Shutdown scripts
The shutdown script gets added here...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0\0

This path only contains the (Default) item in the Scripts root, there is no
"Shutdown\0\0"
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\
Windows\System\Scripts\Shutdown\0\0

This path only contains the (Default) item in the Scripts root, there is no
"Shutdown\0\0"

You think there anything else that could be causing this?

I don't know whether this has anything to do with it, but I *think* it only
started happening after I'd installed Norton Internet Security 2005, but it
may just be a co-incidence.

Regards
Paul.
 
Wes,

Ever get that 'Penny Drop' moment, I just had it, after typing in the last
post "I *think* it only started happening after I'd installed Norton
Internet Security 2005" I slapped myself on the forehead, and thought.....
"Doh, re-install, proper drivers for the OnBoard Lan NIC"... Got them,
installed them, and now logoff/shutdown is about 5-10 seconds, rather than
2-3 minutes....

Don't ya just hate it when that happens...

Thanks for all your time in replying to my posts, and trying to help me out.

Regards
Paul.
 
Paul,
Ever get that 'Penny Drop' moment

Yes, when reading your previous post and seeing the word Norton.

Glad you got it worked out! I never would have. ;-)

Keep having fun.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

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