Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
Operating Systems
Windows 11
How to prevent files getting automatically deleted from PC?
Message
<blockquote data-quote="TairikuOkami" data-source="post: 1066097" data-attributes="member: 61892"><p>Take ownership of D and deny or remove SYSTEM permissions, but denying WRITE/MODIFY and keeping only READ will do. I always do it, since it can prevent ransomware.</p><p>To be 100% sure, you can deny WRITE/MODIFY for all users, but you would have to restore permissions every time you would want to change anything.</p><p>[CODE]takeown /s %computername% /u %username% /f D: /r /d y</p><p>icacls D: /inheritance:r</p><p>icacls D: /grant:r %username%:(OI)(CI)F /t /l /q /c</p><p>icacls D: /grant "System":(OI)(CI)RX /t /l /q /c</p><p>icacls D: /grant "Users":(OI)(CI)RX /t /l /q /c[/CODE]</p><p></p><p>[ATTACH]279839[/ATTACH]</p></blockquote><p></p>
[QUOTE="TairikuOkami, post: 1066097, member: 61892"] Take ownership of D and deny or remove SYSTEM permissions, but denying WRITE/MODIFY and keeping only READ will do. I always do it, since it can prevent ransomware. To be 100% sure, you can deny WRITE/MODIFY for all users, but you would have to restore permissions every time you would want to change anything. [CODE]takeown /s %computername% /u %username% /f D: /r /d y icacls D: /inheritance:r icacls D: /grant:r %username%:(OI)(CI)F /t /l /q /c icacls D: /grant "System":(OI)(CI)RX /t /l /q /c icacls D: /grant "Users":(OI)(CI)RX /t /l /q /c[/CODE] [ATTACH]279839[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Top