Are you getting the INVALID_AFFINITY_SET error message in Windows 10 time and again? If the answer is yes, your computer system is running in trouble and the error is named BSOD. As a point of distinction, the INVALID_AFFINITY_SET error in Windows 10 has a bug check value of 0x00000003. Like most other similar stop codes, this Blue Screen of Death also occurs because of software and sometimes hardware issues.
BSOD error INVALID_AFFINITY_SET in Windows 10 is persistent from long before. As a result, Windows forcibly restarts time and again without a definite reason. Slower operational speed, freezing of the System making the desktop inaccessible, and irregular flashing on the screen are too common once affected. We have found a few effective resolutions to resolve the Software issues, but unfortunately, Hardware problems hardly offer a remedy. Once fully affected, an error like the following keeps appearing on screen-
“A problem has been detected, and Windows has been shut down to prevent damage to your computer. The problem seems to be caused by the following file:”
Or
“INVALID_AFFINITY_SET” and it crashes with Error code 0x00000003 when running the same program.
Solutions to INVALID_AFFINITY_SET in Windows 10
Here is how to fix INVALID_AFFINITY_SET BSOD in Windows 10 –
Block Automatic restarting of Windows
Once affected by the INVALID_AFFINITY_SET BSOD error, Windows have a tendency to reboot automatically without notifying the user. Therefore, the first thing is to disable this Automatic Restart in the first place.
Step-1: Move to the Desktop (Win+D) and make a right click on This PC; choose Properties option from there.
Step-2: Once the new Windows opens, select the Advanced system settings option from the left-hand side.
Step 3: When a new pop-up appears on the display with System Properties, select the Advanced tab.
Step 4: Move down and choose Settings from the Startup and Recovery area.

Step 5: After the new pop-up is visible on screen, hover down to System failure and unmark the Automatically restart option.
Step-6: Pick up OK button from bottom to move ahead.

Booting Windows 10 to Safe Mode
After Windows started rolling out, Lots of bugs and problems started following it, resulting in damage to the system. Microsoft thought of a perfect fix and found Booting in the Safe Mode resolves the issue easily. Hence, this one is considered the common resolution for most Blue Screen of Death errors, including INVALID_AFFINITY_SET in Windows 10. Upon Application of this solution, Windows will only load the basic programs and services. At this point, perform a check for the occurrence of the error and if nothing here, you can conclude here. Unfortunately, if affirmative, we are quite sure that any third-party application or hardware is causing it. Here are the details of the Safe Boot process –
- Press the Win + I hotkeys to invoke the Windows Settings app on display.
- Once loaded, head ahead on to Update & Security section and perform a click on it once reached.
- When the Advanced Settings page comes up, choose Recovery from the Go and the Move to Startup side.
- Click your Restart Now buttonstartup section and hit the button Restart now.

- When the Windows starts up again, it will ask you to choose the next step. Hit Troubleshoot from the Startup Screen.
- Moving ahead, from the Troubleshoot menu, hit the Advanced Options.
- Thereafter, select Startup Settings.
- The subsequent screen will display that the device can be restarted with the use of additional settings; one of which is Enable Safe Mode. Press Restart.
- Upon restarting, choose Enable Safe Mode by pressing F4.
To knowthe another method, read –
Use the blue screen Troubleshooter
Windows 10 is turning out to be a complete Operating System and Significant number of Bugs is blocked in the proceedings. Therefore, Microsoft is adding self-made resolutions that too inside the Settings app so that you can work out easily. If you are using the Operating System above Fall Creators update or more, Microsoft introduces Windows 10 blue screen Troubleshooter in the Settings app. The tool becomes pretty useful in resolving the INVALID AFFINITY SET error.
- Move the cursor to the bottom-left corner, click on the Start button and then select the Gear cog.
- When the Settings appear on the display, move on to Update & Security.
- On the next page, select Troubleshoot from the left pane and then shift to the corresponding right pane.
- Select the Blue Screen option from there and click on Run the Troubleshooter option from the expanded pane.

With accomplishing the troubleshooting, Windows will fix INVALID_AFFINITY_SET automatically and you can resolve the, error quite comfortably.
Remove faulty Windows update files
Just after releasing Windows 10, Microsoft started rolling out its cumulative updates as well. The motive is aristocratic as they want to make it Lexus to the users. After each and every update, you should download the available updates to keep Windows up to date. Usually, the Automatic update doesn’t cause any issue, but by any chance, if the process terminates abnormally, a BSOD error takes place. Therefore, to eliminate the issue, you have the to remove those troublesome files as a suitable fix. This is how you need to proceed –
- Open the Windows Settings app on your computer.
- When it turns up, hover the cursor over the Update & Security tile and click on it.
- On the running page, choose Windows Update from the left side and move to the adjacent right.
- Select the View update history link, and on the next page, click on Uninstall updates.

