Guest edua11368 Posted August 15, 2008 Posted August 15, 2008 Hello, I am trying to install my application on windows vista ultimate and I am having lots of issues with users permissions. My application has different pieces, a windows service, a desktop application and another windows application that runs a the service manager. The application and the service communicate between each other using Pipes and I use the service manager to start and stop the service instead of going to the services manager console. When I install my software I install for all users, however it only works correctly when i am logged in as administrator, if i switch to a standard user, i can't start or stop the service from the application manager, and even thought the service is running i can't communicate with the the desktop application because the standard user does not have enough permission. Is ther a way to grant all users permission to use my software as a whole?? Thank you very much!!! -- edua11368 Posted via http://www.vistaheads.com Quote
Guest Mr. Arnold Posted August 15, 2008 Posted August 15, 2008 edua11368 wrote:<span style="color:blue"> > Hello, > I am trying to install my application on windows vista ultimate and I > am having lots of issues with users permissions. My application has > different pieces, a windows service, a desktop application and another > windows application that runs a the service manager. The application and > the service communicate between each other using Pipes and I use the > service manager to start and stop the service instead of going to the > services manager console. When I install my software I install for all > users, however it only works correctly when i am logged in as > administrator, if i switch to a standard user, i can't start or stop the > service from the application manager, and even thought the service is > running i can't communicate with the the desktop application because the > standard user does not have enough permission. > Is ther a way to grant all users permission to use my software as a > whole?? > Thank you very much!!! > > </span> Your solutions must be made to use the Vista UAC Manifest. When the program uses the Vista UAC Manifest, then it's able to present the proper credentials to Vista to escalate its privileges, which in this case would be Run As Administrator. In the case of Standard user running your solutions when the privilege escalation is required, then the Standard user will need to give the user-id and psw of an Admin account on the machine to escalate, when the UAC credentials box pops. In the case of an Admin running your solution, because Admins are locked down to Standard user, then the allow disallow UAC box will pop, use Google or Dogpile.com and look up how to use the manifest from a program. I suggest that you read the two links. http://technet.microsoft.com/en-us/library/cc709691.aspx Also read this link particularly in the Benefits section of using the account as a developer/user admin. <http://www.computerperformance.co.uk/vista/vista_administrator_activate.htm#Summary_of_Vista_Administrator_-_Super_User_(Hidden_Account)> Quote
Guest Bruce Chambers Posted August 15, 2008 Posted August 15, 2008 edua11368 wrote:<span style="color:blue"> > Hello, > I am trying to install my application on windows vista ultimate and I > am having lots of issues with users permissions. My application has > different pieces, a windows service, a desktop application and another > windows application that runs a the service manager. The application and > the service communicate between each other using Pipes and I use the > service manager to start and stop the service instead of going to the > services manager console. When I install my software I install for all > users, however it only works correctly when i am logged in as > administrator, if i switch to a standard user, i can't start or stop the > service from the application manager, and even thought the service is > running i can't communicate with the the desktop application because the > standard user does not have enough permission. > Is ther a way to grant all users permission to use my software as a > whole??</span> Certainly. Simply rewrite the application so it doesn't require elevated privileges to run. Then, you'll even b e able to truthfully claim that the application is not only Vista-compatible, but "Designed for Vista." Microsoft provides volumes of material to help software developers achieve Windows compatibility. I'd suggest you start at the MSDN (Microsoft Software Developers Network) web site. http://msdn.microsoft.com/en-us/default.aspx -- Bruce Chambers Help us help you: http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/default.aspx/kb/555375 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~Benjamin Franklin Many people would rather die than think; in fact, most do. ~Bertrand Russell The philosopher has never killed any priests, whereas the priest has killed a great many philosophers. ~ Denis Diderot Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.