Skip to content

Commit 590c1fc

Browse files
authored
Merge pull request #2 from Bravee9/copilot/update-readme-with-images
Add illustrative images to README and fix registry file version path
2 parents 66d0f76 + 7486fa5 commit 590c1fc

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

DisableAntimalwareExecutable.reg

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,19 @@ Windows Registry Editor Version 5.00
33
; Disable Windows Defender Antimalware Service Executable
44
; WARNING: This disables real-time malware protection
55
; Ensure you have alternative antivirus software installed and active
6+
;
7+
; IMPORTANT: Before using this file, you MUST replace [YOUR_VERSION] below
8+
; with your actual Windows Defender version folder name.
9+
;
10+
; To find your version:
11+
; 1. Open File Explorer
12+
; 2. Navigate to: C:\ProgramData\Microsoft\Windows Defender\Platform\
13+
; 3. Find your version folder (e.g., 4.18.24090.1-0)
14+
; 4. Replace [YOUR_VERSION] below with that folder name
15+
; 5. Save this file before double-clicking to apply
616

717
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend]
818
"Start"=dword:00000003
919

1020
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend]
11-
"ImagePath"="C:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\disabled\\mpextms.exe"
21+
"ImagePath"="C:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\[YOUR_VERSION]\\mpextms.exe"

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ This guide provides step-by-step instructions for disabling the Antimalware Serv
1818
- Press `Windows + R`, type `rstrui.exe`, and press Enter
1919
- Click "Create a restore point"
2020
- Name it "Before disabling Windows Defender" and create it
21+
22+
![Create System Restore Point](pictures/Picture1.png)
2123

2224
2. **Install Alternative Security Software:**
2325
- Ensure you have a reputable third-party antivirus installed and active
@@ -43,12 +45,30 @@ This guide provides step-by-step instructions for disabling the Antimalware Serv
4345

4446
2. **Download the registry file:**
4547
- [DisableAntimalwareExecutable.reg](./DisableAntimalwareExecutable.reg)
48+
49+
⚠️ **IMPORTANT**: Before using the registry file, you MUST update the Windows Defender version path:
50+
- Open File Explorer and navigate to: `C:\ProgramData\Microsoft\Windows Defender\Platform\`
51+
- Find your Windows Defender version folder (e.g., `4.18.24090.1-0`)
52+
- Open `DisableAntimalwareExecutable.reg` with a text editor (Notepad)
53+
- Replace `[YOUR_VERSION]` in the ImagePath line with your actual version folder name
54+
- Save the file
55+
56+
Example: If your version folder is `4.18.24090.1-0`, change:
57+
```
58+
"ImagePath"="C:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\[YOUR_VERSION]\\mpextms.exe"
59+
```
60+
to:
61+
```
62+
"ImagePath"="C:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\4.18.24090.1-0\\mpextms.exe"
63+
```
4664

4765
3. **Enable Safe Mode:**
4866
- Press `Windows + R`, type `msconfig`, and press Enter
4967
- Navigate to the **Boot** tab
5068
- Check **Safe boot** and select **Minimal**
5169
- Click **OK** and restart your computer
70+
71+
![Enable Safe Mode in System Configuration](pictures/Picture2.png)
5272

5373
4. **Apply Registry Changes:**
5474
- Once in Safe Mode, double-click the downloaded `.reg` file
@@ -80,12 +100,16 @@ This guide provides step-by-step instructions for disabling the Antimalware Serv
80100
- Navigate to the **Boot** tab
81101
- Check the box for **Safe boot** and select **Minimal**
82102
- Click **OK** and restart your computer
103+
104+
![Enable Safe Mode in System Configuration](pictures/Picture2.png)
83105

84106
### Step 2: Access Registry Editor in Safe Mode
85107
1. **Open Registry Editor:**
86108
- Once in Windows Safe Mode, press `Windows + R`
87109
- Type `regedit` and press Enter to open **Registry Editor**
88110
- Click **Yes** if prompted by User Account Control
111+
112+
![Open Registry Editor](pictures/Picture3.png)
89113

90114
### Step 3: Navigate to Windows Defender Service
91115
1. **Find the Service Key:**
@@ -101,6 +125,8 @@ This guide provides step-by-step instructions for disabling the Antimalware Serv
101125
- Note the current value (typically `2` for Automatic)
102126
- Double-click and change to `3` (Manual) or `4` (Disabled)
103127
- **Recommended**: Use `3` (Manual) instead of `4` (Disabled) for easier recovery
128+
129+
![Modify Start Value to 4](pictures/Picture4.png)
104130

105131
2. **Modify ImagePath (Optional but Recommended):**
106132
- Locate the `ImagePath` key (String value)
@@ -110,6 +136,8 @@ This guide provides step-by-step instructions for disabling the Antimalware Serv
110136
C:\ProgramData\Microsoft\Windows Defender\Platform\[version]\mpextms.exe
111137
```
112138
- This prevents the service from starting even if re-enabled
139+
140+
![Modify ImagePath Value](pictures/Picture5.png)
113141
114142
### Step 5: Exit Safe Mode
115143
1. **Disable Safe Mode:**

0 commit comments

Comments
 (0)