How to Hide and Restrict Access to C: Drive to Protect It from Unauthorized Access and Virus Attacks in Windows 7?
If you are continuously connected to the Internet either at your homes or in your offices you are always vulnerable to virus attacks or any unauthorized access. However you can negate this loophole by hiding C: Drive which will prevent your computer from any unauthorized access and will also protect it from malicious and/or harmful virus attacks.
You can hide C: Drive by following the below given steps:
- Click on Start button.
- At the bottom of the start menu in the search box type gpedit.msc.
- In the Local Computer Policy snap-in under User Configuration expand Administrative Templates.
- Expand Windows Components and select Windows Explorer.
- In the right pane double-click on Hide these specified drives in My Computer.
- In the opened box select Enabled radio button and under Options frame from the drop-down list choose Restrict C drive only.
- Click on Ok button to accept and confirm your selection.
- Then double-click on Prevent access to drives from My Computer.
- From the opened box select Enabled radio button and under Options frame from the drop-down list select Restrict C drive only.
- Click on Ok button to accept and confirm your selection.
- Close Local Computer Policy snap-in.
- Click on Start button and go to All Programs.
- From the list select Accessories.
- Right-click on Command Prompt and select Run as Administrator.
- In the User Account Control dialog box click Ok button to allow Windows to use your administrative credentials to run the program.
- In the Administrator: Command Prompt window type gpupdate /force (without quotes) and press enter key.
You can verify this configuration by going to My Computer. You will find that there is no C: available. Even if you want to open this drive by typing C: in the address bar of Windows Explorer you will be displayed with a message saying access denied.