|
|
|
|
To disable a file (i.e. to Deny access to a file), do the following: 1.) In the example below, we are going to deny access to the file "CMD.EXE". Right click on the file in Explorer, and choose "Properties", as shown in the figure.
2.) Click on the Security tab, and then click on the Add button as shown in the figure. If you don't have a Security tab, your are probably not using NTFS or you have not disabled XP's 'simple file sharing' in folder options. If you are using FAT32 it is strongly recommended that you upgrade to NTFS (using the convert /FS:NTFS command) so that you can use file permissions.
3.) In the Empty box provided, type Everyone and then click "Check Names", once Everyone is underlined click on the OK button.
4.) Click on the "Everyone" Group, and then click on the Deny "Full Control" checkbox, as shown in the figure.
5.) Click on the OK Button. 6.) To verify that it has worked, click Start/RUN and type CMD. If you did the above correctly you should see the following error.
|