Jump to content

I Want To Run File By Administrator


Recommended Posts

Hi !!

First : I Am Sorry My English Is Bad :)

I Want To Run File By Administrator If The System Is Vista Or Higher !! :)

Like This ::

Posted Image

I tried This

If @OSVersion <> "WIN_XP" Then
        RunAsWait("Administrator",@ComputerName , "",@TempDir & "\HijackTis.exe",@WorkingDir)
    Else
        RunWait(@TempDir & "\HijackTis.exe",@WorkingDir)
    EndIf

I wrote the password is empty

I do not need to write It when doing the work of the previous image

But It Didn't Work

It may not be the name of the Administrator Is Administrator Too

I Need Your Help

Edited by Ashalshaikh
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...