Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've recently created a Windows Service and am attempting to install it using InstallUtil.

The service I am trying to install works/installs correctly on a machine running Windows 2008, but I am having trouble getting that same service to install on a Windows 2003 Box.

After running InstallUtil.exe WindowsService.exe in a Command Prompt (Running as an Admin) I get this Error:

An exception occurred during the install phase.
System.ComponentModel.Win32Exception: Access is denied
The RollBack phase of the installation is beginning... etc.
... The installation failed, and the rollback has been performed.

What could be causing the error in my install, considering this exact Windows Service installs correctly on the Windows 2008 box?

share|improve this question
up vote 0 down vote accepted

Win32Exception: Access is denied

Windows does not allow you to do something because of security restrictions. Use Process Monitor to find out what exactly.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .