
Start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoAdminLogon /d 1 /f "C:\Program Files (x86)\Microsoft Office\Office15\ospprearm.exe"Ĭscript "c:\program files (x86)\microsoft office\office15\ospp.vbs" /act

Reg.exe DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /f Start /wait cscript %SystemRoot%\System32\slmgr.vbs -ATO Start /wait net localgroup administrators dfault /add Start /wait net user administrator password Start /wait %SystemRoot%\system32\w32tm /config /update /manualpeerlist: /syncfromflags:manual Here is my post k2000 bat for a 64bit machine running 32 bit office with kms activation for both. I place these lines in my post script to be sure office is activated to the KMS server

We use kms also but due to sysprep office gets messed up sometimes.
