Installing a window service and application

Posted: 08-15-2008, 09:20 PM

Hello,
I am trying to install my application on windows vista ultimate and
am having lots of issues with users permissions. My application ha
different pieces, a windows service, a desktop application and anothe
windows application that runs a the service manager. The application an
the service communicate between each other using Pipes and I use th
service manager to start and stop the service instead of going to th
services manager console. When I install my software I install for al
users, however it only works correctly when i am logged in a
administrator, if i switch to a standard user, i can't start or stop th
service from the application manager, and even thought the service i
running i can't communicate with the the desktop application because th
standard user does not have enough permission.
Is ther a way to grant all users permission to use my software as
whole?
Thank you very much!!

--
edua1136
Posted via http://www.vistaheads.co

Installing a window service and application


Responses to "Installing a window service and application"

Mr. Arnold
Guest
Posts: n/a
 
Re: Installing a window service and application
Posted: 08-15-2008, 10:55 PM
edua11368 wrote:
> 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!!!
>
>
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/l.../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)>



Bruce Chambers
Guest
Posts: n/a
 
Re: Installing a window service and application
Posted: 08-15-2008, 10:56 PM
edua11368 wrote:
> 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??

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
 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application window position saganized Windows XP Configuration & Management 5 12-16-2006 04:49 PM
Help needed! Application window size changes when porting application from XP to EXP Avi Rot Windows XP Embedded 5 10-29-2004 06:18 PM
run application as a service boz Windows XP Configuration & Management 2 10-03-2004 09:30 AM
when installing windows proff. xp on my computer it stops and will not continue to accept the service pack1 dowlloaded off a cd rom i dowlnloaded it on from microsoft. it keeps saying put in service pack cd rom when its already in the drive. i porky Windows XP Accessibility 1 05-16-2004 04:40 AM
Problem with installing an application that starts a service ?? AS Windows XP Embedded 1 02-11-2004 09:13 PM