DHCP Client service won't start after Visual Studio install.
Up until several days ago, I have been running Windows 7 Ultimate 32bit with no problems on an old XPS M170. After installation of Visual Studio (both 2008 and 2010 RC have been tried), system will no longer automatically obtain IP addresses by DHCP.Poking around in the system event log, I get event ID 50036, the Dhcp-Client service starting followed by Event ID 50038, where the client service errors during initilization with 0x5. This is then followed by Event ID 1004 where the client errors during shutdown with the same error code. Client then enters stopped state and has a final Event ID of 7023 explaining that the DHCP Client service terminated with an error of "Access is denied."A number of other services also fail with the same access denied error including but not limited to: Base Filtering Engine, Diagnostics Policy, Network Location Awareness.Attempting to manually start these services through the services MMC or an administrative command prompt results in the same error message of "Access is denied."Removing VS will not return the system to an operational status and attempts to use system restore to a point before VS was installed do not complete. Performing a restore from a previous backup before VS was installed resolves the issue.All updates are current before installation of VS and all updates are current after installation with the use of a manually assigned static IP address.System event messages below: - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Microsoft-Windows-Dhcp-Client" Guid="{15A7A4F8-0072-4EAB-ABAD-F98A4D666AED}" /> <EventID>50038</EventID> <Version>0</Version> <Level>2</Level> <Task>4</Task> <Opcode>70</Opcode> <Keywords>0x2000000000000000</Keywords> <TimeCreated SystemTime="2010-02-26T19:14:18.978515600Z" /> <EventRecordID>3930</EventRecordID> <Correlation /> <Execution ProcessID="912" ThreadID="1360" /> <Channel>System</Channel> <Computer>Silverstar</Computer> <Security UserID="S-1-5-19" /> </System> - <EventData> <Data Name="StatusCode">5</Data> </EventData> </Event> - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Microsoft-Windows-Dhcp-Client" Guid="{15A7A4F8-0072-4EAB-ABAD-F98A4D666AED}" /> <EventID>1004</EventID> <Version>0</Version> <Level>2</Level> <Task>4</Task> <Opcode>78</Opcode> <Keywords>0x2000000000000000</Keywords> <TimeCreated SystemTime="2010-02-26T19:14:18.978515600Z" /> <EventRecordID>3931</EventRecordID> <Correlation /> <Execution ProcessID="912" ThreadID="1360" /> <Channel>System</Channel> <Computer>Silverstar</Computer> <Security UserID="S-1-5-19" /> </System> - <EventData> <Data Name="StatusCode">5</Data> <Data Name="DwordVal">0</Data> </EventData> </Event> - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" /> <EventID Qualifiers="16384">7036</EventID> <Version>0</Version> <Level>4</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8080000000000000</Keywords> <TimeCreated SystemTime="2010-02-26T19:14:18.979492100Z" /> <EventRecordID>3932</EventRecordID> <Correlation /> <Execution ProcessID="472" ThreadID="624" /> <Channel>System</Channel> <Computer>Silverstar</Computer> <Security /> </System> - <EventData> <Data Name="param1">DHCP Client</Data> <Data Name="param2">stopped</Data> <Binary>44006800630070002F0031000000</Binary> </EventData> </Event> - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" /> <EventID Qualifiers="49152">7023</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8080000000000000</Keywords> <TimeCreated SystemTime="2010-02-26T19:14:18.979492100Z" /> <EventRecordID>3933</EventRecordID> <Correlation /> <Execution ProcessID="472" ThreadID="624" /> <Channel>System</Channel> <Computer>Silverstar</Computer> <Security /> </System> - <EventData> <Data Name="param1">DHCP Client</Data> <Data Name="param2">%%5</Data> </EventData> </Event>
February 26th, 2010 11:31pm

Hi, May I know if this computer is in a domain? Based on my research, I would like to suggest the following: 1. Please install the two versions of Visual Studio one by one and check when the issue occurs. 2. If the issue persists, click the "Start" menu, type "services" in the Search Bar and Press Enter. In Services, check if you can start the DHCP Client service manually. 3. Create a new administrator account and check how it works. Thanks. Nicholas Li - MSFT
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2010 1:56pm

The computer is not part of a domain. When installing VS2008, the issue occurred after using the SP1 ISO to update the VS installation. While the problem was in effect, manually starting the services was not possible. Attempts would result in an 'Access is denied.' error message. I resolved the issue by reinstalling W7, installing system drivers, fully patching the system via Windows Update, installing VS2008, fully patching the system via Windows Update, installing SP1 via the ISO, then finally patching via Windows Update. Restarts were done after each step to ensure that the services were still operating properly. Not sure what step actually caused the resolution, but at least with VS2008, attempting an install on a patched system followed immediately by an update with the SP1 ISO would result in the locked services.
March 3rd, 2010 1:52pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics