Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > RE: Computer startup script runs at for first time at shutdown

Reply
Thread Tools Display Modes

RE: Computer startup script runs at for first time at shutdown

 
 
Andrea Casini
Guest
Posts: n/a

 
      06-17-2005


"" wrote:

> Hi
>
> I have a test domain of Windows 2003 server and one PC which is Windows
> XP SP2 on the network. I have created a simple startup script (a vbs
> script) and made an OU and made a new group policy object with my
> startup script in Computer Configuration>Windows
> Settings>Scripts>Startup.
>
> When I next restart the computer I do not see the script. I run
> gpresult and I can see that it has picked up the GPO and the message
> for the startup script not executed. When I shutdown or restart the PC
> the script runs. Subsequently the startup script runs at computer
> startup as expected.
>
> I have checked:
> the event viewer but can see nothing in the event viewer that looks
> like an error.
>
> I looked at the userenv.log (and added a registry key to increase debug
> info - got the info from MS support site) and I can see mention of my
> GPO but no obvious errors.
>
> Tried the RSOP in Active Directory and RSOP.msc on the client PC and it
> tells me the startup script should run.
>
> I thought it may be a DNS error but set the DNS server manually in the
> client PC instead of using DHCP and that made no difference.
>
> Does anyone have any ideas?
>
> Thanks in advance


It's because Winxp behaves differently from win2000 because of a feature
called "Fast Logon". The GPOs are applied after 2 reboots, because during the
first reboot the computer just detects the new policy settings but he's
displaing the desktop right away instead of appling the settings. This has
been done to speed up logons, just like the name indicates.

You can disable that setting via GPO or local policy.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: XP Computer disappears and reappears arbitrarily from Vista Computer jpjccd@psbnewton.com Windows Vista Networking 0 07-26-2009 07:26 PM
Windows server 2003 64-bit and startup script (autoexnt, group pol laurent Windows 64 Bit 1 01-29-2007 06:33 PM
computer clock--losing time SisterDorothy Windows 64 Bit 3 11-23-2005 07:38 AM
The x64 system time glitch Jean Windows 64 Bit 22 09-08-2005 08:21 PM
Time Service errors MartinHTN Windows Server 2 06-08-2004 07:35 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59