unattended processing - RunOnce command executed from SetupComplete.cmd after SysPrep doesn't work, while it works fine from Windows

OS: Windows 7 Embedded 64-bit (Template used: Application compatibility)I'm trying to run another script (SetupComplete2.cmd) after SetupComplete.cmd runs and the computer reboots.I added this line in the SetupComplete.cmd:REG ADD "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce" /v Setup /t REG_SZ /d "cmd.exe /C C:\Windows\Setup\Scripts\SetupComplete2.cmd" /fThis command works great from Windows, I tested it several times, but it doesn't work when ran from SetupComplete.cmd for some reason...Can anyone tell me what am I mi...Read more

unattended processing - Add a user to a group Unattend.xml

I created the following Unattend.xml file. The only problem is it won't add the Users to the Users group. I'm searching on google on what I'm doing wrong but I just can't seem to find out what the issue is. It should work according to the documentation that I found. I used the Windows System Image Manager to create this file.Does anyone have an idea what I'm doing wrong?<? xml version="1.0" encoding="utf-8"?><unattend xmlns = "urn:schemas-microsoft-com:unattend" > < settings pass="windowsPE"> <component name = "Mi...Read more