Unplug and reconnect External Hardware Devices
While using an additional Drive disk, you might come across an INVALID AFFINITY SET BSOD error in Windows 10. In that case, disconnecting them from the device and reconnecting them again may be a major fix.
- Disconnect all the external accessories that were plugged in before.
- Restart the Windows 10 shortly.
- After windows sign back in, plug all the separated devices you have unplugged before. Check for the appearance of the INVALID_AFFINITY_SET BSOD error in Windows 10.
- Finally, Download then Install the latest drivers for the hardware from the manufacturer website.
Update device Drivers again using the built-in Device Manager
Any Incompatible Device drivers may cause the INVALID_AFFINITY_SET error in Windows 10. Very often, users come across the issue just after installing brand-new hardware in the machine. The troublesome USB stick can also cause the same. Users in most cases tend to install the drivers from the disk delivered with the package. Some people use unofficial websites as a platform for downloading drivers. Thus, end up creating BSOD error and only fix in this case is updating them from Device Manager.
- Press the Windows+S keys together and type Device Manager in the search box.
- After the result shows up, press the Enter button to move on.
- Once you get there, find the exclamation mark near any devices on the console.
- Expand the same option then do a right-click on one having a yellow indication.
- Select the Update driver option and then follow the on-screen guidelines to finish the procedure.

- Lastly, reboot Windows to make the changes effective.
Uninstall and reinstall the program causing the INVALID_AFFINITY_SET error
Since the causes are discussed early on, a conflict between two or more software can cause this bug. Therefore, Uninstalling is the best fix if you feel it is necessary. If essential, you may reinstall again.
Step 1: Press the Windows logo + I shortcut keys all together to open the Windows Settings app.
Step 2: Once it appears, click on Apps.
Step 3: Now you will be redirected to the Apps & features page. Switch to the right and locate the program causing issues with the VALID_AFFINITY_SET file.
Step-4: Once found, make a click on it and select Uninstall option from the expanded pane.
Step-5: When a pop-up prompts up for final confirmation, again click Uninstall and let application gets removed completely.
Step-6: After complete Uninstallation, visit the official manufacturer website to download and reinstall it on the PC.
Perform a Full System scan for Malware in Windows Security
If INVALID_AFFINITY_SET BSOD error in Windows 10 occurs because of malware, then the best solution is a full system scan. Logically, Windows Security Powered by Microsoft is the best utility in this regard, and we recommend you use it. The following guidelines will help you do so –
- Click on the Windows Security (shield) icon from the system tray.
- When the application appears, go to the Virus & threat protection category.
- Jump to the right pane and click Scan options.
- On the subsequent page, select the Full scan radio button f, followed by clicking the Scan now button.

- Windows Security will start detecting all threats present in the system. Upon completion, you will see the scan result. In case, the scan traces out any issue, hit a click on the Clean threats button to get rid of them from the system.
- If you want to know more about the threat, click the See threat details link.
- Proceed to the next page; Windows Security will offer you three actions for the threat. Select the radio button for Remove and then click the Start actions button.
Also, Read: How to Run Windows Defender Full Scan in Windows 10.
Run the Windows System File Checker tool
Experts came to the conclusion that System file corruption often causes these types of BSOD errors. Windows includes a tool called System File Checker to deal with the case. When executed in the elevated Command Prompt, Sfc /scannow will check and inspect all the necessary files, including DLL files.
- Press the Win+S hotkeys and open the Taskbar search on screen.
- Once opens up, Type cmd.exe in the search bar and when the result appears, make a right click on it.
- Hit the Run as administrator option from the menu and when UAC prompts up, click on Yes to proceed.
- Once the black screen appears, type the syntax
sfc /scannowand execute it by pressing the Enter button.

Wait with patience until the process gets over finally since it might take several minutes to accomplish.
Execute the DISM tool in an elevated Command Prompt
Another rescue utility put forward by Microsoft is the Deployment Image Servicing and Management (DISM) tool. INVALID_AFFINITY_SET BSOD error in Windows 10 can be easily resolved with this effective tool.
- Open Command Prompt as admin.
- When the Dark window flashes on the screen, type following command at the base of blinking cursor and press Enter button from keyboard.
DISM.exe /Online /Cleanup-image /Restorehealth

