Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Admin rights

Status
Not open for further replies.

FCoda10

MIS
Jan 29, 2002
40
US
I running a package for IE6, after the initial install the PC reboots. After rebooting the computer must logged on with an Adminisrator account in order to complete the install. How can I set it up to do this automatically without having to manually login.

Also I looking for a way to run advertisments without any prompt screens on the user end I just want it to run automatically without user input or the ability to cancel it.
 
To logon automaticly with admin user name and password, you have to set 3 registry keys. They are all under the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

The strings are:
DefaultUserName
DefaultPassword
AutoAdminLogon

Set the username and password then set the AutoAdminLogon to 1 and the next time the computer is rebooted it will log on automatically. Make sure that you unset them at the end of the update and reboot the computer again. Otherwise your users will have admin access.
 
Thanks for the help, but one more question. How do you do a registry change through SMS?? I'm really new at this so bare with me )
 
I not a package expert, but you could install the SMS Installer on a REFERENCE machine. Then use the SMS installer like any other package...except, don't install anything after the initial computer scan. Instead, after the initial computer scan, launch Regedt32 and edit the registry. Then choose FINISHED and it will rescan the computer. It will pick up 1 registry changes (or more if thats what you choose to do..) this registry change will be the only modification in your package... I've done this before. It may not be the best way, but it works..

Joseph L. Poandl
MCSE 2000

If your company is in need of experts to examine technical problems/solutions, please check out
 
to edit the registry via SMS:

Use a test box and make the changes to the registry. Export that particular part of the registry. Make sure to clean out everything except what you are changing.

Create a bat file with this syntax
regedit.exe /s filename.reg (given the reg file is in the same directory as the bat file)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top