views:

107

answers:

2

Yes Vista sucks... I'm writing a Windows Service using .Net but getting security errors when trying to install with InstallUtil.exe.

How can I install the Windows Service successfully in Windows Vista?

+1  A: 

Try running installutil.exe from an elevated cmd (search command prompt in start menu, right click, run as administrator).

AlexDrenea
A: 
  • Press the Start button
  • Type cmd in the search box
  • When Command Shell comes up right click, select Run as Administrator

Now you have command shell with full admin permissions. InstallUtil at will.

Paul Alexander
In step 3 you can also press Ctrl+Shift+Return to start cmd.exe as Administrator.
0xA3