- Let Windows 10 perform the scan perfectly and total time might be more than 10 minutes even.
- Reboot after the DISM scan is over.
Perform Disk Checking using the CHKDSK Utility
If the Hardware issues are found to be guilty, in most cases, the presence of bad sectors in the Hard Disk can cause INVALID AFFINITY SET BSOD error in Windows 10. Microsoft discovered a built-in tool to resolve the issue as well. Upon running this utility, the system will detect these faulty areas and also rectify possibly damaged parts.
- Open the Elevated Command Prompt.
- Once the User Account Control prompt appears, agree with its requirements by clicking Yes.
- Type the command after C:\Windows\system32>, keeping the format the same as: chkdsk [Drive:] [parameters]
- chkdsk in the command exhibits the disk’s status only but neither rectifies nor traces bad sectors in the volume. Therefore, we will use the following parameters – /f /r /x
Here,
- The parameter f allows CHKDSK to fix the errors found on the volume.
- Letter r instructs CHKDSK to detect bad sections in the volume and retrieve the readable data.
- With the/x switch, the volume is dismounted before the system starts.
Therefore, the final command stands like this – chkdsk [Drive:] [parameters]. With all the instruction letters, it will look like this: chkdsk C: /f /r /x

Note – Here, with the drive letter C: w, we represent the location where the Operating system is installed. For installing on any other drive, replace this letter with D:, E: and so on.
Free up space on the hard disk with the Disk Cleanup utility
Daily working at a stretch, Windows 10 produces a lot of unnecessary files, cache and stores them in the disk drive. Resulting in occupying huge space and that is quite harmful. As the computer runs out of free space, it will affect the speed and also cause the BSOD error INVALID_AFFINITY_SET in Windows 10.
- Open the Run dialogue on the screen by pressing the Win+R hotkeys together.
- Type cleanmgr in the empty field and hit the OK button.
- When the small dialogue appears, click the drop-down, choose the drive, then press the Enter key.
- Disk Cleanup utility will start analysing the whole drive and finish calculating the amount of reclaimable free space
- Moving ahead, you need to click Clean up system files when a wizard appears.

- Again sel, select the same drive and allow the utility to Disk Cleanup for (C:) appear.
- Ensure nothing important is present in the Recycle Bin. Afterwards, tick all the options; only leave Downloads unchecked and lastly, click the OK button.

You may also like to read – Cleanmgr+ to Run Disk Cleanup plus Clean Browsers Cache
Install all possible Windows Updates
Microsoft rolls out Windows 10 cumulative updates at a regular interval,nd all of them contain bug fixes. Very often, outdated system files are accused of causing the INVALID_AFFINITY_SETSOD error in Windows 10. Therefore, Users should install all the possible updates using the following steps –
- Make a Right click on the Start menu and choose Settings cog.
- Select Update & Security.
- On the following page, choose the Windows Update option from the left pane.
- Go to the adjacent right pane and select the Check for updates option.
- Alternatively, select the Download option present under the new updates available here.

Fix RAM issues to solve INVALID_AFFINITY_SET BSOD error in Windows 10
From the causes, we have come to know that AM corruption is also one of the major issues behind the INVALID_AFFINITY_SET error. Scanning the stick will be complex, and we urge you to carry out diagnosis through the Memory Diagnostic tool. In the process, you can find out the bad sectors and resolve the issue afterwards. Follow these steps to resolve –
- Save and close all the ongoing applications and processes to avoid data loss.
- Select the Taskbar search icon and type Windows Memory in the text field
- When the result appears on display, do a click on Windows Memory Diagnostic.
- After the rolled-in pop-up flashes on the screen, select the option Restart now and check for problems (recommended).

- The scanning will start,nd immediately you will come across a blue screen window on the display that shows memory issues. When the memory testing gets over 100%, the device will restart automatically.
- Results will be available in the notification area of the taskbar when you sign back in
- If the system seems complex, you can also move along with the following path: right-click Start Menu => Event Viewer => Windows Logs => System.
Use Previous System Restore Point
If you have a previously created Restore point, applying this workaround will restore the Operating system back to a point with no error. In case of having any such thing, you can leave the resolution and skip forward. Here are the details of the method –
- Hit a Right-click on the Start menu and select Run option.
- Write rstrui in the empty text field and choose OKthe option allowing the System Restore wizard appear.
- In the window, select the Next option g, generating all your PC’s restore points.
- To view all the other restore options, make a click on the checkbox against the box Show more restore points.
- Choose the latest restore point and click Next to go ahead.

- Finally, on the proceeding page, click Finish to initiate this process.
Also, read: How to Schedule System Restore Point to Create at Startup in Windows 10
Perform a Clean Install
When all the resolutions above fail to resolve this code 0x00000003, there is still one more workaround left that can resolve INVALID AFFINITY SET BSOD in Windows 10. A clean installation will remove everything, and you will have a new operating system with no issues and errors. The process needs to be done with utmost perfection so that no problem recurs afterwards
Here is How to Clean Install Windows 10 October 2018 update)
That’s all!!!!
