MSFN Forum: Running a network dependant script from Autorun. - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Running a network dependant script from Autorun. The Microsoft Networking does not work during Autostart Rate Topic: -----

#1 User is offline   Sfor 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 539
  • Joined: 01-July 07
  • OS:2000
  • Country: Country Flag

Posted 25 January 2012 - 06:25 AM

I wanted to run a batch script from the Autostrart. The goal was to copy some files from a server on each system boot. The computer is set, so no user login is necesary, so there is no delay for user input during the boot procedure. As the result the Microsoft Networking services are still not operational during the Autostart procedures. The batch script complains about "network patch not available" (translated from Polish). A moment later, the same script works perfecly.

There is no such problem in Windows 2000. Apparently, all the network related functions are fully operational before the user logon procedures. So, how can I force Windows XP to do the same as Windows 2000 does?
I tried the idea with MMC and logon policies, but it did not changed a thing.

As a workaround I did loop the network patch checking in the batch. So, the files are copied after the patch becomes available. But, I would like to find a more elegant solution.

This post has been edited by Sfor: 25 January 2012 - 06:26 AM



#2 User is offline   GrofLuigi 

  • GroupPolicy Tattoo Artist
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,196
  • Joined: 21-April 05
  • OS:none specified
  • Country: Country Flag

Posted 25 January 2012 - 12:46 PM

XP Fast Logon Optimization feature

Maybe WaitForNetwork (XP reads that key too).

But... What exactly is "Autostart"?

GL

#3 User is offline   Sfor 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 539
  • Joined: 01-July 07
  • OS:2000
  • Country: Country Flag

Posted 26 January 2012 - 01:10 AM

Ooops. I forgot to translate the Autostart from Polish language version. It should be Startup, I think.

Both the policy rule
Computer Configuration\Administrative Templates\System\Logon\ Always wait for the network at computer startup and logon
and registry setting
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
"WaitForNetwork"=dword:00000001
did not change a thing, when used alone.

But, if both of them are set in the same time, the Windows XP does behave the same way as Windows 2000 does.

Thank you for your help. The problem has been solved.

This post has been edited by Sfor: 26 January 2012 - 01:26 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy