Jump to content
Sign in to follow this  

Ultimate file control and hiding tips

Recommended Posts

Hello there !


Many people complain how windows "doesn't trust them", simply by not letting them create or delete a certain file. There a few ways to delete user protected/system protected files, I'm only going to cover the system protected files.


Common way is to either use a software (ex. Unlocker, Ultimate Windows Tweaker ...etc) or the straightforward command takeown and then cacls, but these could get very complicated at times, because let's face it windows desn't handle permissions very well.


The attrib command might not work all the time, but you can delete some stubborn files such as hyberfil.sys file which holds the exact same amount of space as your ram, mine is 4gb so its size is 4gb, its function is to keep a copy of the ram when the computer goes in Hybernate state, you can delete it for extra space, you can google it if you're worried tongue.png, it can be deleted useing the following way:


My way !!


1 - Start CMD; start(windows logo) + R and type cmd and then enter.


2 - Go to the location of the file you want to control, (ex "C:\users\shocky\desktop\"), copy the path and do: cd "C:\users\shocky\desktop\" -> note: you must add "" if the path contains space


3 - Now you meet the command Attrib attrib here can show/change the attribute of a file, there are 3 attributes in Window: Hidden, System, archive and Read only, the important attribute is System any file that holds this attribute


cannot be deleted or seen. Using the command Attrib we can make most of windows files deletable,


4 - Now the syntax:



attrib "name of the file" -s -h -r


attrib "C:\users\shocky\desktop\myfile.txt" -s -h -r

(the order is Important) and voila your file is no longer a system file, if it is permission protected, than it's a different case, the syntax is simple, "-h" means not hidden, and "+h" means hidden, h ->hidden, s -> system .... etc.

->note: you can skip step 2 and use the path of the file instead of the name.


5 - You can also check the files inside a folder by typing attrib only.


*Sum-up pic :




Hiding your files :


1 - Instead of using -s -h -r, we use +s +h +r, this will make your file hidden, read only (cannot be modified), and a system protected file. (we all know what kind of file that is .....just saying not judging :pp)



attrib "C:/Files" +s +h +r


2 - To acces that file, ex. C:\Files\myfile.exe. Now that Files\myfile.txt is a hidden system file, you can access it through the file browser bar:




3 - The reverse procces is obviously -s -h -r biggrin.png


Appologies for any mistakes or any lack of jokes tongue.png

Sincerly, Shocky

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.