|
| |||||||||
| Tags: administrator account, driver, sysprep, vista bussiness |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Vista Sysprep on the PCs, but i was not success to do it. When run sysprep with this command "sysprep /oobe /generalize /unattend:unattend.xml" it will auto delete all drivers installed on vista. The things there are i want to make 1 image Vista Bussiness installed drivers, default enabled administrator account (normally when run sysprep it will disabled administrator account). Anyone can help me to solve this problem. |
|
#2
| |||
| |||
|
Install everthing you want to use on vista then create an image using either Acronis Image or Driveimage XML, There is another option but you need to use winbuilder to create an image that can be burnt to a DVD to boot of and it includes Driveimage XML and will work on SATA drives. I use it and I have had no problems desktop and my two laptops. i tried as you proposed before but can not. |
|
#3
| |||
| |||
| Re: Vista Sysprep
Thanks for your helping, but the things as you suggest above maybe need to buy license for DriveImage XML and Acronis Image, i had found the way to use sysprep to do the things as i said before. First install an clean windows vista, after that run sysprep with audit mode,on next boot don't do anything when sysprep diaglog popup, try to install any applications, drivers as you wish. After you install everything as you need, now it's the time to run "sysprep /oobe /generalize /unattend:unattendfile.xml" :) that's all. By the way, thank you very much for your appreciating. |
|
#4
| |||
| |||
| Re: Vista Sysprep
If I've understood what you are hoping to do, this should help: To keep all the installed drivers so that Vista doesn't re-detect and install them, use the PersistAllDeviceInstalls property of the Microsoft-Windows-PnpSysprep component in the generalize pass, like this: <settings pass="generalize"> <component name="Microsoft-Windows-PnpSysprep" 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"> <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> </component> </settings> To activate the Administrator account, you have to use a RunSynchronousCommand in the Microsoft-Windows-Deployment component of the specialize pass, like this: <settings pass="specialize"> <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"> <Path>net user administrator /active:yes </Path> <Order>1</Order> <Description>Enable Administrator Account</Description> </RunSynchronousCommand> </RunSynchronous> </component> </settings> Hope this helps. |
|
#5
| |||
| |||
| Re: Vista Sysprep
If you are replying to my post (it's hard to tell since you didn't quote anything), you'll have to be more specific about what you tried and what didn't work. If possible, post your unattend.xml and describe exactly what is happening, what isn't working the way you want it, etc. And, for future posts, it really does help to quote what you are replying to. Not everyone is (in fact probably most people are not) using the web forum you are, but rather are using a newsreader on one of the newsgroup servers - and as is sometimes common, the server I'm using has dropped all previous posts because of their age so there is no context to your statement at all. |
|
#6
| |||
| |||
| Re: Vista Sysprep
Here is my Unattend.xml which one i tried to used with sysprep. After executed sysprep account administrator till disabled. <settings pass="generalize"> <component name="Microsoft-Windows-PnpSysprep" 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"> <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> </component> </settings> <settings pass="specialize"> <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"> <Path>net user administrator /active:yes </Path> <Order>1</Order> <Description>Enable Administrator Account</Description> </RunSynchronousCommand> </RunSynchronous> </component> </settings> |
|
#7
| |||
| |||
| Re: Vista Sysprep
It may be that the administrator account is required to have a password to be activated. Try setting the AdministratorPassword in the Microsoft-Windows-Shell-Setup component of the oobeSystem pass. It would look something like the following: <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" 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"> <UserAccounts> <AdministratorPassword> <Value>MyAdministratorPassword</Value> <PlainText>true</PlainText> </AdministratorPassword> </UserAccounts> </component> </settings> Change MyAdministratorPassword to whatever you would like the password to be. If you are creating the answer file is through the Windows System Image Manager, I'd make sure to set the PlainText property to False so that the password isn't stored in the clear like it is in my example. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Vista Sysprep" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vista Sysprep Fatal Error | scribby | Vista Setup and Install | 4 | 26-02-2009 12:05 AM |
| Vista Sysprep error | Jim Smith | Vista Setup and Install | 4 | 11-06-2008 02:43 AM |
| Sysprep Progress and Windows Assessment Tool in Sysprep | Ahsun | Vista Setup and Install | 1 | 22-05-2008 06:44 PM |
| Vista, WDS, Sysprep, and WinSIM | dpark@innout.com | Vista Setup and Install | 1 | 01-03-2008 03:57 AM |
| Sysprep Vista problems | Trammel | Vista Setup and Install | 2 | 26-04-2007 09:20 PM |