We help IT Professionals succeed at work.

Can't access device manager in win 7

Hi Everyone,

I don't seem to be able to access the device manager in my win 7 machine.  What made me notice was my network card stopped working.  So to check it I went to device manager to check it out, and it won't let me but comes up with following error:-

"MMC cannot open the file C:\Windows\ystem32\devmgmt" (Evn though win 7 is running in 64 bit.

Can anyone help?

Thanks
Comment
Watch Question

Click on the Start button and then choose Control Panel.

Click on the System and Security link.

Note: If you're viewing the Large icons or Small icons view of Control Panel, you won't see this link. Simply click on Device Manager and then proceed to Step 4.

In the System and Security window, click on the Device Manager link located under the System heading.

You can now use Device Manager to update device drivers, view the system resources that a hardware device is using, etc.

Author

Commented:
Thanks jakirkhan, but I just get the same error message when I click on Device Manager as follows:-

"MMC cannot open the file C:\Windows\system32\devmgmt.msc.  This may be because a file does not exist, is not an MMC console, or was created by a later version of MMC.  This may also be because you do not have sufficient access rights to the file."

Any thoughts?
Architect/Designer
Commented:
The file sometimes gets corrupted or the permissions go a bit mental.

Locate the file by browsing to the location.
If it isnt there, you'll need to get it from another windows 7 PC or from the install disk.

if its there, right click it and check its permissions. Reset them if necessary as you may not curently have access for some reason.

Author

Commented:
Thanks Totallytonto,

There is only one account on this machine, and it will not let me modify the permissions.  It says access is denied.  Also I had a look for the devmgmt.msc file on the windows installation dvd and could not find it?

Kind Regards,
LeeTutorretired
Top Expert 2009
Commented:
Try the System File Checker.  The System File Checker present in Windows Vista and Windows 7 has been modified from the Windows XP version, with some missing switches and some additional possible switches.  You run it from an elevated command prompt by clicking the Start orb, clicking All Programs on the Start Menu, clicking Accessories, and then right clicking Command Prompt and choosing Run as administrator.  Assuming User Account Control is active, you will need to reply to a prompt for the administrator password or for a confirmation.  There are procedures you can use to find whether there is an invalid system file found by the SFC tool and replacing it, as explained in this Microsoft Knowledge Base article:

http://support.microsoft.com/default.aspx?scid=kb;en-us;929833
Some Windows Vista functions may not work, or Windows Vista may stop responding

The new syntax for SFC can be found by running the command "sfc /?" from an elevated command prompt.
SteveArchitect/Designer

Commented:
Are you loggin in as a local administrator?
If yes, you should be able to 'take ownership' of the file which means you will be able to reset permissions for it.

This is a pretty good guide on how to do it.

http://www.blogsdna.com/2159/how-to-take-ownership-grant-permissions-to-access-files-folder-in-windows-7.htm
Top Expert 2013
Commented:
vbasqlprogrammer--Did this just start fairly recently?
If so try a System Restore to a date before the problem started,.
LeeTutorretired
Top Expert 2009

Commented:
vbasqlprogrammer, any feedback?

Author

Commented:
Hi Guys,

Well after a long period trying to sort this issue out, A number of things have happened:-

Totallytonto:  I am the administrator.  This is the only account on the machine, and when I checked to see if it had been changed via virus or something, it still had me with administrator rights on my profile.

jcimarron:  This did start recently say a couple weeks ago.  For some reason when I installed win 7 the system restore was not turned on.  I thought this happened automatically, and so was unable to restore.  This was the first thing I tried, but no restore points to restore to.

LeeTutor:  thanks for your comments, however, I am not very good with the intricacies of Windows, my area of expertise is database and sqlserver programming.  

In the end, I did a complete reinstall of Win 7, have made sure that System Restore is turned on, and have also bought and downloaded Hard Disk Manager from Paragon Software.  Highly Recommend it.  I have mad an image of the system, so if it crashes again, I have a fresh image to use.  Once again guys, even though I didn't solve the issue apart from reinstall, I would like to thank you for all your help.

Not sure how to divvy the points maybe some one can point me in the right direction for this.

Thanks.

Author

Commented:
Reinstalled Windows solved the problem

Author

Commented:
Solved points sharing.  Not difficult.
Top Expert 2013

Commented:
vbasqlprogrammer--Thanks.