Hi All

Could someone advise me step to run .reg file as postinstall task in K2000?

Thank you

 

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0
how many lines are in your reg merge file?

I used to upload the reg file and run regedit /s thefile.reg but I switched to just putting the lines in my tasks so I could easily see what I am doing to the registry in the tasks.

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoAdminLogon /d 1  /f
start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoLogonCount /t REG_DWORD /d 3 /f
start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultUserName /d Administrator /f
start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultPassWord /d password! /f
start /wait reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultDomainName /f

start /wait reg.exe delete "HKLM\SOFTWARE\wow6432node\dell\kace" /v InstallId /f
start /wait reg.exe delete "HKLM\SOFTWARE\wow6432node\dell\kace" /v MachineId /f

start /wait reg.exe add "HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v SearchList /d "tmccadmn.tmcc.edu,tmcc.edu,tmccacad.tmcc.edu" /f

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background" /v OEMBackground /t REG_DWORD /d 1 /f

start /wait msiexec /qn /i "\\kbox\client_3\agent_provisioning\windows_platform\ampagent-6.3.305-x86.msi" HOST=kbox.tmcc.edu

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v ipv6kill /d "reg.exe add \"HKLM\SYSTEM\CurrentControlSet\services\Tcpip6\Parameters\" /v DisabledComponents /t REG_DWORD /d 4294967295 /f"

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v iconcopy /d "xcopy c:\windows\w2d\links\*.* c:\users\administrator\desktop /q /y" /f

Answered 02/04/2015 by: SMal.tmcc
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity