colabus Posted February 6, 2007 Share Posted February 6, 2007 Hi guys,I wrote a small update script for my Vista installs. I have it part of the "auditUser" pass but for some reason the script is failing.- <settings pass="auditUser">- <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">- <RunSynchronous>- <RunSynchronousCommand wcm:action="add">- <Credentials> <Password>*</Password> <Username>Office</Username> </Credentials> <Path>cmd /C \\server\Software\Vista.bat</Path> <Order>3</Order> <Description>Installing applications</Description> </RunSynchronousCommand>- <RunSynchronousCommand wcm:action="add">- <Credentials> <Password>*</Password> <Username>Office</Username> </Credentials> <Path>cmd /C "\\server\Windows Vista\Updates\Run Patches.bat"</Path> <Order>1</Order> <Description>Installing updates</Description> </RunSynchronousCommand>- <RunSynchronousCommand wcm:action="add">- <Credentials> <Password>*</Password> <Username>Office</Username> </Credentials> <Path>cmd /C "\\server\Windows\Windows Vista\D946GZIS\Drivers.bat"</Path> <Order>2</Order> <Description>Installing drivers</Description> </RunSynchronousCommand> </RunSynchronous> </component> </settings>The BAT file for updates is:@echo offnet use q: "\\server\windows\windows vista\updates"q:echo --------------------------------echo Installing Windows Vista Updatesecho --------------------------------echo * Installing Updates ...REM Marker - January 2006wusa Windows6.0-KB905866-v3-x86.msu /quiet /norestartwusa Windows6.0-KB929427-x86.msu /quiet /norestartwusa Windows6.0-KB929685-x86.msu /quiet /norestartwusa Windows6.0-KB929735-x86.msu /quiet /norestartwusa Windows6.0-KB930857-x86.msu /quiet /norestartwusa Windows6.0-KB931573-x86.msu /quiet /norestartwusa Windows6.0-KB928089-x86.msu /quiet /norestartREM Marker - Feburary 2006echo * Installing Malicious Removal Software Tools ...REM Marker - January 2006Windows-KB890830-V1.24.exe /QREM Marker - Feburary 2006echo * Completed!c:net use q: /DELETEWhen I reboot the system for admin interaction in audit mode the script runs fine. But doesn't run automatically in the unattended install? Any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now