Windows 8 and 8.1 Forums

How to reverse: cmd attrib -s -h -r /s /d *.*. and hit Ent

  1. #1

    Posts : 93
    Windows 8.1 Pro 32-bit

    How to reverse: cmd attrib -s -h -r /s /d *.*. and hit Ent

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Can I run something that makes sure all of my folder Attributes are at the default settings?

    I did something I didn't want to, based on this page . . . Windows command-line command to list hidden folders . . .

    I was trying to figure out if there were any errors in what my bat file was doing.

    To get the output, I thought I should go to the "Startup" folder in cmd.exe, which is hidden, and run: Startup.bat > testlog.txt 2> testerrors.txt

    To get there, I would have to un-hide some folders.

    I found the above page, and ran the attrib command with those switches.

    I think I did this in the C:\ProgramData folder (normally hidden)

    I think that I put this in an elevated command prompt, based on the second answer . . . attrib -s -h -r /s /d *.*. and hit Enter

    Maybe I just put this in . . . attrib -s -h -r /s /d

    I thought, I'll just go fast and not think, nothing can happen . . . then, of course, I read on that same page, also, that this can alter your folder attributes . . . they should preface that with the word "CAUTION."

    I think I did see a lot of "NOT ACCESSIBLE . . . " flashing by . . . it was doing something.

    Is there any way to tell if I altered my folder attributes or not?


    Does this fix I have at the bottom fix it, or not?

    Quick way to reset all security permissions to default? (Windows 7)

    "Just run in a elevated prompt the following command."

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

    This did something, but, how can I tell if it did what I want, and things are back to normal? I don't know if secedit applies to folder attributes or not.

    Is there a program that puts them back at the default values . . . Is that the function of the secedit command?

      My System SpecsSystem Spec

  2. #2

    The only way I can think of for you to reset would be to do a System Restore to a date before you did this or restore a backup image.
      My System SpecsSystem Spec

  3. #3

    Austin TX metro area
    Posts : 516
    Windows 7 Pro 64bit [MS blue-disk set]

    Quote Originally Posted by Ztruker View Post
    The only way I can think of for you to reset would be to do a System Restore to a date before you did this or restore a backup image.
    Before doing that, have you tried a couple of Shutdowns, waiting a minute, re-powering up? Often, Windows will fix itself just fine. I recommend in the future when you experiment with batchfiles, you create a directory that contains a mix of hidden and non-hidden folders and files within that created directory. Please stay out of Windows Prime
      My System SpecsSystem Spec

  4. #4

    Posts : 93
    Windows 8.1 Pro 32-bit

    I make a couple of clones with Clonezilla once per month . . . The fix is to just replace the C: drive with one of those. It was only about 20 days old, there were no significant changes.
      My System SpecsSystem Spec

How to reverse: cmd attrib -s -h -r /s /d *.*. and hit Ent

Similar Threads
Thread Forum
Windows 8.1 Tablet Reverse Tethering?
Okay, so I acquired a Windows 8.1 Tablet (Surface Pro 2) recently and my wifi router just went dead yesterday so I had to directly plug in my modem to my desktop PC. One of my friends who has an android tablet told me he could "reverse tether" his tablet using his Windows PC's connection via USB. ...
Drivers & Hardware
Reverse installation process on windows
I would like to know if there is an application that allows me to create an installation program (setup.exe) starting from an already installed application. The reason for this need was born dla fact that I lost the installation CD of an old program that no longer exists on the market, and now...
Installation & Setup
attrib +s +h no longer hidding files permanently
The attrib +s +h command that is used to make a file a system and hidden file is no longer working. When i try to use the command on a folder, the folder just shows up as a normal hidden folder which can be easily viewed using show hidden items in view option. It looks as if every system file is...
General Support
Sticky Keys plays in reverse!
So randomly today, after I accidentally activated the Sticky Keys thingy to pop up, when I tried to close it, it wouldn't close and it "not responding"-ed on me. So then a bit after, while cleaning white stuff off my computer, it played the Sticky Keys sound IN REVERSE. After, I googled, but found...
General Support
how can I reverse the mouse scrolling
Hey I bought the new HP DV6 laptop with windows 8 and I am facing little problems how can I reverse the mouse scrolling with 2 fingers? because I use Mac and I got used to scroll in the inverse way of this HP
Drivers & Hardware
IIS reverse proxy in Win8
I am trying to setup a Win8 box as a "reverse proxy" web server using IIS. The goal is as simple as it gets. I do not need subdomains to go to different servers, but rather to redirect all port-80 and port-443 (HTTP and HTTPS) traffic to http://localhost:2080. I have been trying to get IIS...
Network & Sharing

Eight Forums Android App Eight Forums IOS App Follow us on Facebook