Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.