From: Alan T on
I tried to install a windows service by
eg.
c:\temp\mysampleservice.exe /install

however, it said I don't have permission.
Access denied.

How do I do that?
I was using XP on my laptop then upgraded to Win 7 home premium.


From: Shenan Stanley on
Alan T wrote:
> I tried to install a windows service by
> eg.
> c:\temp\mysampleservice.exe /install
>
> however, it said I don't have permission.
> Access denied.
>
> How do I do that?
> I was using XP on my laptop then upgraded to Win 7 home premium.

Run the command prompt window *as administrator*... Keywords there "run as".

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


From: Man T on
> Run the command prompt window *as administrator*... Keywords there "run
> as".

You mean right click cmd.exe from Windows Explorer?

I don't know the administrator password.


From: Shenan Stanley on
Man T wrote:
> You mean right click cmd.exe from Windows Explorer?
>
> I don't know the administrator password.

Ask the administrator.

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


From: PA Bear [MS MVP] on
Windows 7 Support Forums
http://social.answers.microsoft.com/Forums/en-US/category/windows7


Alan T wrote:
> I tried to install a windows service by
> eg.
> c:\temp\mysampleservice.exe /install
>
> however, it said I don't have permission.
> Access denied.
>
> How do I do that?
> I was using XP on my laptop then upgraded to Win 7 home premium.