Hello everyone! I am currently looking for some assistance/guidance in creating a personal Win7 image. I know the sysprep part of this may not be in the right section but how I am applying my image involves "coding". If I am going about this process all wrong please tell me. I work on a lot of family/friends computers and I am looking to cut a lot of time out of the imaging process. I have been using a Sysprep image at work for a while and it has worked very well. But there is far less customization and no need for an OOBE image at work. So here I am… I will provide my current sloppy and partially unsuccessful image process in hopes that someone will be able to help. Currently my image process is as follows. Config image with desired software and settings Save Auto_Image.bat to startup folder and ExtendC.txt to C:\TEMP (code found below). Run sysprep using the following command - Code: %windir%\system32\sysprep\sysprep.exe /generalize /audit /shutdown /quiet /unattend:F:\DefaultProfile.xml Capture image using CloneZilla (whole disk). When the image applied it will do the following: Boot to audit mode Kill the Sysprep process. Extend the C: drive partition to remaining free space on HDD Activate Office and Windows (not working) Delete ExtendC.txt Run Sysprep OOBE, Reboot Delete Auto_Image.bat The computer reboots presenting me with an OOBE where I can create the user account specific to that PC. Done. Here is the content of the BAT and the TXT files mentioned above. Auto_Image.bat Code: ::============================================================== ::This batch file will do the following: :: 1) Kill the Sysprep process. :: 1) Extend the C: drive partition to remaining free space on HDD :: 2) Activate Office and Windows :: 3) Delete ExtendC.txt :: 4) Run Sysprep OOBE, Reboot :: 5) Delete Auto_Image.bat ::Prep for this script: :: 1) Place ExtendC.txt in C:\TEMP :: 2) Place a copy of this Bat file in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup" :: 3) Install AutoKMS using Microsoft Toolkit. ::=============================================================== ; @echo off ; Taskkill /IM sysprep.exe /F DISKPART.exe /s C:\TEMP\ExtendC.txt ; C:\Windows\AutoKMS\AutoKMS.exe /EZActivator ; Del /Q C:\TEMP\ExtendC.txt ; %windir%\system32\sysprep\sysprep.exe /oobe /reboot ; Del /Q C:\ProgramData\Microsoft\Windows\"Start Menu"\Programs\Startup\Auto_Image.bat ; EXIT ExtendC.txt Code: select disk 0 select partition 2 extend Exit My current issue is when I run the AutoKMS command it activates Office and Windows but then throws an error and crashes stopping the entire process. The error being “No mapping between account names and security IDs was done. (Exception from HRESULT: 0x80070534)”. I think what is happening is, it’s unable to create the scheduled task in Audit mode. Best case scenario, I would have this entire process completed when the user first logs in after the OOBE. The issue is UAC gets fussy at every command. I’m sure there is a way to bypass that but everything I read is a little over my head. I’m expecting someone to tell me I am making this very difficult for myself. If anyone could assist that would be great.