|
-
Feb 24th, 2008, 09:16 AM
#1
Thread Starter
New Member
Vista Elevate Process.start
Looking for some direction..
I need to start a process with admin rights. I am currently playing with
process.start, but I am unable to elevate to admin permissions
Any Thoughts
-
Feb 24th, 2008, 06:16 PM
#2
Re: Vista Elevate Process.start
which version of vb.net are you using?
its easily done in vb2008
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Feb 24th, 2008, 06:44 PM
#3
Thread Starter
New Member
Re: Vista Elevate Process.start
-
Feb 24th, 2008, 07:10 PM
#4
Re: Vista Elevate Process.start
I don't think it should work that way. If the program requires admin rights, then it should a manifest telling it to do so on execution. If it doesn't, then it shouldn't need to be run as an admin.
Though I could see why someone may want to automate the process of right clicking -> run as admin.
Not sure how. Is the other application yours? If so, you can add a manifest to it to do this.
-
Feb 24th, 2008, 07:15 PM
#5
Thread Starter
New Member
Re: Vista Elevate Process.start
Basically I am building a launcher. The other program is not mine and has many different switches or command line arguments. To many and to complicated to type each and every time. Due to vista the other program must be run with admin otherwise it will not work properly.
-
Feb 24th, 2008, 07:26 PM
#6
Re: Vista Elevate Process.start
doesn't everything thats run from a program with admin privileges inherit the admin privileges? i had the same question a couple of days ago. in vb2005 i couldn't find anywhere to add a manifest, although i do remember seeing other projects with a manifest file. its really easy to do in vb2008. you should download the express version.
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Feb 24th, 2008, 07:46 PM
#7
Thread Starter
New Member
Re: Vista Elevate Process.start
duh....
Never thought of that.....Will have to try that. So Run launcher as admin and it should work...
Have installed 2008 and I am playing with it now.......
Thanks
For the help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|