James Cort schrieb: > Tomasz Chmielewski wrote: >> Is the server user/password protected, or is it open to guest users? > > It was open to guest users. > >> When you specify your script in "offline mode", it won't use credentials >> specified in WPKG Client configuration to connect to the server. > > The samba logs suggested it was logging in as guest and downloading the > script just fine. Line 31, where you say it stops doing anything when in "offline mode", is: net start "System Restore Service" >> C:\temp\location.txt Do you see anything in the Event Log when starting this service? Also, how can it stop doing anything in line 31, where it first connects to the server in line 33, and you say Samba logs the file is accessed just fine: %WINDIR%\system32\cscript //B //nologo "\\atlas\wpkg\sysrestorept... ? Conclusion that it stops when spawning another process seems to be inaccurate - you spawn processes earlier (i.e., ipconfig, which doesn't seem to be a cmd.exe builtin; or net). -- Tomasz Chmielewski http://wpkg.org |