View Full Version : Run As ....
Little_Red_Frog
10-08-2001, 03:29 PM
Hi Everyone,
Due to policies no one can run .reg files which is what we want...
Is there a way to run .reg files as the administrator while logged in as the user on the nt4 ws for example being promted for a password
Basicly i dont want to log off users and log back on as the admin to run .reg files without leaving to big a holes
Many thanks
Alex T
POBrien
10-09-2001, 03:36 AM
call the reg file from a batch file.
example
regedit /s c:\reg.reg
Little_Red_Frog
10-09-2001, 08:01 AM
Thanks,
I got an error saying something like "Cannot be executed due to file or system error, check if file or disk are not write protected"
in the policy we have specified to disable the registry tools for users
any other suggestions would be very appreciated
RWSchlatter
10-09-2001, 05:09 PM
J don't have any NT machine anymore to check, but J believe that there is a RunAs command when you right click on Regedit.exe (you may have to press Shift or Ctrl so see the option). Then you should get the login as Admin and will be asked for the password.
Else you should have a command prompt Runas command, use the hep option for getting the parameter list needed.
______________
Regards - Richard
POBrien
10-10-2001, 02:14 AM
even if regedit is disabled you can still run reg files.
Im wondering if the reg and bat extensions have been disabled.
check
[HKEY_CLASSES_ROOT\batfile]
and
[HKEY_CLASSES_ROOT\regfile]
post the entries so that we can scrutinize them.
Does this happen on other workstations?
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.