This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
cb-legacy-dev/installers/dosboxw95/guest_tools/guest-scripts/prodtyp9.bat
2023-11-18 17:56:10 +01:00

9 lines
397 B
Batchfile

@echo off
mkdir C:\WINDOWS\TEMP
echo REGEDIT4 > C:\WINDOWS\TEMP\prodtyp.reg
echo. >> C:\WINDOWS\TEMP\prodtyp.reg
echo [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion] >> C:\WINDOWS\TEMP\prodtyp.reg
echo "ProductType"="9" >> C:\WINDOWS\TEMP\prodtyp.reg
C:\WINDOWS\REGEDIT.EXE /L:C:\WINDOWS\SYSTEM.DAT /R:C:\WINDOWS\USER.DAT C:\WINDOWS\TEMP\prodtyp.reg
del C:\WINDOWS\TEMP\prodtyp.reg