How Do You Create a "Protected Operating System File"?

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 122
    Windows 7 Home Premium 64bit SP1
       #11

    Brink said:
    Usually it should only take a brief moment after each command before the prompt appears again.

    Do you have ownership and "full control" access rights of these folders and their content?
    Yep I have full ownership and permissions...... Idk it just "hangs" in command prompt when I execute the commands... then the folders don't become protected operating system files when they should.
      My Computer


  2. Posts : 4,566
    Windows 10 Pro
       #12

    Are you right clicking the batch and running as admin?

    EDIT: Nvm saw that you did
      My Computer


  3. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #13

    Radical924 said:
    Brink said:
    Usually it should only take a brief moment after each command before the prompt appears again.

    Do you have ownership and "full control" access rights of these folders and their content?
    Yep I have full ownership and permissions...... Idk it just "hangs" in command prompt when I execute the commands... then the folders don't become protected operating system files when they should.
    Odd. Are the folders faded afterwards?
      My Computer


  4. Posts : 122
    Windows 7 Home Premium 64bit SP1
       #14

    Brink said:
    Radical924 said:
    Brink said:
    Usually it should only take a brief moment after each command before the prompt appears again.

    Do you have ownership and "full control" access rights of these folders and their content?
    Yep I have full ownership and permissions...... Idk it just "hangs" in command prompt when I execute the commands... then the folders don't become protected operating system files when they should.
    Odd. Are the folders faded afterwards?
    Nope they are already set as hidden... Maybe if I unhide them then try running the command it'll work?

    EDIT: Didn't change a thing... Could I possibly be doing this wrong??? All I am doing is running an elevated command prompt and then typing in a full command of attrib +s +h full folder path /S /D /L Where it says full folder path I am putting in the path of the folder I need to make protected... Idk why it isn't working...

    andrew129260 said:
    Are you right clicking the batch and running as admin?

    EDIT: Nvm saw that you did
    Batch? I didn't make a batch file for this lol...
      My Computer


  5. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #15

    That command only sets the attribute of the folder and it's contents to be system and hidden.

    What's the size of the folder? If you have a lot in it, then it may take longer before you see the prompt return after running the command.
      My Computer


  6. Posts : 122
    Windows 7 Home Premium 64bit SP1
       #16

    Brink said:
    That command only sets the attribute of the folder and it's contents to be system and hidden.

    What's the size of the folder? If you have a lot in it, then it may take longer before you see the prompt return after running the command.
    The NST folder is only 3.02 MB in size and contains 1 file.

    EDIT: Waiting a while longer seemed to work... before it would not work but now it is working... Thank you!
      My Computer


  7. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #17

    What are these folders used for, and what is NST? If NST is for Linux, then that could be why this isn't working.

    As a test, create a new folder, copy the file from the other folder into it, and see if you are able to use the command on it.
      My Computer


  8. Posts : 122
    Windows 7 Home Premium 64bit SP1
       #18

    Brink said:
    What are these folders used for, and what is NST? If NST is for Linux, then that could be why this isn't working.

    As a test, create a new folder, copy the file from the other folder into it, and see if you are able to use the command on it.
    I got it too work by waiting a lot longer... Thank you!
      My Computer


  9. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #19

    Good news. :)
      My Computer


  10. Posts : 71
    window 7 64 bit
       #20

    what to do to make the folder and ALL the files inside protected operating system file? ie show hidden files will not show but show system protected files will show everything.
      My Computer


 
Page 2 of 3 FirstFirst 123 LastLast

  Related Discussions
Our Sites
Site Links
About 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 08:21.
Find Us