application without administrator privillege

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • libish
    New Member
    • Oct 2008
    • 42

    #1

    application without administrator privillege

    hi all,
    i need a c#.net application that can run on systems where there is no administrator privillege, can any one help me suggesting some ways if exist?

    thanks in advance,
  • PRR
    Recognized Expert Contributor
    • Dec 2007
    • 750

    #2
    Assuming you have developed a windows Form application/ console application that runs in the context of logged in user, and the user does not have admin rights like eventlogs etc then

    1. You could from scratch developed a Windows Service... eg
    You should make sure that your application will have no user interaction... In case there is user GUI interaction the communication with windows service could pose a problem ( you could use Remoting or WCF here)... Although you could easily write to files certain commands or use ServiceControll er

    2. You could request for a Admin( local or domain) user name and password, so that you can use impersonation. You can save the user name password in a config/ database.... A non admin log in will be active...

    Comment

    Working...