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
Security
General Security Discussions
How do I block myself from installing games without losing admin privileges?
Message
<blockquote data-quote="struppigel" data-source="post: 1014231" data-attributes="member: 86910"><p>What kind of programming language do you want to use for that?</p><p>A basic solution would be to check for certain filenames in certain locations.</p><p>E.g. Batch</p><p>[CODE=bash]del "C:\Users\<username>\Downloads\dota2.exe" /f /s /q[/CODE]</p><p></p><p>Then you create a scheduled task. Open the Task Scheduler by pressing Windows Key + R, then type "taskschd.msc" and press Enter.</p><p>Scheduled tasks will only run once per minute minimum, but you can, e.g., set up 2 tasks to check every 30 seconds, or 6 tasks to check every 10 seconds.</p><p></p><p>Edit: If you feel nasty you can also let it play a loud sound to make it more unpleasant.</p><p></p><p>[CODE=bash]start "c:\music\scream_at_me.mp3"[/CODE]</p></blockquote><p></p>
[QUOTE="struppigel, post: 1014231, member: 86910"] What kind of programming language do you want to use for that? A basic solution would be to check for certain filenames in certain locations. E.g. Batch [CODE=bash]del "C:\Users\<username>\Downloads\dota2.exe" /f /s /q[/CODE] Then you create a scheduled task. Open the Task Scheduler by pressing Windows Key + R, then type "taskschd.msc" and press Enter. Scheduled tasks will only run once per minute minimum, but you can, e.g., set up 2 tasks to check every 30 seconds, or 6 tasks to check every 10 seconds. Edit: If you feel nasty you can also let it play a loud sound to make it more unpleasant. [CODE=bash]start "c:\music\scream_at_me.mp3"[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Top