Quantcast
Channel: Ivanti User Community: Message List - OS Deployment and Provisioning
Viewing all articles
Browse latest Browse all 3345

Re: Unattend file issue

$
0
0

It's required during the sysprep process to create an account. Here is what I did as an example. (clipped just the parts important to have).

 

Basically add a "create user", but define the autologon to the administrator account. Then delete the user when running the firstlogon executions. Make sure to activate the administrator account in the specialize phase, and set the password for the administrator account in the OOBE phase.

 


<settings pass="specialize">

<RunSynchronousCommand wcm:action="add">

<Description>Activate Administrator</Description>

<Order>1</Order>

<Path>net user administrator /active:yes</Path>

</RunSynchronousCommand>

 


<settings pass="oobeSystem">

<FirstLogonCommands>

<SynchronousCommand wcm:action="add">

<CommandLine>net user sysprep /delete</CommandLine>

<Description>Command to delete the local user account</Description>

<Order>1</Order>

</SynchronousCommand>

</FirstLogonCommands>

 


<UserAccounts>

<AdministratorPassword>

<Value>RQB2AIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>

<PlainText>false</PlainText>

</AdministratorPassword>

<LocalAccounts>

<LocalAccount wcm:action="add">

<Password>

<Value>cwB5AHMAcAByAGUAcABQAGEAHcAbwByAGQA</Value>

<PlainText>false</PlainText>

</Password>

<Description>sysprep</Description>

<DisplayName>sysprep</DisplayName>

<Group>Users</Group>

<Name>sysprep</Name>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

 

Just a note/warning, don't try to copy paste this into an xml. Find the property items in the WAIK to add these items/attributes.


Viewing all articles
Browse latest Browse all 3345

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>