Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: help showing all hidden files from CMD

02 Apr 2012   #1

windows 7 home premium
 
 
help showing all hidden files from CMD

last night i got the S.M.A.R.T Virus. i got it removed ok i think, but now is the fun part, it hides ALL your files. the only reason im typing this now is because i showed hidden files.
is there a way from CMD to unhhide all files that arent meant to be hidden by windows? (meaning i still want things like desktop.ini to stay hidden)

i know there are programs that will do this for you, but i would rather just do it from cmd if possible

My System SpecsSystem Spec
.

02 Apr 2012   #2

Windows 7 Home Premium 64 Bit
 
 

To unhide a file: Start an Elevated Command Prompt and type the following command:

attrib -h "filename"
where filename is the file you want to unhide.
To unhide a directory and all its files within:

attrib /d /s -h "directoryname"

Also, many of these viruses cause the system switch to be applied so a simple -h does not do the trick. You may have to use -h -s instead of just -h
My System SpecsSystem Spec
02 Apr 2012   #3
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

You can also use "Unhide" (http://download.bleepingcomputer.com/grinler/unhide.exe) (by Grinler)
Once the program has been downloaded, double-click on the Unhide.exe icon on your desktop and allow the program to run. This program will remove the +H, or hidden, attribute from all the files on your hard drives. If there are any files that were purposely hidden by you, you will need to hide them again after this tool is run."
My System SpecsSystem Spec
.


02 Apr 2012   #4

windows 7 home premium
 
 

Quote   Quote: Originally Posted by Jacee View Post
You can also use "Unhide" (http://download.bleepingcomputer.com/grinler/unhide.exe) (by Grinler)
Once the program has been downloaded, double-click on the Unhide.exe icon on your desktop and allow the program to run. This program will remove the +H, or hidden, attribute from all the files on your hard drives. If there are any files that were purposely hidden by you, you will need to hide them again after this tool is run."
used that a little while ago, still id like to know what scripts they used to acheive this, or of an ini i could make to do this
My System SpecsSystem Spec
02 Apr 2012   #5
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

Well that is the 'developer's' inside secret and we don't discuss scripts or anything else that has to do with detecting or possibly 'outwitting' malware.
My System SpecsSystem Spec
02 Apr 2012   #6

windows 7 home premium
 
 

Quote   Quote: Originally Posted by Jacee View Post
Well that is the 'developer's' inside secret and we don't discuss scripts or anything else that has to do with detecting or possibly 'outwitting' malware.
im sorry? its not outwitting malware, i used to know it, its unhiding files, thats no different than what it has done but in reverse. forget developers inside secrets, thats not maleware, thats an ini, if this where maleware i would have to create a hidden executable or a trojan executable.

its not that hard, when i used to know how to do it, i remember it being a 1 liner, less than 200 characters

edit: nor is it detecting, it is somthing i can drop in cmd, they threw some fancy text in their program, that doesnt make it malware detection, that makes it text that does nothing while the real script is executed
My System SpecsSystem Spec
02 Apr 2012   #7

windows 7 home premium
 
 

Quote   Quote: Originally Posted by writhziden View Post
To unhide a file: Start an Elevated Command Prompt and type the following command:

attrib -h "filename"
where filename is the file you want to unhide.
To unhide a directory and all its files within:

attrib /d /s -h "directoryname"
Also, many of these viruses cause the system switch to be applied so a simple -h does not do the trick. You may have to use -h -s instead of just -h
thank you, did not see your post at first, ill write that down, that sounds like the command i used origonaly with a previous virus that infected thumb drives
My System SpecsSystem Spec
03 Apr 2012   #8

Windows 7 Home Premium 64 Bit
 
 

No problem. Glad you remember using it now. I've used this on a number of systems infected by these types of viruses. The OS Security 2012 virus is the most common of these types. It usually includes having to redo permissions for the users within the Windows files and the users' files, as well.
My System SpecsSystem Spec
03 Apr 2012   #9

windows 7 home premium
 
 

Quote   Quote: Originally Posted by writhziden View Post
No problem. Glad you remember using it now. I've used this on a number of systems infected by these types of viruses. The OS Security 2012 virus is the most common of these types. It usually includes having to redo permissions for the users within the Windows files and the users' files, as well.
good to know, thank you again, supprisingly, right as i was getting ridof the virrus, someone else on here got it, so imm gunna try and help them, and recomend this command, i trust knowing what im doing more than some random exe by someone with no name.
My System SpecsSystem Spec
03 Apr 2012   #10

Windows 7 Home Premium 64 Bit
 
 

There is an unhide tool used by GFI, who owns the VIPRE Antivirus and Internet Security 2012 software. That's at least by a known company who produces security software. Fakerean removal tool
My System SpecsSystem Spec
Reply

 help showing all hidden files from CMD





Thread Tools



Similar help and support threads for2: help showing all hidden files from CMD
Thread Forum
showing a unnecessary hidden drive Hardware & Devices
Solved show hidden files folders (exclude files) General Discussion
Hidden folders showing up General Discussion
What are ~$ files that appear on desktop when hidden files show General Discussion
Solved Hidden files showing in searches General Discussion
Hidden System files are no longer hidden General Discussion
My pc is not showing Hidden Folders even after enabling - "Show Hidden Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:41 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33