{"id":14065824,"url":"https://github.com/ThomasThelen/Disable-Task-Manager","last_synced_at":"2025-07-29T21:33:33.867Z","repository":{"id":87031478,"uuid":"232857895","full_name":"ThomasThelen/Disable-Task-Manager","owner":"ThomasThelen","description":"Example of disabling the task manager via registry manipulation","archived":true,"fork":false,"pushed_at":"2020-08-17T03:52:09.000Z","size":12,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-13T07:09:44.409Z","etag":null,"topics":["hacking","registry","registry-manipulation","task-manager","windows-hacking","windows-registry"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThomasThelen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-01-09T16:50:00.000Z","updated_at":"2024-03-14T16:18:05.000Z","dependencies_parsed_at":"2023-05-30T07:15:30.646Z","dependency_job_id":null,"html_url":"https://github.com/ThomasThelen/Disable-Task-Manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasThelen%2FDisable-Task-Manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasThelen%2FDisable-Task-Manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasThelen%2FDisable-Task-Manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasThelen%2FDisable-Task-Manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThomasThelen","download_url":"https://codeload.github.com/ThomasThelen/Disable-Task-Manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228052622,"owners_count":17862103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacking","registry","registry-manipulation","task-manager","windows-hacking","windows-registry"],"created_at":"2024-08-13T07:04:45.100Z","updated_at":"2024-12-04T05:30:59.363Z","avatar_url":"https://github.com/ThomasThelen.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Disabling the Task Manager\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/159ce710186b46b1a41a9804b6f6b959)](https://www.codacy.com/manual/ThomasThelen/Disable-Task-Manager?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=ThomasThelen/Disable-Task-Manager\u0026amp;utm_campaign=Badge_Grade)\n[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)\n\nExample of modifying Windows registry values. This example disables the Windows Task Manager.\n## Background\n\nFor whatever reason, some people have reason to restrict access to the task manager. Maybe you're a researcher running a long computation and don't want anyone killing your process. Maybe you're a sysadmin trying to lock a computer down. Maybe you're an asshole and don't want people killing your fake av process. An incredible obtrusive way to disable it is by modifying the value of the `SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\DisableTaskMgr` key.\nNote that [Malwarebytes](https://blog.malwarebytes.com/detections/pum-optional-disabletaskmgr/) flags this.\n\nThe key in question resides at \n\nKey Location: `SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System`\n\nwith\n\nKey Name: `DisableTaskMgr`\n\nSetting this to `1` (true) should be a first order approximation to preventing access to the control panel\n\n## Code\n\nThe code is fairly simple. It doesn't take into account that the Key Location doesn't exist. It uses the `winreg` module to first open, then write, and close the registry.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThomasThelen%2FDisable-Task-Manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FThomasThelen%2FDisable-Task-Manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThomasThelen%2FDisable-Task-Manager/lists"}