Jump to content

Prompting for user credentials when starting application

- - - - -

  • Please log in to reply
1 reply to this topic

#1
unclepickle1

unclepickle1

    Newbie

  • Members
  • PipPip
  • 10 posts
Hey guys,

I'm developing an application for our IT Helpdesk to do some common tasks like installs, drive mapping, etc...

However this application needs to be run as administrator. Is there a way to get the application to bring up the RunAs prompt as soon as it runs, so the user doesn't have to do a Shift + Right click > Runas?

Thanks

#2
logicPwn

logicPwn

    Learning Programmer

  • Members
  • PipPipPip
  • 91 posts
Perfect guide: Make your Visual Basic application run as administrator | Mahdi Hazaveh

I'm assuming it only works that easy in Visual Studio though.
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
- Martin Golding




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users