J
jameshanley39@yahoo.co.uk
Guest
how do you do runas on a reg file?
or runas on regedit.exe on a reg file.
by that I mean. Suppose i'm in a non-admin account. If I want to run
an exe, I can right click and do runas, and enter the username and
password of an or the administrative account. But I can't do that
with a reg file.
I can't right click a reg file..
and this doesn't work either
C:\WINDOWS>runas /user:Administrator regedit.exe c:\a.reg
this works in the sense that it opens up regedit and tries to run the
reg file. But can't write to place required 'cos not administrator
C:\WINDOWS>regedit.exe c:\a.reg
this opens regedit, but I want to run a reg file, i don't want to
enter the info from the reg file manually
C:\WINDOWS>runas /user:Administrator regedit.exe
or runas on regedit.exe on a reg file.
by that I mean. Suppose i'm in a non-admin account. If I want to run
an exe, I can right click and do runas, and enter the username and
password of an or the administrative account. But I can't do that
with a reg file.
I can't right click a reg file..
and this doesn't work either
C:\WINDOWS>runas /user:Administrator regedit.exe c:\a.reg
this works in the sense that it opens up regedit and tries to run the
reg file. But can't write to place required 'cos not administrator
C:\WINDOWS>regedit.exe c:\a.reg
this opens regedit, but I want to run a reg file, i don't want to
enter the info from the reg file manually
C:\WINDOWS>runas /user:Administrator regedit.exe