A VBScript UAC Problem

Acer / Aspire 4736
January 9, 2012 at 02:53:11
Specs: Windows 7 Ultimate 32bit, Intel(R) Core(TM) 2 Duo T6500 @2.1 GHz / 3001 MB RAM
hello everyone,

bellow is the one line vbs code I made to get the UAC to run a program,

CreateObject("Shell.Application").Namespace(CreateObject("Scripting.FileSystemObject").GetParentFolderName (WScript.ScriptFullName)).ParseName("MyProgram.bat").InvokeVerb "RunAs"

it is working fine

Now the problem part, if I replace the "MyProgram.bat" with the "<path>\MyProgram.bat" (e.g. C:\Users\username\Desktop\VBS.UAC\MyProgram.bat), the code do not works, it is not accepting any directory.

What can i do to make it working with a full path ???

can anyone help ???
please help...

It is enough for a human to live as a human on earth...

See More: A VBScript UAC Problem

Report •

January 11, 2012 at 05:59:32
Hey, someone at-least reply please...

It is enough for a human to live as a human on earth...

Report •

March 3, 2012 at 06:43:03
Well, here's the answer. If you thought of it from a rather nullified indubitable circumstantial theoretical prospect perpetrated with an eloquent insight whilst including a kernel mode rookit coded preferably in ASM (fasm syntax) as well as a 0day it can be done in terms of an underestimated matter. I hope that helps. Seriously though, whatever you want to run as administrator, just add a manifest by using pe explorer. If it's a batch file, compile it into an exe and then do it.

Report •

Related Solutions

Ask Question