Setting NTFS permissions using batch files

Discussion in 'other anti-malware software' started by NT Five, Aug 4, 2020.

  1. NT Five

    NT Five Registered Member

    Joined:
    Aug 23, 2015
    Posts:
    16
    Location:
    Stuck in NT 5 land...
    Hello there,

    I am looking for a way to set the NTFS permissions of my data partition and several other folders on my Windows XP PC using the CACLS utility or something similar.
    I would like to run batch files during the Windows installation to set the permissions.

    I need to set folders/partitions to read-only and prevent executables from running.
    The permissions should apply to all users including admins, with an exception for the backup operator user.
    I've got no clue how to do this from the command line.

    Any suggestions?
     
    Last edited: Aug 4, 2020
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.