7 replies
by mcse rabbi
Well, for Win98, you don't have to worry about local admin rights.
I'm not sure if there is a similar command in NT, but with Win2k you can try the "run as" command.
Go to the command prompt and type "runas /?" to get the syntax or here it is :)
C:\>runas /?
RUNAS USAGE:
RUNAS [/profile] [/env] [/netonly] /user: program
/profile if the user's profile needs to be loaded
/env to use current environment instead of user's.
/netonly use if the credentials specified are for remote access only.
/user should be in form USER@DOMAIN or DOMAIN\USER
program command line for EXE. See below for examples
Examples:
> runas /profile /user:mymachine\administrator cmd
> runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"
> runas /env /user:user@domain.microsoft.com "notepad \"my file.txt\""
NOTE: Enter user's password only when prompted.
NOTE: USER@DOMAIN is not compatiblewith /netonly.
by mr. pena
by joseph moore
I have .REG files that import data into the Registry of user machines during their logon scripts with no problem. I have not had to specify special rights or other accounts to run them.
To get the .REG files to work, just place them in the Netlogonshare on your PDC, then in the logon scripts for the users put in:
REGEDIT /S regfilename.REG
The REG import works under the Local System account, and it has all the rights you need.
hope this helps
by mr. pena
by erikdr
Well, answer 1 still presumes that users DO know this admin password...
The only way I've seen this working is with service accounts. You could look for a Regedit util which can work without any GUI (from a service account) and then figure out a solution where this util is triggered by the logon.
BUT, this is exactly the way software distribution tools work and they already figured this out for you. For W2K workstations you can use the free MS IntelliMirror (if you have W2K Server) but for NT, or W2KPro-with-NTServer, you got to go commercial. An affordable but very powerful solution is Veritas WinInstall 2000, retails for about 20-25 bucks per PC.
Hope this helps,
- The Netherlands
by mr. pena
by mr. pena
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending