Windows » Windows 7

Use ‘Run’ Commands as Admin

1. Win+R and type this command

runas /user:[username] [command]

where [command] – is any Run command or path to program .exe file.

runas Run

2. Enter password if the user has it.

runas Enter pass

3. Press Enter.

If you get this type of error

Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced.

runas Enter pass

then you can try these steps:

1. Win+R -> “secpol.msc”

2. Go to Local Policies -> Security Options

runas Policies

3. Set to Disabled this policy:

Accounts: Limit local account use of blank passwords to console logon only

runas Policy settings

4. Run runas command again.


Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>