Disable access to folder where software places logs


  1. Posts : 5
    All win
       #1

    Disable access to folder where software places logs


    Hello, i have this little issue. I use a custom made software which writes logs to certain directory. The logs are not needed for the software to work, however neither I or someone else can modify the software, but i would like to prevent it from creating logs. The logs are made in .txt . Oh and software/machine are/must be running with admin privileges (UAC is disabled).
    I tried locking the folder with cacls foldertolock /e /p everyone:n , after doing this i cannot access it via explorer, but the logs keep getting saved in that folder.
    I also tried adding +r attribute to the folder, but it didn't affect it in any way.

    Any other things i could try? I would prefer that this could be made remotely via cmd/registry/whatever.
      My Computer


  2. Posts : 3,904
    Windows 7 Ultimate 64-bit
       #2

    Sorry this is hard to understand, can you try to explain it clearly.

    What exactly do you want to do with the logs?
      My Computer


  3. Posts : 6,285
    Windows 10 Pro X64
       #3

    He wants to prevent them from being created.

    What is the full path to the folder it writes the log file to?
      My Computer


 

  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 23:27.
Find Us