troubleshooting Question

Changing process CPU affinity via Image File Execution Options ?

Avatar of Frank Helk
Frank HelkFlag for Germany asked on
Windows OS
3 Comments1 Solution316 ViewsLast Modified:
I'm in need to restrict a process in windows to one CPU core. I need to do that
  • right at startup,
  • as a persistent measure, and
  • independent of the way it is started.

I've found out that there's some fun possible by manipulating the registry at HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options ("IFEO") but the only details I've found were
  • malware related uses of (IFEO\whatever.exe\ -> Debugger)
  • brute force replacing Notepad.exe with Notepad++ (IFEO\Notepad.exe\ -> Debugger (again ...)), and
  • permanently forcing a given priority level (IFEO\whatever.exe\PerfOptions  -> CpuPriorityClass)

Now for the questions:

  • Is there any way to set CpuAffinity thru this way ?
  • Is there any documentation of the (presumed numerous) options available for the IFEO registry path inhabitants ?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros