title: How to reverse: cmd attrib -s -h -r /s /d *.*. and hit Enter
body: <p>Can I run something that makes sure all of my folder Attributes are at the default settings?</p>
  
  <p>I did something I didn't want to, based on this page . . . Windows command-line command to list hidden folders . . . <a href="https://superuser.com/questions/277379/windows-command-line-command-to-list-hidden-folders">https://superuser.com/questions/277379/windows-command-line-command-to-list-hidden-folders</a></p>
  
  <p>I was trying to figure out if there were any errors in what my bat file was doing.</p>
  
  <p>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</p>
  
  <p>To get there, I would have to un-hide some folders.</p>
  
  <p>I found the above page, and ran the attrib command with those switches.</p>
  
  <p>I think I did this in the C:\ProgramData folder (normally hidden)</p>
  
  <p>I think that I put this in an elevated command prompt, based on the second answer . . . attrib -s -h -r /s /d <em>.</em>. and hit Enter</p>
  
  <p>Maybe I just put this in . . . attrib -s -h -r /s /d</p>
  
  <p>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."</p>
  
  <p>I think I did see a lot of "NOT ACCESSIBLE . . . " flashing by . . . it was doing something.</p>
  
  <p>Is there any way to tell if I altered my folder attributes or not?</p>
  
  <hr>
  
  <p>Does this fix I have at the bottom fix it, or not?</p>
  
  <p>Quick way to reset all security permissions to default? (Windows 7)</p>
  
  <p><a href="https://social.technet.microsoft.com/Forums/windows/en-US/d09a393b-68df-43de-9f31-735f83242497/quick-way-to-reset-all-security-permissions-to-default-windows-7?forum=w7itprosecurity&amp;ppud=4" rel="nofollow noreferrer">https://social.technet.microsoft.com/Forums/windows/en-US/d09a393b-68df-43de-9f31-735f83242497/quick-way-to-reset-all-security-permissions-to-default-windows-7?forum=w7itprosecurity&amp;ppud=4</a></p>
  
  <p>"Just run in a elevated prompt the following command."</p>
  
  <p>secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose</p>
  
  <p>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.</p>
  
  <p>Is there a program that puts them back at the default values . . . Is that the function of the secedit command?</p>