"" 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.
|