/build/static/layout/Breadcrumb_cap_w.png

Postinstall Task - Run .reg file

Hi All

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

Thank you

 


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: SMal.tmcc 9 years ago
Red Belt
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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