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
Thornton

windows 7 Professional
 
 
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
writhziden

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
Jacee
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
Thornton

windows 7 Professional
 
 

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
Jacee
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
Thornton

windows 7 Professional
 
 

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
Thornton

windows 7 Professional
 
 

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
writhziden

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
Thornton

windows 7 Professional
 
 

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
writhziden

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 Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Show hidden files that remain hidden
In Appearance Files View, clearing the 2 buttons to reveal hidden files does not allow access to, for instance, C documents and settings, which has a padlock next to it, and others. I had reinstalled the OS from within the machine and uninstalled any junk such as games etc. Have Avast free,...
General Discussion
Tool to showing hidden files and folder
Before, i have a small tool to enable virus hidden all files and folders to show it up back by hitting that utility bat. I lost this tool so can any body let me know or provide me that tool? Sorry for my English because it's not my native Thanks
General Discussion
Hidden folders showing up
So I've just noticed that some folders that, if I remember, used to be hidden, are now visible (see attachment). What could be the reason? Should I just mark them as hidden again? Some background info: I did have some interesting things today (or just noticed today) on this PC like Windows...
General Discussion
Hidden files showing in searches
First of all, excuse me if this is not the correct section to be posting in. Hello all. I have some files that I would like to be hidden as completely as possible. However, they still show up in my searches. Here's what I have done to hide them: I downloaded a script off the internet that...
General Discussion
Hidden System files are no longer hidden
Some of my important system files are no longer hidden and I can't hide them even with the Command Prompt "attrib" command. Files such as bootmgr and ntldr are shown and I can't hide them. Also, show Protected System files is unchecked and show hidden files is also unchecked so they shouldn't be...
General Discussion
My pc is not showing Hidden Folders even after enabling - "Show Hidden
My pc is not showing Hidden Folders even after enabling - "Show Hidden Files, Folders and files"... now here is how it goes... i open folder options in the explorer, and saw that none of the options "DON'T Show Hidden Files, Folders and files" or "Show Hidden Files, Folders and files" is...
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 01:32.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App