Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Windows"

From PCGamingWiki, the wiki about fixing PC games
m (→‎Resources: Added Microsoft Update Catalog.)
(→‎Non-Unicode applications might not work properly: replaced Locale Emulator link; original no longer works)
 
(255 intermediate revisions by 50 users not shown)
Line 8: Line 8:
 
|wikipedia    = Microsoft Windows
 
|wikipedia    = Microsoft Windows
 
}}
 
}}
 +
{{Tocbox}}
  
 
'''Key points'''
 
'''Key points'''
{{++}} The most popular and widely supported family of operating system among PC gamers.
+
{{ii}} The most popular and widely supported family of operating system among PC users.
{{++}} [[Wikipedia:Backwards compatibility|Backward compatibility]] is high, with newer versions of the operating system capable of running decades old software with minimal issues.
+
{{++}} [[Wikipedia:Backward compatibility|Backward compatibility]] is high, with newer versions of the operating system capable of running decades old software with minimal issues.
{{ii}} Have transitioned over to periodical major upgrades biannually since the introduction of Windows 10.
+
{{mm}} Transitioned to periodic biannual major upgrades since the introduction of Windows 10.
  
 
'''Resources'''
 
'''Resources'''
 
{{ii}} [https://support.microsoft.com Official support]
 
{{ii}} [https://support.microsoft.com Official support]
{{ii}} [http://windows.microsoft.com/en-us/windows-10/update-history-windows-10 Windows 10 Update history]
+
{{ii}} Update history for [https://support.microsoft.com/topic/a19cd327-b57f-44b9-84e0-26ced7109ba9 Windows 11], [https://support.microsoft.com/help/5008339 Windows 10]
{{ii}} [https://catalog.update.microsoft.com Microsoft Update Catalog] - Allows for manual download of updates or device drivers. See [https://support.microsoft.com/en-us/help/323166/how-to-download-updates-that-include-drivers-and-hotfixes-from-the-win related KB article].
+
{{ii}} [https://catalog.update.microsoft.com Microsoft Update Catalog] - Allows for manual download of updates or device drivers. See [https://docs.microsoft.com/en-US/troubleshoot/windows-client/deployment/download-updates-drivers-hotfixes-windows-update-catalog related KB article].
  
 
'''Communities'''
 
'''Communities'''
 
{{ii}} [https://answers.microsoft.com Microsoft Community] - Official community for everything related to Microsoft
 
{{ii}} [https://answers.microsoft.com Microsoft Community] - Official community for everything related to Microsoft
 +
{{ii}} [https://discordapp.com/invite/microsoft Microsoft Community Discord] - Official Discord server
 
{{ii}} [https://www.reddit.com/r/windows10/ /r/windows10] - Subreddit dedicated to Windows 10
 
{{ii}} [https://www.reddit.com/r/windows10/ /r/windows10] - Subreddit dedicated to Windows 10
 
{{ii}} [https://www.reddit.com/r/windows/ /r/windows] - Subreddit dedicated to Windows in general
 
{{ii}} [https://www.reddit.com/r/windows/ /r/windows] - Subreddit dedicated to Windows in general
  
 
==General==
 
==General==
===Command Prompt===
+
===[[w:PowerShell|PowerShell]]===
The Command Prompt is the command-line interpreter provided by Microsoft for Windows systems and is the not-as-powerful equivalent of the shell in [[Linux]] and [[Mac OS]]. It can be accessed by going to 'run' and typing 'cmd.exe' or by running a 'Batch file'.
+
PowerShell is the more capable one of the two command-line interpreters provided by Microsoft for Windows systems. It can be accessed by opening the Start menu and typing ''powershell'', then opening it from the search results. To open it with admin rights, right-click on the search result and choose "Open as Administrator".
====Admin Command Prompt====
 
{{Fixbox|description=Windows 8 and later|fix=
 
* Push {{key|Win+X}}, then push {{key|A}}.
 
}}
 
  
 
===Task Manager===
 
===Task Manager===
Line 38: Line 36:
  
 
* {{Key|Right-click}} on the taskbar of Windows and select '''Task Manager'''.
 
* {{Key|Right-click}} on the taskbar of Windows and select '''Task Manager'''.
 +
* (Windows ≥8.1) {{Key|Right-click}} on the Windows icon in the taskbar (or press Win+X), and select '''Task Manager'''
 
* Press {{Key|Ctrl|Alt|Delete}} and select '''Task Manager'''.
 
* Press {{Key|Ctrl|Alt|Delete}} and select '''Task Manager'''.
 
* Press {{Key|Ctrl|Shift|Escape}} to open it directly.
 
* Press {{Key|Ctrl|Shift|Escape}} to open it directly.
Line 47: Line 46:
 
{{Fixbox|description=Basic Editing|fix=
 
{{Fixbox|description=Basic Editing|fix=
 
# Push {{key|Win|R}}, type '''regedit''', then click '''OK'''.
 
# Push {{key|Win|R}}, type '''regedit''', then click '''OK'''.
# Navigate to the desired registry key, such as <code>{{p|hkcu}}</code>, under the '''Computer''' category.
+
# Navigate to the desired registry key, such as {{Registry|{{p|hkcu}}}}, under the '''Computer''' category.
 
# Double click on any entries on the right side, right after selecting a registry key, under the '''Name''' category, in order to edit them.
 
# Double click on any entries on the right side, right after selecting a registry key, under the '''Name''' category, in order to edit them.
 
}}
 
}}
{{Fixbox|description=Advanced Search|fix=
+
{{Fixbox|description=(Windows ≤8) Advanced Search|fix=
# Download [https://technet.microsoft.com/en-us/sysinternals/bb963880.aspx RegJump], extract it inside the root directory of the main '''Local Disk''' location.
+
# Download [https://docs.microsoft.com/sysinternals/downloads/regjump RegJump], extract it inside the root directory of the main '''Local Disk''' location.
 
# Copy any desired path into the clipboard.
 
# Copy any desired path into the clipboard.
 
# Open a Command prompt as an [[Microsoft Windows#Admin Command Prompt|admin]].  
 
# Open a Command prompt as an [[Microsoft Windows#Admin Command Prompt|admin]].  
Line 58: Line 57:
 
'''Notes'''
 
'''Notes'''
 
{{ii}} The last command tells Windows to open the Registry Editor at the path which was currently stored inside the clipboard.
 
{{ii}} The last command tells Windows to open the Registry Editor at the path which was currently stored inside the clipboard.
 +
{{++}} Windows 10 added a native text field in Registry Editor for jumping to folders.
 
}}
 
}}
 
===[[Blue Screen of Death (BSOD)]]===
 
A Blue Screen of Death (a.k.a BSOD or Bluescreen) is an error screen that Windows produces when it encounters an error that it cannot recover from.
 
  
 
===[[Glossary:DirectX|DirectX]]===
 
===[[Glossary:DirectX|DirectX]]===
Line 67: Line 64:
  
 
===.NET Framework===
 
===.NET Framework===
The .NET Framework is a software framework for Windows that is required for games built in .NET-aware languages (such as C# or Visual Basic), including those that use [[Engine:XNA|XNA]]. Different games may require different versions of .NET Framework. A list with download links to all versions may be found on [https://msdn.microsoft.com/en-us/library/bb822049.aspx MSDN]. Windows 8 and 10 users may want to read [https://msdn.microsoft.com/en-us/library/hh506443.aspx this].
+
The .NET Framework is a software framework for Windows that is required for games built in .NET-aware languages (such as C# or Visual Basic), including those that use [[Engine:XNA|XNA]]. Different games may require different versions of .NET Framework. A list with download links for most versions can be found [https://dotnet.microsoft.com/download/dotnet-framework here]{{note|note=There are only 3 major .NET CLR versions<ref>[https://web.archive.org/web/20030810103721/http://msdn.microsoft.com/netframework/technologyinfo/faq/default.aspx Frequently Asked Questions About the .NET Framework 1.1 - MSDN] (retrieved)</ref><ref>[https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies#remarks-for-older-versions .NET Framework & Windows OS versions | Microsoft Docs]</ref><ref>{{Refurl|url=https://www.hanselman.com/blog/NETVersioningAndMultiTargetingNET45IsAnInplaceUpgradeToNET40.aspx|title=.NET Versioning and Multi-Targeting - .NET 4.5 is an in-place upgrade to .NET 4.0 - Scott Hanselman|date=May 2023}}</ref> that at worst should be needed to be installed.}}. Windows 8 and 10 users may want to read [https://docs.microsoft.com/en-us/dotnet/framework/install/dotnet-35-windows-10 this].
  
 
===DLLs===
 
===DLLs===
DLL stands for "Dynamic Link Library". DLL files (''.dll'') are Windows exclusive library files containing code and data that can be used over several applications.
+
Dynamic-link libraries ('''DLL''', {{file|.dll}}) are Windows' shared library files containing code and data that can be used over several applications and are dynamically linked during runtime, as opposed to statically linked where such libraries would be embedded within each individual application at compile-time. Dynamic-link libraries often save time for developers as shared system libraries only need to be installed once for multiple applications to make use of them, and is also a popular method for mod creators to use for their {{W|Shim (computing)|shims}} which intercepts API calls and injects their custom code.
 +
 
 +
A possible downside with dynamic-link libraries, although rare nowadays, is that it can be the cause of issues for the end users when an application relies on a specific version of the system library, while another application relies on another version, and only one can be installed at once. This is commonly referred to as {{W|DLL Hell}} and were more common for older applications, in particular legacy 16-bit applications. This can often be resolved through various ways, such as uninstalling the conflicting version and re-installing the needed version, or by inserting the required DLL files of the needed version in the installation folder of the application as this would result in the system prioritzing loading those libraries instead of the system-wide installed libraries.
 +
 
 +
Third-party utilities that makes use of DLL files range from game-specific fixes, such as [https://www.nexusmods.com/nierautomata/mods/12 NAIOM,] to more generic tools like [[ReShade]], [[dgVoodoo 2]], and [[Special K]]. There are also so-called ''ASI loaders'' such as [https://github.com/ThirteenAG/Ultimate-ASI-Loader Ultimate ASI Loader] which allows loading additional third-party DLL files (renamed to {{file|.asi}}) through the use of an existing DLL filename that the game loads at runtime.
 +
 
 +
==Windows 10 and 11==
 +
===Fullscreen optimizations===
 +
Windows 11 and 10 (v1607 "Anniversary Update" and later) includes fullscreen optimizations (sometimes shortened as '''FSO''') that attempts to convert games running in the "classic" exclusive fullscreen mode into using borderless window mode with flip model presentation instead. This optimization is completely transparent to the game, and it as well as injected tools (such as [[Special K]]) will believe and report that the game is running in exclusive fullscreen mode. This allows the use of Windows 10's [[#Game bar|Game bar]] as well as other system overlays in games that otherwise would not support them. A side-effect of the flip model presentation used is that it still allows the use of variable refresh rate techniques such as G-Sync/FreeSync syncing the monitor to the frame rate despite them being configured for fullscreen only.
 +
 
 +
Earlier versions<ref>{{Refurl|url=https://www.reddit.com/r/Windows10/comments/c5ahfc/|title=Reddit - BUG: DX9/DX11 Games do not enter Independent FLIP mode presentation in builds newer than 1709 in borderless mode.|date=2020-07-21|snippet=I ran presentmon and compared borderless games from 1709, and 1803-1903, and it seems all newer builds than 1709 run games in borderless as COPY with GPU GDI}}</ref> of Windows 10 (v1607-1709) also tried forcing games running in regular window modes (including borderless window mode) to use flip model presentation, however this was discovered to cause issues with some games. As a result, in Windows v1803 Microsoft had disabled that aspect of the feature and limited the fullscreen optimizations to only apply for games running in exclusive fullscreen mode.<ref>{{Refurl|url=https://old.reddit.com/r/Windows10/comments/c5ahfc/bug_dx9dx11_games_do_not_enter_independent_flip/es1ykp9/|title=Reddit - BUG: DX9/DX11 Games do not enter Independent FLIP mode presentation in builds newer than 1709 in borderless mode. - MSFTJesse (Jesse Natalie @ Microsoft's DirectX team)|date=2020-07-21|snippet=FYI, this is by design. There are some behaviors that flip model (a prereq for independent flip) cannot replicate. The fact that they used to get upgraded to flip model in windowed mode (note that from the API point of view, borderless windowed is still just windowed) meant that there was a risk of breaking some games. As we're trying to more broadly enable the use of independent flip for all apps, that risk became unacceptable, so we enabled the promotion to only apply while the games are in fullscreen exclusive mode.}}</ref> In February 2022 Microsoft announced that this feature would make a return in Windows 11, and was released as part of Windows 11 22H2.<ref>
 +
{{Refurl|url=https://devblogs.microsoft.com/directx/updates-in-graphics-and-gaming/|title=DirectX Developer Blog - Updates in Graphics and Gaming|date=2022-08-20}}</ref>
 +
 
 +
{{++}} Available for DirectX ≥9 and automatically engaged, the optimizations combines the benefits of classic exclusive fullscreen mode with that of borderless window mode.
 +
{{--}} Despite information stated elsewhere online, there is currently no built-in way of system-wide disabling fullscreen optimizations for all executables in Windows 10 v1803 and later. The third-party tool '''[https://nbusseneau.github.io/CompatibilityManager/ Bulk Application Compatibility Editor]''' can be used instead to easily disable the optimizations for multiple games.
 +
{{mm}} See [https://devblogs.microsoft.com/directx/demystifying-full-screen-optimizations/ Demystifying Fullscreen Optimizations] on the DirectX blog for more information.
 +
 
 +
{{Fixbox|description=Disable fullscreen optimizations for an executable|collapsed=yes|ref=|fix=
 +
# Navigate to {{p|game}} and locate the executable of the game.
 +
# {{Key|Right-click}} on the executable and select '''Properties'''.
 +
# Open the '''Compatibility''' tab.
 +
# Check '''Disable fullscreen optimizations''' and click '''OK'''.
 +
 
 +
'''Notes'''
 +
{{--}} On Windows 10 v1803 "April Update" and later, some users might experience an issue while using an injector based on dxgi.dll where fullscreen optimizations are forcefully enabled despite being "disabled" because of the presence of that DLL file. Using another supported DLL filename for the injector works around the issue.<ref>{{Refcheck|user=Aemony|date=2018-08-19|comment=I have now experienced this on two different systems, with both [[Special K]] and [[ReShade]] while injected into games using "dxgi.dll", despite fullscreen optimizations being disabled.}}</ref>
 +
}}
 +
 
 +
{{Fixbox|description=Check if fullscreen optimizations are being used or not|collapsed=yes|ref=|fix=
 +
# Enable the [[#Game bar|Game bar]] of Windows 10 and verify that it can be toggled using {{key|Win|G}}.
 +
# Launch the particular game and configure it to run in '''exclusive fullscreen mode''', then restart the game.
 +
# Allow the main menu of the game to appear, then click on {{key|Win|G}} and inspect the results:
 +
#* '''If the screen flashes brightly twice''' the game is running in "classic" '''exclusive fullscreen mode''', and fullscreen optimizations are '''disabled'''.
 +
#* '''If the [[#Game bar|Game bar]] appears''' fullscreen optimizations are '''enabled''' ''or'' the "fullscreen mode" of the game is actually just a misnamed borderless window mode (typically seen with [[Engine:Unity|Unity]]-based games).
 +
 
 +
'''Notes'''
 +
{{ii}} To verify whether the fullscreen mode of the game is "classic" exclusive fullscreen mode, or simply a borderless maximized window referred to as "fullscreen mode", a third-party tool such as [[Special K]] might be needed.
 +
{{ii}} An alternative method to check if the [[#Game bar|Game bar]] is disabled is to use the volume media keys that some keyboards have. If the volume overlay appears, fullscreen optimizations are enabled. If it does not, fullscreen optimizations are disabled.
 +
}}
 +
 
 +
===Game bar===
 +
The Game bar ({{key|Win|G}}) allows easy capture recording of gameplay screenshots and video while playing a game and is enabled by default in Windows 10.
 +
 
 +
{{Fixbox|description=Toggle Game bar|ref=|fix=
 +
# Open '''Settings''', click on '''Gaming''', and navigate to the '''Game bar''' page.
 +
# Toggle '''Record game clips, screenshots, and broadcast using Game bar'''.
 +
}}
 +
 
 +
{{Fixbox|description=Toggle Game DVR background recording|ref=|fix=
 +
# Open '''Settings''', click on '''Gaming''', and navigate to the '''Game DVR''' page.
 +
# Toggle '''Record in the background while I'm playing a game'''.
 +
}}
 +
 
 +
===Game Mode===
 +
{{++}} Game Mode attempts to remove distractions while playing by applying minor changes to the behavior of Windows Update and may on some systems also help achieve a more stable frame rate in some games.<ref>{{Refurl|url=https://beta.support.xbox.com/help/games-apps/game-setup-and-play/use-game-mode-gaming-on-pc|title=Xbox Support - Use Game Mode while gaming on your Windows 10 device|date=2020-05-09|snippet=When you use Game Mode, Windows prioritizes your gaming experience. When you’re running a game, Game Mode:
 +
* Prevents Windows Update from performing driver installations and sending restart notifications.
 +
* Helps achieve a more stable frame rate depending on the specific game and system.}}</ref><ref>{{Refurl|url=https://old.reddit.com/r/pcgaming/comments/bzr6nx/does_windows_10_game_mode_still_hurt_performance/eqwfppq/|title=Reddit - /r/pcgaming - hamiltonia comments on Does Windows 10 Game Mode still hurt performance?|date=2020-05-09|snippet=In these later builds Game Mode is intended to help by removing distractions while playing. In particular it tries to stop Windows Update from updating drivers and stops it from notifying the user of non-critical updates. It also causes the CPU to run at a minimum of 100% (on desktop, not laptops) to help reduce CPU fluctuations which may cause performance issues.}}</ref>
 +
{{ii}} Earlier versions of the feature also prioritized CPU and GPU resources to the game running in the foreground, but this was removed in v1803 as it was found to negatively impact some games and scenarios.<ref>{{Refurl|url=https://old.reddit.com/r/pcgaming/comments/bzr6nx/does_windows_10_game_mode_still_hurt_performance/eqwfppq/|title=Reddit - /r/pcgaming - hamiltonia comments on Does Windows 10 Game Mode still hurt performance?|date=2020-05-09|snippet=In the latest versions of Windows (1809 & 1903) Game Mode no longer does GPU/CPU prioritization. This prioritization was intended to give more resources to the running game at the cost of background processes, but we found it impacted some games and other scenarios. As an example streaming was impacted in apps like OBS because we were starving them of resources needed to encode.}}</ref>
 +
{{mm}} Microsoft's official support article: [https://support.xbox.com/en-US/help/games-apps/game-setup-and-play/use-game-mode-gaming-on-pc Use Game Mode while gaming on your Windows 10 device]
 +
 
 +
{{Fixbox|description=Toggle Game Mode for a game|ref=|fix=
 +
# Launch the game.
 +
# Open the '''Game Bar''' using {{key|Win|G}}.
 +
# Use the '''Turn Game Mode on/off''' option (a speedometer icon) to toggle Game Mode.
 +
 
 +
'''Notes'''
 +
{{ii}} The [[#Game bar|Game bar]] is not available for games running in ''exclusive fullscreen'' mode. For those games, temporarily change the display mode to windowed or borderless windowed mode and enable Game Mode, then change back to exclusive fullscreen mode.
 +
{{ii}} To fix the problem when key pressing is registered with huge delay with Game Mode turned on see [https://answers.microsoft.com/en-us/windows/forum/all/game-mode-cause-stuttering-lag-bad-movement-keys/adb38623-b72f-4cd7-a9fd-858bd2b34940 here]
 +
}}
 +
 
 +
===Disable driver updates delivered through Windows Update===
 +
{{--}} Depending on how device manufacturer has configured their published drivers in Windows Update, users may sometimes receive undesirable drivers through Windows Update that are installed on top of an existing driver, such as Microsoft's generic ones, which may sometimes affect functionality and/or install additional unwanted applications on the system.
 +
 
 +
{{Fixbox|description=Instructions:|fix=
 +
# Uninstall the driver that was installed through Windows Update using either '''Add or remove programs''' or '''Device Manager'''.
 +
# Restart the system.
 +
# Use the '''[https://www.majorgeeks.com/files/details/microsoft_show_or_hide_updates_troubleshooter.html Windows Show or Hide Updates Troubleshooter]''' to "hide" the unwanted driver update.
 +
#* If the driver is not listed the system may still think one of its critical components are installed. An additional third-party tool, such as [https://github.com/lostindark/DriverStoreExplorer Driver Store Explorer] may be required to uninstall any remaining traces of the device/driver.
 +
# After the driver has been "hidden", Windows Update will no longer attempt to install it.
 +
}}
 +
 
 +
===Disable memory compression===
 +
{{Fixbox|description=Change settings in Powershell|ref=|fix=
 +
Search for the name Powershell in the system, and launch it as administrator via RBM.
 +
Write: <code>Get-MMAgent</code> to check the current state of memory compression. If it's false, there is nothing to be done. It can be disabled by default while using SSD as system disk. To disable it, write: <code>Disable-MMAgent -mc</code> To enable, write <code>Enable-MMAgent -mc</code>
 +
{{ii}} Disabling memory compression can increase application stability while using demanding games for CPU.<ref>[https://www.dobreprogramy.pl/deton24/Dlaczego-moje-gry-sie-zacinaja-diagnostyka.-Ustawianie-pliku-wymiany.-ReadyBoost.-Testy-trybu-gry-i-kompresji-pamieci-w-Windows-10-porady,85501.html] Blog entry of memory compression tests</ref> Although some games benefit from the memory compression enabled.
 +
}}
 +
 
 +
===Turn on ReadyBoost===
 +
{{ii}} This is only necessary on low-end devices with memory concerns, such as on machines with 4 GB RAM or less.
 +
{{Fixbox|description=Configure USB flash drive in Computer to use with ReadyBoost|ref=|fix=
 +
# Plug in the USB flash drive to the computer.
 +
# Open File Explorer and browse to '''This PC'''.
 +
# {{key|Right-click}} on the USB flash drive and click on '''Properties'''.
 +
# Click on the '''ReadyBoost''' tab and enable '''Dedicate this device to ReadyBoost'''.
 +
# Click '''OK'''.
 +
# After this, game may stutter less on 4 GB RAM configurations when in HDD/page file demanding scenarios.
 +
 
 +
'''Notes'''
 +
{{ii}} Before playing, make sure that background processes and services like System, SysMain (SuperFetch), svchost.exe, Windows Update, or others, are not using the storage device as they may cause additional stuttering.
 +
{{mm}} The page file on an SSD outperforms ReadyBoost, hence the feature will be unavailable on systems with SSD.
 +
}}
 +
 
 +
==Backward compatibility and 1990's games==
 +
===Compatibility mode===
 +
{{ii}} See [[Windows Compatibility Mode]] for information on how to use the built-in backward compatibility mode of Windows.
 +
 
 +
===DOS compatibility===
 +
For modern versions of Windows (both 32-bit and 64-bit), it is recommended to use [[DOSBox]].
 +
 
 +
{{ii}} If facing trouble getting DOS games to run on older versions of NT (XP and 2000), check out [http://web.archive.org/web/20230315211435/http://www.sierrahelp.com/ The Sierra Help Pages].
 +
{{ii}} In the transition from Windows 9x to NT based versions, [[Wikipedia:Virtual DOS machine#Windows NTVDM|DOS compatibility was temporarily maintained]], at least for 32-bit editions. For Windows 10 32-bit, NTVDM support has to be manually enabled via Windows Features.<ref>[https://superuser.com/questions/1334140/how-to-check-if-a-binary-is-16-bit-on-windows/#1334200 ]</ref>
 +
 
 +
===Running 16-bit applications on 64-bit systems===
 +
{{--}} 64-bit versions of Windows can not natively run 16-bit applications.
 +
{{ii}} Use [https://github.com/otya128/winevdm winevdm] or [https://github.com/leecher1337/ntvdmx64 NTVDMx64] to emulate them.
 +
 
 +
===IPX protocol deprecated===
 +
{{ii}} [[w:IPX/SPX|IPX]] was a LAN protocol commonly used with older programs, especially games. Unfortunately it was removed entirely from Vista and later with no indication of returning.
 +
{{Fixbox|description=Try a wrapper (recommended)|collapsed=yes|fix=
 +
Try one of the following:
 +
* [https://www.solemnwarning.net/ipxwrapper/ IPXWrapper] - often distributed in official digital re-releases of older games
 +
* [https://ipxemu.sourceforge.net ipxemu]
 +
* [http://www.kali.net Kali] - this one's more for tunneling IPX over the internet rather than LAN, but still works.
 +
}}
 +
 
 +
{{Fixbox|description=Copy support files from Windows XP|ref=<ref>{{Refurl|url=https://social.technet.microsoft.com/Forums/windows/en-US/82727f50-9e1b-4fcf-8a38-e45567938ec4/ipx-on-windows-7?forum=w7itpronetworking|title=IPX on Windows 7|date=9 June 2023}}</ref>|collapsed=yes|fix=
 +
Requires a working installation of Windows XP SP2 '''or''' files available [http://ccm.net/download/download-3890-support-ipx-for-vista here].
 +
#Create a new folder {{folder|C:\temp}}.
 +
#Copy the following files to the {{folder|C:\temp}} directory *and* to the corresponding new OS directories:
 +
Note: An "elevated" command prompt (running as administrator) is required to have proper write access to directories.
 +
<pre>
 +
Windows\System32\drivers\nwlnkipx.sys
 +
Windows\System32\drivers\nwlnkflt.sys
 +
Windows\System32\drivers\nwlnkfwd.sys
 +
Windows\System32\drivers\nwlnknb.sys
 +
Windows\System32\drivers\nwlnkspx.sys
 +
 
 +
Windows\System32\rtipxmib.dll
 +
Windows\System32\wshisn.dll
 +
Windows\System32\nwprovau.dll
 +
 
 +
Windows\inf\netnwlnk.inf  (*)
 +
Windows\inf\netnwlnk.pnf  (*)
 +
 
 +
(*) The directory "inf" is hidden
 +
</pre>
 +
3. Go to "manage network connection" (in Control Panel -> Network). Right-click the active LAN adapter connection, click "install", "protocol", "Add". Do not select the IPX that is already in the list, instead select "have disk". Navigate to {{folder|C:\temp}} and select {{file|netnwlnk.inf}}. Now select "WLink IPX/SPX/NetBIOS". A warning will be shown that it is not verifiable, but ignore it. If an error message about a missing module appears, the above files are not properly copied to the new OS directories.
 +
4. Reboot computer.
 +
{{--}} Only works on 32-bit versions of Vista and later.
 +
{{--}} Some parts of protocol do not work (e.g. properties button greyed out in setting)
 +
}}
 +
 
 +
===Missing MIDI Mapper===
 +
{{ii}} Over the last versions of Windows, Microsoft have slowly but steadily deprecated the original Microsoft MIDI Mapper of Windows.
 +
{{Fixbox|description=Use the [https://coolsoft.altervista.org/en/midimapper CoolSoft MIDIMapper]|ref=<ref>[http://coolsoft.altervista.org/en/blog/2013/03/what-happened-midi-mapper-windows-8 What happened to MIDI Mapper on Windows 8 (and later)? | CoolSoft]</ref>}}
  
While they can save time for developers, these files can cause problems for the end-user (commonly referred to as "[[Wikipedia:DLL hell|DLL Hell]]").
+
===DirectDraw is broken===
 +
{{--}} Since Windows 8.1<ref>{{Refurl|url=https://answers.microsoft.com/en-us/windows/forum/games_windows_10/directdraw-emulation-still-broken-in-windows-10/5a619148-cf1e-4813-b733-997b996b9567|title=DirectDraw emulation still broken in Windows 10|date=May 2023}}</ref>, DirectDraw emulation has been broken.
 +
{{ii}} See [[Glossary:DirectX/DirectDraw troubleshooting]].
  
 
==Issues unresolved==
 
==Issues unresolved==
 
<!-- Maybe we should have a separate page with features (relevant to gaming) added and removed across Windows versions, akin to wikipedia. Maybe a feature matrix. -->
 
<!-- Maybe we should have a separate page with features (relevant to gaming) added and removed across Windows versions, akin to wikipedia. Maybe a feature matrix. -->
===SafeDisc protection doesn't work with Windows 10===
 
Previous Windows of versions included a compatible version of {{file|secdrv.sys}} for the Macrovision safedisc [[DRM]], but Windows 10 does not, rendering games requiring SafeDisc unplayable. According to a Microsoft representative "Safedisc is not supported on Windows 10" and people will have to wait for Macrovision to come out with an updated secdrv.sys.<ref>[http://answers.microsoft.com/en-us/windows/forum/games_windows_10/age-of-mythology-windows-10/c7142024-8298-4060-aeb8-0e77d9d83af7 Microsoft Community Forums :: Age of Mythology - Windows 10]</ref>
 
 
 
===Screen recorders, overlays, injectors won't work with Windows Apps===
 
===Screen recorders, overlays, injectors won't work with Windows Apps===
 
See [[Windows Store#Issues unresolved|Windows Store]] article for this and other Windows Apps related issues.
 
See [[Windows Store#Issues unresolved|Windows Store]] article for this and other Windows Apps related issues.
 +
 +
===Hardcoded display limits in Windows 10===
 +
There are two hardcoded display limits in Windows 10:<ref>[https://blurbusters.com/microsoft-windows-8k-60hz-limit-and-512hz-limit/ Microsoft Windows 512Hz Limit And Pixel Clock Limit | Blur Busters]</ref>
 +
 +
{{ii}} Arbitrary refresh rate hard-coded limit of 500 Hz; this is a confirmed Windows limitation. The limit was later increased to 1000 Hz on Windows 11.
 +
{{ii}} Arbitrary pixel clock hard-coded limit; this may be caused by other limitation such as graphics drivers.
  
 
==Issues fixed==
 
==Issues fixed==
===Alt F4 doesn't terminate frozen applications===
+
===Alt+F4 doesn't terminate frozen applications===
 +
{{Fixbox|description=Use [https://stefansundin.github.io/superf4/ SuperF4]}}
 +
 
 +
===Set older 32-bit games to use 4 GB RAM instead of 2===
 +
{{ii}} 32-bit processes that have the LAA flag set on their executable are limited to 4 GB on a 64-bit OS, and 3 GB on a 32-bit OS.
 +
{{ii}} Increasing the memory limit is generally compatible with most games, and can make them compatible with higher and more modern resolution or third-party mods that may otherwise push them past the original 2 GB RAM limit.
 +
 
 +
{{Fixbox|description=Force IMAGE_FILE_LARGE_ADDRESS_AWARE flag in executables|fix=
 +
# Download and run the [https://www.techpowerup.com/forums/threads/large-address-aware.112556/ Large Address Aware enabler.]
 +
# Browse to the game executable.
 +
# Tick the LAA checkbox and save the changes.
 +
 
 +
'''Notes'''
 +
{{ii}} The LAA flag is set in the header of the executable, which may not be compatible with some anti-cheat or DRM protections, such as the obfuscation performed by Steam DRM. For Steam titles, the third-party Steamless tool can undo the obfuscation which allows the LAA flag to be set.
 +
}}
 +
 
 +
{{Fixbox|description=Windows Vista and later (x86 only): edit boot configuration database|ref=<ref>{{Refurl|url=https://msdn.microsoft.com/en-us/library/ff542202.aspx#_______increaseuserva________megabytes______|title=BCDEdit /set (Windows Drivers) - Microsoft Developer Network|date=May 2023}}</ref>|fix=
 +
# Open an elevated [[#Command Prompt|command prompt]]
 +
# Type <code>BCDEdit /set increaseuserva 2048</code>
 +
'''Notes'''
 +
{{ii}} Windows default setting of 2048 MB of user-mode virtual address space is used in the examples. Higher values may be attempted at risk of various system instabilities<ref>[https://web.archive.org/web/20051124134734/http://blogs.msdn.com/oldnewthing/archive/2004/08/05/208908.aspx#209332 The oft-misunderstood /3GB switch – The Old New Thing] (retrieved)</ref><ref>[https://web.archive.org/web/20040809234852/http://blogs.msdn.com/oldnewthing/archive/2004/08/06/209840.aspx Kernel address space consequences of the /3GB switch – The Old New Thing] (retrieved)</ref>
 +
}}
 +
 
 +
{{Fixbox|description=Windows XP and Server 2003 (x86 only): edit boot configuration file|ref=<ref>[https://web.archive.org/web/20150619225403/https://msdn.microsoft.com/en-us/library/windows/hardware/ff556232(v=vs.85).aspx /3GB (Windows Drivers) - Microsoft Developer Network] (retrieved)</ref>|fix=
 +
# Open [[#Command Prompt|command prompt]] under administrator privileges
 +
# Type <code>bootcfg /raw "/3GB /userva=2048" /A /ID 1</code> (where 1 is the boot entry id)
 +
}}
 +
 
 +
===Shoddy coded applications mess system-wide registry setting===
 +
{{Fixbox|description=Edit key ACL|fix=
 +
# Open [[#Registry Editor|regedit]]
 +
# Navigate to the relevant key
 +
# Right-click over it, then ''Permissions'' and ''Advanced''
 +
# Depending on the Windows version, either untick ''Permissions inheritance from parent'' or press ''Disable Inheritance''
 +
# When asked, choose to add/convert/copy previous permissions to the object
 +
# Click on Administrators group and edit its permissions
 +
# Select changes to apply ''This key only''
 +
# Last untick ''Set Value'' advanced permission
 +
'''Notes'''
 +
{{ii}} In some situations <code>reg flags "''<key>''" set DONT_VIRTUALIZE</code> may ''also'' be needed<ref>{{Refurl|url=https://web.archive.org/web/20120926224551/http://blogs.technet.com/b/richard_macdonald/archive/2007/05/18/990366.aspx|title=Windows Vista File and Registry Virtualisation – Richard's Weblog|date=9 June 2023}}</ref>{{note|note=Running with the ''RunAsInvoker'' compat layer effectively discounts any application manifest consideration here.}}
 +
}}
 +
 
 +
===Non-Unicode applications might not work properly===
 +
{{ii}} This is most commonly an issue with Japanese games and visual novels, and may prevent a game from being installed, launched, or even work properly (may have scrambled text or bugs).
 +
{{++}} Locale Emulator/Microsoft AppLocale runs the application with the correct localization without affecting the rest of the operating system.
 +
 
 +
{{Fixbox|description=Use Locale Emulator|collapsed=yes|fix=
 +
{{ii}} Developed primarily for Windows 10, although it is also compatible with both 7 and 8.1.
 +
{{--}} Supports only 32-bit executables.
 +
 
 +
'''Instructions'''
 +
# Download [https://xupefei.github.io/Locale-Emulator/ Locale Emulator] and extract the archive to where the application is to be installed.
 +
# Run {{file|LEInstaller.exe}} and select '''Install for current user'''.
 +
# After the installation have finished, use {{file|LEGUI.exe}} to set up desired localization profiles.
 +
# Finally, right-click on a 32-bit executable (or its shortcut) and select the desired profile under the '''Locale Emulator''' context menu.
 +
}}
  
{{Fixbox|description=Use [https://stefansundin.github.io/superf4/ SuperF4]}}
+
{{Fixbox|description=Use Microsoft AppLocale|collapsed=yes|fix=
 +
{{ii}} Might not work on modern versions of Windows as the tool has not been updated since 2004.
 +
 
 +
'''Instructions'''
 +
# Download Microsoft AppLocale [https://web.archive.org/web/20050115055602/http://www.microsoft.com/downloads/details.aspx?FamilyID=8c4e8e0d-45d1-4d9b-b7c0-8430c1ac89ab&displaylang=en here] and install it.
 +
#* With Windows versions after XP installation will fail. Simply put installer to XP SP3 compatibility mode to continue.
 +
# Open AppLocale follow instructions. It should automatically detect programs language.
 +
}}
 +
 
 +
{{Fixbox|description=Change non-Unicode language system-wide|collapsed=yes|ref=<ref>{{Refurl|url=https://web.archive.org/web/20160623170958/http://windows.microsoft.com/en-us/windows/change-system-locale|title=Change the system locale - Windows Help|date=May 2023}}</ref>|fix=
 +
{{ii}} Easiest way to fix the issue, but may introduce unwanted changes to other programs; especially if the display language of Windows is non-English. This includes some basic characters being incorrectly replaced, programs defaulting to set non-Unicode language and other programs suddenly not being able to launch or crash.
 +
 
 +
'''Instructions'''
 +
# Go to Control Panel, Clock, Language and Region and Regional and Language Options.
 +
# From Administrative tab change non-unicode language to the country/localization the game originated from.
 +
# Restart computer for changes to take effect.
 +
}}
 +
 
 +
===Lowered volume when using background Metro/UWP apps===
 +
{{Fixbox|description=Instructions|ref={{cn|date=July 2016}}|fix=
 +
# Push {{key|Win|R}}, type <code>mmsys.cpl</code>, then select '''OK'''.
 +
# Open the '''Communications''' tab, then select '''Do nothing''' and save.
 +
}}
 +
 
 +
===SafeDisc protected games do not work with Windows 10===
 +
* See [[Digital_rights_management_(DRM)#SafeDisc]].
 +
 
 +
===Microstuttering in multiplayer games===
 +
{{ii}} The Multimedia Class Scheduler Service has built-in network throttling which can greatly degrade performance of online games.
 +
 
 +
{{Fixbox|description=Edit the registry|ref=<ref>{{Refurl|url=http://www.sevenforums.com/gaming/31980-lag-online-games-windows-7-a.html|title="lag" in online games with Windows 7 - Windows 7 Help Forums|date=May 2023}}</ref><ref>[http://forum.sudden-strike-alliance.fr/all-problem-with-lag-on-windows-7-and-10-t2807.html [ALL<nowiki>]</nowiki> Problem with lag on Windows 7 and 10 - Forums de l'Alliance Francophone Sudden Strike]</ref>|fix=
 +
#Go to {{Registry|{{p|hklm}}\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile}}
 +
#There will be an entry for network performance throttling, default value is {{code|10}} or {{code|a}}; set it to {{code|FFFFFFFF}} (will look like {{code|0xFFFFFFFF}} to the right of the entry). '''Windows Vista and 7 users can stop here'''.
 +
#There will be an entry for system responsiveness, default value is {{code|20}}; set it to {{code|00000000}} for pure gaming/streaming.
 +
#Go down the registry tree further to {{Registry|{{p|hklm}}\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games}}.
 +
#There will be an entry for priority and GPU priority; set GPU to 8 and priority to 6.
 +
#Reboot
 +
}}
 +
 
 +
===Wi-Fi background scan causes latency===
 +
{{ii}} Wi-Fi adapters periodically perform background scans to discover additional networks. Unfortunately this induces latency, see [https://web.archive.org/web/20160801055350/https://blog.mojonetworks.com/background-scanning-is-dead here] for more info.
 +
 
 +
{{Fixbox|description=Universal solution for all Wi-Fi adapters|ref=<ref>{{Refurl|url=https://answers.microsoft.com/en-us/windows/forum/windows_10-networking/is-there-any-way-to-stop-windows-10-from-scanning/3870b3d1-0f07-4875-8779-bb5c11fce0a8|title=Is there any way to stop Windows 10 from scanning for Wi-Fi networks in - Microsoft Community|date=May 2023}}</ref>|collapsed=yes|fix=
 +
Use [http://www.martin-majowski.de/ WLAN Optimizer].
 +
}}
 +
 
 +
{{Fixbox|description=Atheros adapters|ref=<ref name="scan">[https://superuser.com/questions/881880/turn-off-wi-fi-scanning-on-windows-8 Turn off Wi-Fi scanning on Windows 8 - Super User]</ref>|collapsed=yes|fix=
 +
#Go to the Control Panel.
 +
#Choose Networks and Sharing → Change Adapter Settings (in the left column).
 +
#Right-click on the Wi-Fi adapter icon and select Properties.
 +
#Click Configure (under "Connect Using").
 +
#Go to the Advanced tab.
 +
#Set Background Scan to Disabled.
 +
#Set Foreground Scan to Disabled.
 +
}}
 +
 
 +
{{Fixbox|description=Intel adapters|collapsed=yes|ref=<ref name="scan" />|fix=
 +
#Type {{code|ncpa.cpl}} into the Windows search box (or type it in the start menu).
 +
#This pops up the Network Connections control panel (a laptop/desktop user will probably see Ethernet and Wi-Fi adapters in there).
 +
#Right-click on the Wi-Fi adapter icon and select Properties.
 +
#Click the Configure button on the driver property page.
 +
#On the Advanced tab, scroll down the Property list and set Roaming Aggressiveness to Lowest.
 +
#Click OK to all the settings pages.
 +
}}
 +
 
 +
===Crashes in some games===
 +
{{Fixbox|description=Change Data Execution Prevention setting|ref=<ref>{{Refurl|url=https://raymanpc.com/forum/viewtopic.php?f=13&t=27571|title=Fix for Rayman 2 crash on Woods of Light and other levels - make DEP exception or restore def. settings - Rayman Pirate-Community|date=9 June 2023}}</ref>|fix=
 +
Add a DEP Exception for the game executable. A reboot may be needed afterwards.
 +
{{ii}} The problem of crashes occurs mostly in cases when DEP is enabled for all applications, except included on the list.
 +
}}
 +
{{Fixbox|description=Set the NXCOMPAT:NO flag for the game executable|ref=<ref>[https://web.archive.org/web/20090306215840/http://blogs.msdn.com/gauravb/archive/2008/09/23/disable-dep-on-applications.aspx Gaurav Bodar's Blog : Disable DEP on applications] (retrieved)</ref>|fix=
 +
}}
 +
 
 +
===Stuttering in games on Windows 10 v1709 and later===
 +
{{ii}} Some games might experience stutters once all memory has been allocated. This might be solved by freeing some up by clearing the standby memory.<ref>{{Refurl|url=https://old.reddit.com/r/Windows10/comments/7a0763/standby_memory_issue_causing_stutters_on_creators/|title=Standby memory issue causing stutters on creators : Windows10 - Reddit|date=May 2023}}</ref>
 +
 
 +
{{Fixbox|description=Use [https://www.wagnardsoft.com/ISLCw Intelligent Standby List Cleaner] to monitor and clear the standby memory.|ref=}}
  
===Older Games Missing .dll File on Windows Vista and later===
+
==Issues fixed (missing files, codecs or APIs)==
 +
===Older games missing .dll file on Windows Vista and later===
 
{{ii}} Some .dll files have different names on Windows Vista and later.
 
{{ii}} Some .dll files have different names on Windows Vista and later.
 +
{{ii}} See also ''[[Troubleshooting guide/Startup and launching problems#DLL is missing from your computer|DLL is missing from your computer]]'' in PCGW's launch problem guide.
 
{{Fixbox|description=Copy DLL to folder|fix=
 
{{Fixbox|description=Copy DLL to folder|fix=
 
# Make a note of the name of the missing .dll.
 
# Make a note of the name of the missing .dll.
# Go to <code>{{p|windir}}\SysWOW64</code> (or <code>{{p|windir}}\System32</code> if you are running a 32-bit version of Windows).
+
# Go to {{folder|{{p|windir}}\SysWOW64}} (or {{folder|{{p|windir}}\System32}} if running a 32-bit version of Windows).
# Find the .dll that has the same name as the missing .dll but with an additional x in the name (e.g. if the game can't find <code>dplay.dll</code>, look for <code>dplayx.dll</code>).
+
# Find the .dll that has the same name as the missing .dll but with an additional {{code|x}} in the name (e.g. if the game can not find {{file|dplay.dll}}, look for {{file|dplayx.dll}}).
 
# Copy that .dll into the game's installation folder (do '''not''' move it).
 
# Copy that .dll into the game's installation folder (do '''not''' move it).
# Rename the copy to the name of the .dll that was missing (so <code>dplayx.dll</code> becomes <code>dplay.dll</code>, etc.)
+
# Rename the copy to the name of the .dll that was missing (so {{file|dplayx.dll}} becomes {{file|dplay.dll}}, etc.)
 
# The game should now see the .dll and play normally.
 
# The game should now see the .dll and play normally.
 
}}
 
}}
Line 100: Line 389:
 
===Older games refuse to start on Windows 8 and later===
 
===Older games refuse to start on Windows 8 and later===
 
{{Fixbox|description=Install DirectPlay|fix=
 
{{Fixbox|description=Install DirectPlay|fix=
# Open the Start screen, type <code>OptionalFeatures.exe</code> and press {{key|Enter}}.
+
# Open the Start screen, type {{file|OptionalFeatures.exe}} and press {{key|Enter}}.
# Expand Legacy Components.
+
# Expand '''Legacy Components'''.
# Ensure DirectPlay is checked.
+
# Ensure [[DirectPlay]] is checked.
# Click OK to save your changes.
+
# Click '''OK''' to save the changes.
''Note: Normally Windows 8+ automatically detects if an application needs DirectPlay or other legacy components when it launches and prompts the user to install DirectPlay, but this requires a certain combination of services to be active such as the Diagnostic Policy Service which are sometimes disabled by the user.''
+
'''Notes'''
 +
{{ii}} Normally, Windows 8 and newer automatically detect if an application needs DirectPlay or other legacy components when it launches and prompts the user to install DirectPlay, but this requires a certain combination of services to be active, such as the Diagnostic Policy Service, which are sometimes disabled by the user.
 +
}}
 +
 
 +
===Games cannot connect to servers on Windows XP / Vista===
 +
{{Fixbox|description=Install [https://www.emailarchitect.net/eagetmail/sdk/html/object_tls12.htm KB4019276] and updated [https://msfn.org/board/topic/175170-root-certificates-and-revoked-certificates-for-windows-xp/ root certificates]|ref=<ref>{{Refurl|url=https://forums.homecomingservers.com/topic/28434-windows-xp-users-step-by-step-guide-to-get-tequila-to-work-again/|title=Windows XP Users: step-by-step guide to get Tequila to work again. - Homecoming Forums|date=May 2023}}</ref>|fix=
 +
}}
 +
 
 +
===Game files missing after upgrading or refreshing Windows===
 +
{{ii}} Upgrading or refreshing the Windows installation will move some files and folders to a {{folder|Windows.old}} folder on the system drive.
 +
{{ii}} Note that this folder is automatically deleted 30 days after the upgrade/refresh.
 +
 
 +
{{Fixbox|description=Retrieve files from windows.old|ref=<ref>{{Refurl|url=http://windows.microsoft.com/en-us/windows-8/restore-files-upgrade-windows-old|title=Retrieve files from the Windows.old folder - Microsoft Windows Help|date=May 2023}}</ref>|fix=
 +
# Open the Start screen/Start menu, type <code>Computer</code> and press {{key|Enter}}.
 +
# Go into the system drive (usually {{folder|C:}}).
 +
# Go into the {{folder|Windows.old}} folder.
 +
# Go to the equivalent location for the respective files and move them to their intended location.
 +
}}
 +
 
 +
===Missing/conflicting codecs===
 +
{{Fixbox|description=Reset DirectShow filters to solve any {{W|DirectShow#Codec_hell|conflicts}} that may exist|collapsed=yes|fix=
 +
# Download and open [http://www.softpedia.com/get/Multimedia/Video/Codec-Packs-Video-Codecs/DirectShow-Filter-Manager.shtml DirectShow Filter Manager]
 +
# Go to the Troubleshooting tab
 +
# Select ''Restore standard DirectX codecs''
 +
'''Notes'''
 +
{{ii}} Single filters can be adjusted with [http://codecguide.com/download_other.htm#codectweaktool Codec Tweak Tool]
 +
}}
 +
 
 +
{{Fixbox|description=Install the Windows Media Source Filter automatically|collapsed=yes|ref=<ref name=monopoly>[https://mcdebugrndmstuff.blogspot.com/2018/10/monopoly-tycoon-directsound-music-fix.html Monopoly Tycoon Music Fix | mrpenguinb's blog]</ref>|fix=
 +
# Download the [https://community.pcgamingwiki.com/files/file/1199-windows-media-source-filter-windows-vista-fix/ Windows Media Source Filter Installer v1.7]
 +
# Extract the contents from the {{file|.zip}} file into a folder.
 +
# Right-click the {{file|ApplyPatch.bat}} in the folder and click "Run as Administrator".
 +
{{ii}} Antivirus software might stop the file from executing - if so, manually allow it or add the file to the antivirus program's exception list.
 +
{{ii}} The game may also require the [https://community.pcgamingwiki.com/files/file/1211-divx-311-audio-codec/ DivX 3.11 audio codec]. If so, download and extract the zip file and run {{file|DivX_Register.exe}} as administrator.
 +
}}
 +
 
 +
{{Fixbox|description=Install the Windows Media Source Filter manually|collapsed=yes|ref=<ref name=monopoly/>|fix=
 +
# Download the [https://community.pcgamingwiki.com/files/file/1199-windows-media-source-filter-windows-vista-fix/ Windows Media Source Filter Installer v1.7]
 +
# Extract the contents from the {{file|.zip}} file into a folder
 +
# Make a new directory in {{folder|{{p|windir}}\SysWOW64}} called {{folder|Windows-Media-Source-Filter}}.
 +
# Copy {{file|drmclien.dll}}, {{file|strmdll.dll}} and {{file|dxmasf.dll}} from the {{file|.zip}} file to the {{folder|Windows-Media-Source-Filter}} folder.
 +
# Open the DirectShow Filter Manager and register the {{file|dxmasf.dll}} in the {{folder|Windows-Media-Source-Filter}} folder.
 +
{{ii}} The game may also require the [https://community.pcgamingwiki.com/files/file/1211-divx-311-audio-codec/ DivX 3.11 audio codec]. If so, download and extract the zip file and run {{file|DivX_Register.exe}} as administrator.
 +
}}
 +
 
 +
{{Fixbox|description=Install the Indeo codec (Windows Vista and later)|collapsed=yes|ref=<ref name="Indeo Install">[https://www.rockraidersunited.com/topic/8566-stunt-rally-runtime-errorabnormal-termination-win10/?do=findComment&comment=139281 RockRaidersUnited - Stunt Rally Runtime Error/abnormal termination Win10]</ref><ref>{{Refurl|url=http://forum.videohelp.com/threads/266794-Indeo-5-x-problem-with-Vista?p=1660521&viewfull=1#post1660521|title=Indeo 5.x problem with Vista|date=9 June 2023}}</ref>|fix=
 +
# Start [[Command Prompt]] as an Administrator.
 +
# Run the command <code>regsvr32 "{{p|windir}}\SysWOW64\ir50_32.dll"</code>. If using a 32-bit version of Windows, replace <code>SysWOW64</code> with <code>System32</code>.
 +
# Click OK on the message box that comes up.
 +
 
 +
'''Notes'''
 +
{{ii}} There appear to be certain security issues with the codec.<ref name="Indeo Security">[https://support.microsoft.com/en-us/help/954157/microsoft-security-advisory-vulnerabilities-in-the-indeo-codec-could-a Microsoft Security Advisory: Vulnerabilities in the Indeo codec could allow remote code execution: December 8, 2009]</ref> Unregister the codec when done with the game by using the command <code>regsvr32 /u "{{p|windir}}\SysWOW64\ir50_32.dll"</code>. Ignore the runtime error that may come up.
 +
}}
 +
 
 +
{{Fixbox|description=Install the Indeo codec (Windows XP and below)|collapsed=yes|ref=<ref name="Indeo Install" />|fix=
 +
# [https://www.free-codecs.com/indeo_codec_download.htm Download the Ligos Indeo 5 codec installer]
 +
# Install the Ligos Indeo 5 from step 1 using the "typical" installation option
 +
'''Notes'''
 +
{{ii}} There appears to be certain security issues with the codec.<ref name="Indeo Security" /> Unregister the codec when done with the game by using the command <code>regsvr32 /u "{{p|windir}}\System32\ir50_32.dll"</code>. Ignore the runtime error that may come up. To re-register, see the Vista and later instructions.
 
}}
 
}}
  
 +
{{Fixbox|description=Install QuickTime for Windows|collapsed=yes|ref=<ref>{{Refurl|url=https://www.codecguide.com/quicktime_installation.htm|title=QuickTime Installation Guide - K-Lite Codec Pack|date=May 2023}}</ref>|fix=
 +
#Download [https://support.apple.com/kb/dl837 QuickTime 7.79.80.95] (Vista or later) from Apple's site.
 +
#Run the installer, but select '''Custom''' after accepting the license agreement.
 +
#Make sure only '''QuickTime Essentials''' is checkmarked (certain programs may also require '''QuickTime Player''' also checked).
 +
#For the Destination Folder page, uncheck make desktop shortcuts and automatic updates.
 +
#Upon completing the install, open control panel and type "quicktime" in the search box to get QuickTime settings. To make this easier to access, right-click, Create shortcut, rename to Configuration and copy it to {{folder|C:\ProgramData\Microsoft\Windows\Start Menu\Programs\QuickTime}} (this folder might be hidden) for it to appear in the start menu under QuickTime.
 +
#In the '''Update''' tab uncheck '''Check for updates automatically''' and in the '''Advanced''' tab uncheck '''Install QuickTime icon in system tray'''.
 +
{{ii}} This installer also installs Apple Software Update, which can be uninstalled in "add or remove programs", as QuickTime for Windows no longer receives updates. Also note that if using other Apple software, such as iTunes for Windows, this QuickTime installer may replace Apple Software Update with an outdated version, forcing Apple Software Update to update itself.
 +
{{ii}} Install [https://www.free-codecs.com/qt_lite_download.htm QT Lite] (based on QuickTime 7.6) for Windows XP or below.
 +
}}
 +
 +
{{Fixbox|description=Install [http://ffdshow-tryout.sourceforge.net/ ffdshow]|collapsed=yes|ref=<ref>{{Refurl|url=https://www.tombraiderforums.com/showthread.php?t=190254&page=65#post7309217|title=Tomb Raider 6 Modding Thread - www.tombraiderforums.com|date=9 June 2023}}</ref>|fix=
 +
{{ii}} Choose the release with the number of bits the troublesome application is compiled for, regardless of the actual OS instruction set.
 +
}}
 +
 +
==Issues fixed (CPU bottlenecks)==
 
===Force CPU affinity===
 
===Force CPU affinity===
 
{{ii}} Prevents processes from using other CPU cores than the ones allowed, which can work around threading synchronization issues that might exist.
 
{{ii}} Prevents processes from using other CPU cores than the ones allowed, which can work around threading synchronization issues that might exist.
 +
{{mm}} '''This can have a detrimental effect on performance''' as the game is unaware that it is restricted to a limited number of CPU cores.<br> Since the game is still aware of the real number of CPU cores on the system, it may create more worker threads than the CPU cores it is limited to can process simultaneously, harming performance.
  
{{Fixbox|description=Provisional solution: Task manager|fix=
+
{{Fixbox|description=Provisional solution: Task manager|collapsed=yes|fix=
 
# Open Windows [[#Task Manager|Task Manager]].
 
# Open Windows [[#Task Manager|Task Manager]].
 
# Find process for the application by {{Key|Right-click}} on its task and press '''Go to process/details'''.
 
# Find process for the application by {{Key|Right-click}} on its task and press '''Go to process/details'''.
 
# {{Key|Right-click}} on the process and select '''Set affinity'''.
 
# {{Key|Right-click}} on the process and select '''Set affinity'''.
# Deselect all other CPU cores than the ones the process should be allowed to run on. If you want to prevent the process from using Intel's Hyper-Threading (HT) or AMD's Simultaneous Multi-Threading (SMT) CPU cores then deselect all odd CPU cores (so 1, 3, 5, 7, etc).
+
# Deselect all other CPU cores than the ones the process should be allowed to run on. To prevent the process from using Intel's Hyper-Threading (HT) or AMD's Simultaneous Multi-Threading (SMT) CPU cores, deselect all odd-numbered CPU cores (1, 3, 5, 7, etc).
 
# Click '''OK''' to apply the change. It will take effect immediately.
 
# Click '''OK''' to apply the change. It will take effect immediately.
  
Line 120: Line 484:
 
{{ii}} Task Manager does not store the tweak permanently. It needs to be reapplied each time the process launches.
 
{{ii}} Task Manager does not store the tweak permanently. It needs to be reapplied each time the process launches.
 
}}
 
}}
 
+
{{Fixbox|description=Permanent solution: customized shortcut|collapsed=yes|fix=
{{Fixbox|description=Permanent solution: customized shortcut|fix=
+
# Right-click on the desktop.
# Right click on your desktop
+
# Make a new shortcut to {{file|{{p|windir}}\System32\cmd.exe}}.
# Make a new shortcut to <code>{{p|windir}}\System32\cmd.exe</code>
+
# Open its properties and add the following to the "Target" field:
# Open its properties and add the following to the "Target" field
 
  
 
:::<code> /C start "" /D "{{p|game}}\" /AFFINITY 1 "{{p|game}}\game.exe"</code>
 
:::<code> /C start "" /D "{{p|game}}\" /AFFINITY 1 "{{p|game}}\game.exe"</code>
 
'''Notes'''
 
'''Notes'''
 
{{ii}} Shortcut name and icon can be customized to match game's ones.  
 
{{ii}} Shortcut name and icon can be customized to match game's ones.  
{{ii}} Additional parameters can be normally added at the end of the target field
+
{{ii}} Additional parameters can be normally added at the end of the target field.
{{ii}} Affinity value must be in hex. To assign more than a core check this [http://blogs.msdn.com/b/santhoshonline/archive/2011/11/24/how-to-launch-a-process-with-cpu-affinity-set.aspx table]
+
{{ii}} Affinity value must be in hex. To assign more than a core check this [https://docs.microsoft.com/fr-fr/archive/blogs/santhoshonline/how-to-launch-a-process-with-cpu-affinity-set table].
 
}}
 
}}
  
{{Fixbox|description=Permanent solution: flag game executable|fix=
+
{{Fixbox|description=Permanent solution: Batch file|collapsed=yes|fix=
# Download [http://www2.robpol86.com/guides/ImageCFG/ ImageCFG]
+
# Run Notepad.
# Place it in the same folder of the game exe
+
# Type the following command:
# Open there a command prompt and run
+
:::<code>start /affinity 1 game.exe</code>
 +
<ol start="3">
 +
<li>Save as BAT file (e.g. "example.bat") where the game executable is located.</li>
 +
<li>Run the game directly from the BAT file.</li>
 +
</ol>
 +
'''Notes'''
 +
{{ii}} It is also possible to make a shortcut to the BAT file and save it wherever you want.
 +
{{ii}} Affinity value must be in hex. For further details, check out this [https://docs.microsoft.com/fr-fr/archive/blogs/santhoshonline/how-to-launch-a-process-with-cpu-affinity-set table].
 +
{{ii}} If running the game as administrator, the same must be done for the task manager.
 +
}}
 +
 
 +
{{Fixbox|description=Permanent solution: flag game executable|collapsed=yes|fix=
 +
# Download [https://robpol86.com/imagecfg.html ImageCFG].
 +
# Place it in the same folder of the game executable.
 +
# Open a command prompt, point it to the appropriate directory and run:
 
:::<code>imagecfg -a 0x1 game.exe</code>
 
:::<code>imagecfg -a 0x1 game.exe</code>
 
'''Notes'''
 
'''Notes'''
{{ii}} Executable won't be backed up, so if you'll have to do so yourself if you wish to revert it.
+
{{ii}} The executable will not be backed up, so it has to be done manually.
{{ii}} Affinity value is in hex. If you want to assign more than a core, check [http://www.experts-exchange.com/Hardware/Components/Q_24449496.html#a24506486 here]
+
{{ii}} Affinity value is in hex. Configuration examples are available on the download site mentioned above and also [http://www.experts-exchange.com/Hardware/Components/Q_24449496.html#a24506486 here].
 +
{{ii}} Modifies executable file, not compatible with some forms of Anti-Cheat and DRM.
 
}}
 
}}
  
{{Fixbox|description=Use PsExec|fix=
+
{{Fixbox|description=Use PsExec|collapsed=yes|fix=
# Download [https://technet.microsoft.com/en-us/sysinternals/bb897553.aspx Sysinternals's PsTools]
+
# Download [https://technet.microsoft.com/en-us/sysinternals/bb897553.aspx Sysinternals's PsTools].
# Extract PsExec in the game executable folder
+
# Extract PsExec in the game executable folder.
# Run the game through the following command (command line and/or a batch file can be used)
+
# Run the game through the following command (command line and/or a batch file can be used):
 
:::<code>psexec -a 0 game.exe</code>
 
:::<code>psexec -a 0 game.exe</code>
 
'''Notes'''
 
'''Notes'''
{{ii}} Additional cores can be specified with a comma after the previous ones
+
{{ii}} Additional cores can be specified with a comma after the previous ones.
 
}}
 
}}
  
{{Fixbox|description=Use RunFirst|fix=
+
{{Fixbox|description=Use RunFirst|collapsed=yes|fix=
# Download [http://www.activeplus.com/Products/RunFirst RunFirst]
+
# Download [http://www.activeplus.com/Products/RunFirst RunFirst].
# Create a shortcut to <code>RunFirst.exe</code> with the path to game executable as a parameter
+
# Create a shortcut to {{file|RunFirst.exe}} with the path to game executable as a parameter.
 
'''Notes'''
 
'''Notes'''
{{ii}} This won't work if game requires to be launched through an external client
+
{{ii}} This will not work if game requires to be launched through an external client.
 
}}
 
}}
  
===4-Gigabyte Tuning===
+
{{Fixbox|description=Windows NT, 2000 & XP only: use StartAffinity|collapsed=yes|fix=
{{Fixbox|description=Windows XP and Server 2003 (x86 only): edit boot configuration file|ref=<ref>[https://msdn.microsoft.com/en-us/library/windows/hardware/ff556232%28v=vs.85%29.aspx /3GB (Windows Drivers) - Microsoft Developer Network]</ref>|fix=
+
# Download [http://www.adsciengineering.com/StartAffinity/ StartAffinity].
# Open [[#Command Prompt|command prompt]] under administrator privileges
+
# Unzip {{file|StartAffinity.exe}} to the '''WinNT''' or '''system32''' directory.
# Type <code>bootcfg /raw "/3GB /userva=2048" /A /ID 1</code> (where 1 is the boot entry id)
+
# Run the game through the following commands (command line and/or a batch file can be used):
}}
+
:::<code>cd {{p|game}}</code>
{{Fixbox|description=Windows Vista and later (x86 only): edit boot configuration database|ref=<ref>[https://msdn.microsoft.com/en-us/library/ff542202.aspx#_______increaseuserva________megabytes______ BCDEdit /set (Windows Drivers) - Microsoft Developer Network]</ref>|fix=
+
:::<code>StartAffinity game.exe 0</code>  
# Open an elevated [[#Command Prompt|command prompt]]
 
# Type <code>BCDEdit /set increaseuserva 2048</code>
 
 
'''Notes'''
 
'''Notes'''
{{ii}} Windows default setting of 2048MB of user-mode virtual address space is used in the examples. Higher values may be attempted at risk of various system instabilities<ref>[https://blogs.msdn.microsoft.com/oldnewthing/20040805-00/?p=38233#comment-201583 The oft-misunderstood /3GB switch – The Old New Thing]</ref><ref>[https://blogs.msdn.microsoft.com/oldnewthing/20040806-00/?p=38223 Kernel address space consequences of the /3GB switch – The Old New Thing]</ref>
+
{{ii}} Additional cores can be specified with a space after the previous ones.
 
}}
 
}}
  
{{Fixbox|description=Force IMAGE_FILE_LARGE_ADDRESS_AWARE flag in executables|fix=
+
===Core parking causes problems with games===
# Download [http://www.techpowerup.com/forums/threads/large-address-aware.112556/ Large Address Aware enabler]
+
{{Fixbox|description=Quick registry hack|ref=<ref>[http://forum.cakewalk.com/Windows-7-amp-Core-Parking-a-better-way-to-Turn-It-OFF-m1861804.aspx Windows 7 & Core Parking .... a *better* way to Turn It OFF .... | Cakewalk Forums]</ref>|fix=
# Open it and select game executable
+
#Open the Registry Editor and find key {{Registry|0cc5b647-c1df-4637-891a-dec35c318583}}.
# Tick LAA checkbox and save changes
+
#Set the key {{code|ValueMax}} from {{code|64}} to {{code|0}}.
'''Notes'''
 
{{ii}} Should there be any issue, revert modification and try [http://www.ntcore.com/4gb_patch.php 4GB Patch]
 
 
}}
 
}}
  
===Shoddy coded applications mess system-wide registry setting===
+
{{Fixbox|description=Quick registry hack (extended, adjustable in power settings)|ref=<ref>[https://www.overclock.net/forum/297-general-processor-discussions/1544554-core-parking-windows-disable-more-performance.html Core Parking in Windows (Disable for more performance) | Overclock.net]</ref>|fix=
{{Fixbox|description=Edit key ACL|fix=
+
#Open the Registry Editor and find key {{Registry|0cc5b647-c1df-4637-891a-dec35c318583}}.
# Open [[#Registry Editor|regedit]]
+
#Add a new key {{code|Attributes}} with type {{code|DWORD}} and value {{code|00000000}} or save the following as a {{file|.reg}} file and run it to add entries:
# Navigate to the relevant key
+
<pre>
# Right-click over it, then ''Permissions'' and ''Advanced''
+
Windows Registry Editor Version 5.00
# Depending on your Windows version either untick ''Permissions inheritance from parent'' or press ''Disable Inheritance''
+
 
# When asked, choose to add/convert/copy previous permissions to the object
+
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\0cc5b647-c1df-4637-891a-dec35c318583]
# Click on Administrators group and edit its permissions
+
"Attributes"=dword:00000000
# Select changes to apply ''This key only''
+
</pre>
# Last untick ''Set Value'' advanced permission
+
Now adjustable in Start -> Control Panel -> Power Options -> 'Change Plan settings' -> 'Change advanced power settings' -> Processor Power Management -> Processor performance core parking min cores; 100% means all are used.
'''Notes'''
 
{{ii}} In the event of 32-bit offending program not expected to run with administrator privileges on Vista or newer Windows <code>reg flags "''<key>''" set DONT_VIRTUALIZE /reg:32</code> can be used instead<ref>[https://blogs.technet.microsoft.com/richard_macdonald/2007/05/18/windows-vista-file-and-registry-virtualisation/ Windows Vista File and Registry Virtualisation – Richard's Weblog]</ref>
 
 
}}
 
}}
  
===Codec hell===
+
===Limiting CPU usage per process===
{{Fixbox|description=Reset DirectShow filters|fix=
+
{{ii}} Can fix freezes due to insufficient threads or CPU in some games on dual-core CPU, such as [[The Witcher 3]], [[Steel Panthers: World at War]], and [[Kingdom Come: Deliverance]].
# Download and open [http://www.softella.com/dsfm/index.en.htm DirectShow Filter Manager]
+
 
# Go to the Troubleshooting tab
+
{{Fixbox|description=Download [https://mion.yosei.fi/BES/ Battle Encoder Shirase]|ref=<ref>{{Refurl|url=https://steamcommunity.com/app/271260/discussions/1/1733213724896236461/?ctp=2#c1638675549025826379|title=4-5 second complete freezes - Comment #24|date=9 June 2023}}</ref>|fix=
# Select ''Restore standard DirectX codecs''
+
# Run the application as administrator
'''Notes'''
+
# Target the game process after launching the game, and set the CPU to the desired percentage.
{{ii}} Single filters can be adjusted with [http://codecguide.com/download_other.htm#codectweaktool Codec Tweak Tool]
 
 
}}
 
}}
  
===Missing codecs===
+
{{Fixbox|description=Download [https://bitsum.com/ Process Lasso]|ref=<ref>{{Refurl|url=https://steamcommunity.com/app/271260/discussions/1/1733213724896236461/|title=4-5 second complete freezes|date=May 2023}}</ref>|fix=
{{Fixbox|description=Install [http://ffdshow-tryout.sourceforge.net/ ffdshow]|ref=<ref>[http://www.tombraiderforums.com/showthread.php?t=190254&page=65#post7309217 Tomb Raider 6 Modding Thread - www.tombraiderforums.com]</ref>|fix=
+
Set priority class of the game process to high
{{ii}} Choose the release with the number of bits your troublesome application is compiled for, regardless of the actual OS instruction set
+
{{ii}} Might work in cases when '''Battle Encoder Shirase''' did not.<ref>{{Refurl|url=https://steamcommunity.com/app/271260/discussions/1/1733213724896236461/#c1733213724897130747|title=4-5 second complete freezes - Comment #14|date=9 June 2023}}</ref>
 +
{{ii}} Try [https://systemexplorer.net/ System Explorer] to bypass the startup message.<ref>{{Refurl|url=https://www.raymond.cc/blog/permanently-set-process-priority-in-windows-task-manager-with-prio/|title=Process Priority Saver for Windows: 6 Best Toos We Tested - HAL900 - raymond.cc|date=2023-02-18}}</ref>
 
}}
 
}}
{{Fixbox|description=QuickTime for Windows is no more|ref={{CN|date=February 2018}}|fix=
+
 
{{ii}} Install [http://www.free-codecs.com/qt_lite_download.htm QT Lite] for apps that use Apple's codecs.
+
==Other information==
 +
===Speed up loading of web pages in Windows===
 +
{{ii}} This affects all applications that relies on the internal subsystem of Windows to resolve proxy configurations, such as Google Chrome, Steam, and more.
 +
 
 +
Windows ships with the '''Automatically detect settings''' feature enabled by default for compatibility reasons to allows automatic configuration of internet connectivity in networks that supports it by using the '''DNS''' or '''DHCP''' services of said network. This option is not normally relevant for home or small network users as support for this type of automatic configuration is usually only found within corporate or academic networks that relies on some form of proxy to allow users to browse the web. The feature has in some instances been found to add noticeable delays when loading content from the Internet, and users might therefor want to disable it for troubleshooting purposes or permanently if they are connected to a network that does not rely upon it.
 +
 
 +
{{Fixbox|description=Disable ''Automatically detect settings'' in Internet Options|collapsed=yes|ref=<ref>{{Refurl|url=https://old.reddit.com/r/gaming/comments/zo66b/by_request_psa_drastically_speed_up_steams_web/|title=Reddit Gaming Subreddit - Make Big Picture Quicker|date=May 2023}}</ref>|fix=
 +
# Open the '''Start''' menu and type '''Internet Options'''.
 +
# Open the '''Connections''' tab, click the '''LAN Settings''' button.
 +
# Uncheck the '''Automatically detect settings''' checkbox.
 +
 
 +
'''Notes'''
 +
{{ii}} Re-enable the setting if Internet access is lost entirely within 48 hours.
 
}}
 
}}
  
===Game files missing after upgrading or refreshing Windows===
+
===Changing default timer resolution===
{{ii}} Upgrading or refreshing your Windows installation will move some files and folders to a <code>Windows.old</code> folder on the system drive.
+
{{ii}} This only concerns systems where the CPU is the limiting factor, and not the GPU, and can in some cases have a detrimental effect on performance.<ref>{{Refurl|url=https://docs.microsoft.com/en-us/windows/desktop/api/timeapi/nf-timeapi-timebeginperiod#remarks|title=Microsoft Docs - timeBeginPeriod function|date=2019-05-31}}</ref><ref>{{Refurl|url=https://randomascii.wordpress.com/2013/07/08/windows-timer-resolution-megawatts-wasted/|title=Random ASCII - Windows Timer Resolution: Megawatts Wasted|date=2019-05-31}}</ref>
 +
{{mm}} Timer resolution can not be set system-wide as of Windows 10 v2004 as requests are intended to be per-process only.<ref>{{Refurl|url=https://randomascii.wordpress.com/2020/10/04/windows-timer-resolution-the-great-rule-change/|title=Random ASCII - Windows Timer Resolution: The Great Rule Change|date=2021-10-21}}</ref> Windows 11 users can restore the original behavior, see one of the fixboxes below.
  
{{Fixbox|description=Retrieve files from windows.old|ref=<ref>[http://windows.microsoft.com/en-us/windows-8/restore-files-upgrade-windows-old Retrieve files from the Windows.old folder - Microsoft Windows Help]</ref>|fix=
+
{{Fixbox|description=Windows 10 v2004 or newer: Use [[Special K]] or the frame limiter of [https://www.guru3d.com/files-details/rtss-rivatuner-statistics-server-download.html RTSS] to increases per-process timer resolution|ref=<ref>{{Refcheck|user=Aemony|date=2023-01-02|comment=Forgot the defaults, but I think RTSS automatically sets 1ms per-process, while SK sets 0.5ms per-process?}}</ref>|fix=
# Open the Start screen/Start menu, type <code>Computer</code> and press {{key|Enter}}.
 
# Go into the system drive (usually C:).
 
# Go into the <code>Windows.old</code> folder.
 
# Go to the equivalent location for the files you are looking for and move them to their normal location.
 
 
}}
 
}}
  
===Non-unicode applications===
+
{{Fixbox|description=Windows 10 v1909 or earlier: Use [https://vvvv.org/contribution/windows-system-timer-tool TimerTool] to set the resolution to the maximum (0.500ms)|fix=
{{ii}} This is most commonly issue with Japanese games and visual novels. Games may work directly, but usually there may be scrambled text, bugs, game won't start or refuses to even install.  
+
{{ii}} Windows 10 changes timer resolution every several dozen of seconds, so keep TimerTool enabled in the background.
{{ii}} Easiest way to fix issues is to set Windows non-unicode language to language game origins from, but in some scenarios it may introduce unwanted changes in other programs, especially if OS language is other than English. This includes some basic characters being incorrectly replaced, programs defaulting to set non-unicode language and other programs suddenly not being able to launch or crash.  
+
{{ii}} On Windows 8 and CPU-limited systems, changing the timer resolution from 10ms to 0.500ms can result in upwards of 30% more FPS in Crysis 3.<ref>[https://www.youtube.com/watch?v=_hcuYiqib9I&t=365 Crysis 3 - 30% Framerate and Performance Boost, and FPS Cap Removal [120Hz.Net - HyperMatrix<nowiki>]</nowiki> - YouTube]</ref>{{cn|May 2023|reason=YouTube videos are not a proper source.}}
{{++}} AppLocale runs the application with same effect without effecting system.
+
{{mm}} Other applications might already be requesting a higher resolution, such as the Steam client<ref name="Aemony20190531">{{Refcheck|user=Aemony|date=2019-05-31}}</ref> and Discord,<ref name="Aemony20190531" /> making this tool unnecessary.{{note|note=Users can run <code>powercfg /energy</code> in an elevated command line prompt to generate a power efficiency diagnostics report in Windows which will gather data for a minute. After a minute have passed, check the report in <code>C:\WINDOWS\system32\energy-report.html</code> to identify (labeled '''Platform Timer Resolution:Outstanding Timer Request''') which running processes requested a higher resolution and what resolution they requested.}}
{{Fixbox|description=Use Microsoft AppLocale|fix=
 
# Download Microsoft AppLocale [https://web.archive.org/web/20050115055602/http://www.microsoft.com/downloads/details.aspx?FamilyID=8c4e8e0d-45d1-4d9b-b7c0-8430c1ac89ab&displaylang=en here] and install it.
 
#* With Windows versions after XP installation will fail. Simply put installer to XP SP3 compatibility mode to continue.
 
# Open AppLocale follow instructions. It should automatically detect programs language.  
 
 
}}
 
}}
{{Fixbox|description=Change non-unicode language|ref=<ref>[http://windows.microsoft.com/en-us/windows/change-system-locale Change the system locale - Windows Help]</ref>|fix=
+
{{Fixbox|description=Windows 11 only: Restore legacy system-wide timer resolution behavior|ref=<ref>{{Refurl|url=https://randomascii.wordpress.com/2020/10/04/windows-timer-resolution-the-great-rule-change/|title=Random ASCII - Windows Timer Resolution: The Great Rule Change - Comment by schizobeyond, posted December 20, 2022|date=2023-01-02}}</ref>|fix=
# Go to Control Panel, Clock, Language and Region and Regional and Language Options.
+
# Download the [https://community.pcgamingwiki.com/files/file/2563-global-timer-resolution-requests-windows-11/ appropriate registry file.]
# From Administrative tab change non-unicode language.  
+
# Open the registry file to add it to the registry of Windows.
# Restart computer for changes to take effect.  
+
# Restart the system to allow the change to take effect.
 +
# After the restart the timer resolution will be set system-wide again as in Windows 10 v1909 or older.
 
}}
 
}}
  
===IPX protocol deprecated===
+
===File systems===
{{ii}} IPX was a LAN protocol commonly used with older programs, especially games. Unfortunately it was removed entirely from Vista and later with no indication of returning.
 
{{Fixbox|description=Try a wrapper|ref={{CN|date=February 2018}}|fix=
 
Try one of the following:
 
* [http://ipxemu.sourceforge.net ipxemu]
 
* [http://www.solemnwarning.net/ipxwrapper/ IPXWrapper]
 
* [http://www.kali.net Kali] - This one's more for tunneling IPX over the internet rather than LAN, but still works.
 
}}
 
  
{{Fixbox|description=Copy support files from Windows XP|ref=<ref>https://social.technet.microsoft.com/Forums/windows/en-US/82727f50-9e1b-4fcf-8a38-e45567938ec4/ipx-on-windows-7?forum=w7itpronetworking</ref>|fix=
+
Windows 10 has native support for 4 file systems: NTFS, exFAT, ReFS, and FAT32. The best one to install and play games on is considered to be NTFS. exFAT has problems with some legacy games,<ref>{{refurl|url=https://gaming.stackexchange.com/questions/306621/how-can-i-fool-steam-to-think-my-exfat-drive-is-ntfs|title=How can I fool Steam to think my exFat drive is NTFS?|date=2021-07-03}}</ref> ReFS is believed to be unable to install Microsoft Store apps<ref>{{Refurl|url=https://www.ctrl.blog/entry/adventures-in-refs.html|title=What I learned after 30 minutes with ReFS|date=2021-07-03}}</ref> and cannot be used as a boot drive, while FAT32 is unable to store individual files larger than 4 GB (many modern games have individual files considerably larger than 4 GB).
What you need: a working installation of Windows XP sp2.
 
  
Step 1.
+
Additionally, there are two so-called ''disk types'' supported by Windows: GPT and MBR. GPT is the official recommendation for Windows 10 and enables the use ≥2 TB hard drives and ≥5 primary partitions on the same drive; but many older drives that were involved in upgrades from Windows 7 to Windows 10, still remain as MBR. Windows 10 v1703 and newer comes bundled with the {{file|mbr2gpt.exe}} tool which can be used to convert MBR disks to the GPT format without any additional tools necessary.
Ctrate a new folder c:\temp
 
  
Step 2.
+
{{Fixbox|description=Use the MBR2GPT tool:|ref=<ref>{{Refurl|url=https://learn.microsoft.com/en-us/windows/deployment/mbr-to-gpt|title=Microsoft Learn - Windows Deployment - MBR2GPT|date=2023-01-02}}</ref>|fix=
Copy the following files to the directory c:\temp *and* to the corrsponding vista directories:
+
{{ii}} It is recommended to only convert secondary disks and not the Windows OS disk as otherwise the system might become unbootable without changing boot settings around in the UEFI/BIOS menu of the computer.
Note: You might need to open up an "elevated" command prompt, "run as administrator", (to get write access to directories).
 
  
Windows\System32\drivers\nwlnkipx.sys
+
# Launch the '''Command Prompt''' as an administrator.
Windows\System32\drivers\nwlnkflt.sys
+
# Run the {{Code|diskpart}} command, followed by {{Code|list disk}}.
Windows\System32\drivers\nwlnkfwd.sys
+
# Note the disks that lack a {{Code|*}} below the '''Gpt''' column, as these are MBR disks.
Windows\System32\drivers\nwlnknb.sys
+
# Type {{Code|exit}} to exit Diskpart.
Windows\System32\drivers\nwlnkspx.sys
+
# Now validate the MBR disk using {{Code|MBR2GPT /validate /allowFullOS /disk:#}} where {{Code|#}} is the disk number from step 2-3.
 +
# To perform the conversion if all validation tests pass, use {{Code|MBR2GPT /convert /allowFullOS /disk:#}}
 +
# The MBR disk should now have been converted to GPT.
 +
}}
 +
 
 +
===Trusted Platform Module (TPM)===
 +
Windows 11 requires a feature referred to as TPM 2.0, a hardware chip that improves the OS security and encryption abilities. Most CPUs from 2015 or later have a firmware based one embedded within the processor, but the feature is ''not'' usually enabled by default.
  
Windows\System32\rtipxmib.dll
+
{{Fixbox|description=Enable TPM in BIOS/UEFI:|collapsed=yes|ref=<ref>{{Refcheck|user=Dandelion Sprout|date=2021-07-03}}</ref>|fix=
Windows\System32\wshisn.dll
+
# Enter the BIOS/UEFI firmware settings of the system.
Windows\System32\nwprovau.dll
+
# If available, set the settings screen to the '''Advanced''' or '''Expert''' mode.
 +
# The exact position of the TPM setting differ between motherboard producers but are usually found in '''Security Settings''' or similarly named menus.
 +
# The setting name is typically one of the following:
 +
#* '''fTPM''' (firmware TPM) - the firmware based TPM of AMD CPUs.
 +
#* '''PTT''' (Intel Platform Trust Technology) - the firmware based TPM of Intel CPUs.
 +
#* '''TPM''' - discrete TPM chips separate from the processor.
 +
}}
  
Windows\inf\netnwlnk.inf  (*)
+
===Disable security measures===
Windows\inf\netnwlnk.pnf  (*)
+
{{--}} '''The following methods lowers the integrity and security of the system. Use at your own risk!'''
 +
{{ii}} This should only be attempted if no other option remains, and on systems where the risk of infection and exploits is minimized (e.g. systems without an active Internet connection).
  
(*) The directory "inf" is hidden
+
====Disable control flow guard (CFG)====
 +
{{mm}} Control flow guard (CFG) has been found to cause stuttering in some games, such as [[GTA IV]], and in tested UE4 games: [[PUBG]], [[Squad]], [[It Takes Two]] and [[Borderlands 3]]<ref>https://www.reddit.com/r/borderlands3/comments/odd9zb/comment/hqlkyh0/?utm_source=reddit&utm_medium=web2x&context=3</ref>.
  
Step 3.
+
{{Fixbox|description=Disable through Windows Security|collapsed=yes|ref=<ref>{{Refurl|url=https://new.reddit.com/r/PUBATTLEGROUNDS/comments/8jgz6g/disabling_control_flow_guard_in_windows_defender/|title=Disabling "Control Flow Guard" in Windows Defender Improved stuttering and low FPS : PUBATTLEGROUNDS - Reddit|date=May 2023}}</ref>|fix=
Go to "manage network connection" (in control panel-> network). Right click your LAN adapter connection, click "install", "protocol", "Add", Do not select the IPX that is already in the list, be sure to select "have disk". Navigate to "c:\temp" and select file "netnwlnk.inf", now select "WLink IPX/SPX/NetBIOS". You will get a warning it's not verifyable, install anyway (or not..).
+
# Open '''Windows Security'''.
 +
# Navigate to the '''App & browser control''' and click on '''Exploit protection settings'''.
 +
# Click on the '''Program settings''' header, followed by '''Add program to customize'''.
 +
# Add the program by its executable filename or by browsing to it.
 +
# Scroll down to '''Control flow guard (CFG)'''.
 +
# Enable '''Override system settings''' and ensure the toggle is set to '''Off'''.
 +
# Click on '''Apply''' to save the changes.
 +
# Restart the system to allow the changes to take effect.
 +
}}
  
If you get an error message about a missing module, you forgot to copy the above files to the windows 7 directories.
+
====Disabling core isolation memory integrity====
 +
{{ii}} Memory integrity works by creating an isolated environment using hardware virtualization, and may lead to CPU bottlencks.<ref>https://www.purepc.pl/test-wplywu-funkcji-izolacja-rdzenia-na-wydajnosc-w-grach-na-systemie-windows-11?page=0,2</ref>
  
Step 4.
+
{{Fixbox|description=Disable through Windows Security|collapsed=yes|ref=|fix=
Reboot computer.
+
# Open '''Windows Security'''.
{{--}} Only works on 32-bit version of Vista and later.
+
# Navigate to the '''Device security''' and click on '''Core isolation details'''.
{{--}} Some parts of protocol don't even work (properties button greyed out in setting, ect.)
+
# Disable '''Memory integrity'''.
{{ii}} Support files can also be downloaded [http://ccm.net/download/download-3890-support-ipx-for-vista here] in case you don't own XP.
+
# Restart the system to allow the changes to take effect.
 
}}
 
}}
  
===Lowered volume when using background Metro/UWP apps===
+
====Disabling Spectre - and Meltdown - patches====
{{Fixbox|description=Instructions|ref={{cn|date=July 2016}}|fix=
+
{{Fixbox|description=Use [https://www.grc.com/inspectre.htm InSpectre]|ref=|fix=
# Push {{key|Win|R}}, type <code>mmsys.cpl</code>, then select '''OK'''.
+
{{ii}} May lower stuttering and FPS-issues in CPU-heavy games on configurations with low RAM and older Intel CPUs (Skylake, Haswell, or older).<ref>{{Refurl|url=https://www.microsoft.com/security/blog/2018/01/09/understanding-the-performance-impact-of-spectre-and-meltdown-mitigations-on-windows-systems/|title=Understanding the performance impact of Spectre and Meltdown mitigations on Windows Systems - Microsoft Security|date=2020-09-15}}</ref><ref>{{Refurl|url=https://old.reddit.com/r/hardware/comments/dxpios/benchmarks_for_all_the_security_patches_and/|title=Benchmarks for all the security patches and microcode updates on a Skylake 6700K : hardware|date=2020-09-15}}</ref>
# Open the '''Communications''' tab, then select '''Do nothing''' and save.
+
{{ii}} Restart needed after changes.
 
}}
 
}}
  
==DOS compatibility==
+
====Force the use of the motherboard microcode version instead of the one from the OS====
For modern versions of Windows (both 32-bit and 64-bit), it is recommended to use [[DOSBox]].
+
The current microcode update version loaded into the CPU can be loaded either from the motherboard or the operating system (if newer). Because of this, it is on some computers possible to downgrade the microcode version used by the CPU by forcing the use of the version present in the motherboard if said version is older by deleting the microcode version present in the OS.
  
{{ii}} If you're having trouble getting DOS games to run on older versions of NT (XP & 2000) checkout [http://www.sierrahelp.com The Sierra Help Pages].
+
Downgrading the microcode version can in some rare cases fix stuttering in some games, such as for [[Fortnite]] on Intel i5-4690K (e.g. when the OS microcode is revision 25, and the motherboard microcode is revision 24).<ref>https://www.purepc.pl/rozrywka/wkrotce_beta_gears_of_war_5_znamy_wymagania_sprzetowe_na_pc#comment-586406</ref><ref>[http://forum.notebookreview.com/threads/intel-amd-ucode-fix-for-spectre-ht-bug-fix-and-meltdown.806451/ Intel/AMD uCode fix for Spectre, HT bug fix and Meltdown. | NotebookReview]</ref>
{{ii}} In the transition from Windows 9x to NT based versions, [https://en.wikipedia.org/wiki/Virtual_DOS_machine#Windows_NTVDM DOS compatibility was temporarily maintained], at least for 32-bit editions.
 
  
==Other information==
+
{{Fixbox|description=Within {{folder|{{p|WinDir}}\System32}}, delete the {{file|mcupdate_GenuineIntel.dll}} and/or {{file|mcupdate_AuthenticAMD.dll}} DLL file(s).|fix=
===Game Bar===
+
{{ii}} Current loaded microcode version in the CPU can be checked through [https://www.hwinfo.com/ HWiNFO64's] main window > '''Central Processor(s)''' > ''relevant CPU'' > '''Microcode Update Revision''' row. Note that this value indicates which microcode version is currently loaded into the CPU regardless of source, so the microcode version may have either been loaded through the motherboard or the OS (if newer than the motherboard version).
See [[Windows 10#Game Bar|Game Bar]].
+
{{ii}} To determine what microcode version is stored within the motherboard, consult the BIOS/UEFI settings menu and/or the motherboard manual for further instructions.
 +
}}
  
===Running previous Windows versions bundled games on newer ones===
+
==Version table==
{{ii}} [https://web.archive.org/web/20150311235209/http://forums.mydigitallife.info/threads/33214-How-to-use-Microsoft-Games-from-Windows-7-in-Windows-8-x Automatic patcher thing.]
+
'''Windows 11'''
 +
{| class="page-normaltable pcgwikitable sortable mw-collapsible mw-collapsed" style="min-width: 850px"
 +
|-
 +
! style="width: 160px" | Released !! style="width: 265px" | Version !! style="width: 105px" | OS build !! style="width: 155px" | ''"Friendly name"'' !! Codename
 +
|-
 +
| data-sort-value="2023-10-31" | October 31, 2023 || Windows 11 v23H2                    || 22631 || 23H2 || Sun Valley 3
 +
|-
 +
| data-sort-value="2022-09-20" | September 20, 2022 || Windows 11 v22H2                    || 22621 || 22H2 || Sun Valley 2
 +
|-
 +
| data-sort-value="2021-10-05" |    October 5, 2021 || Windows 11                          || 22000 || 21H2 || Sun Valley
 +
|-
 +
|}
  
===Speed up loading of web pages in Windows===
+
'''Windows 10'''
{{ii}} Windows ships with '''Automatically detect settings''' enabled by default for compatibility reasons. This option allows automatic configuration of Internet connectivity in networks that supports it by using the '''DNS''' or '''DHCP''' services of the network. However support for this type of automatic configuration is almost only found within corporate or academic networks, and the feature is as such not usually required for home or small network users.
+
{| class="page-normaltable pcgwikitable sortable mw-collapsible mw-collapsed" style="min-width: 850px"
{{--}} The feature have in some instances been found to add noticeable delays when loading content from the Internet, and is therefor recommended to be disabled unless the network requires it.
+
|-
{{mm}} Disabling this feature affects all applications that relies on the internal IE subsystem of Windows, such as Google Chrome, Steam, and more.
+
! style="width: 160px" | Released !! style="width: 265px" | Version !! style="width: 105px" | OS build !! style="width: 155px" | ''"Friendly name"'' !! Codename
 +
|-
 +
| data-sort-value="2022-09-20" |  October 18, 2022 || Windows 10 v22H2                    || 19045 || 22H2 || 22H2
 +
|-
 +
| data-sort-value="2021-11-16" |  November 16, 2021 || Windows 10 v21H2                    || 19044 || 21H2 || 21H2
 +
|-
 +
| data-sort-value="2021-05-18" |      May 18, 2021 || Windows 10 v21H1                    || 19043 || 21H1 || 21H1
 +
|-
 +
| data-sort-value="2020-10-20" |  October 20, 2020 || Windows 10 v20H2                    || 19042 || October 2020 Update || 20H2
 +
|-
 +
| data-sort-value="2020-05-27" |      May 27, 2020 || Windows 10 v2004                    || 19041  || May 2020 Update    || 20H1, Vibranium
 +
|-
 +
| data-sort-value="2019-11-12" |  November 12, 2019 || Windows 10 v1909                  || 18363 || November 2019 Update || 19H2, Vanadium
 +
|-
 +
| data-sort-value="2019-05-21" |      May 21, 2019 || Windows 10 v1903                    || 18362  || May 2019 Update    || 19H1
 +
|-
 +
| data-sort-value="2018-11-13" |  November 13, 2018 || Windows 10 v1809                    || 17763 || October 2018 Update || Redstone 5
 +
|-
 +
| data-sort-value="2018-04-30" |    April 30, 2018 || Windows 10 v1803                    || 17134  || April 2018 Update  || Redstone 4
 +
|-
 +
| data-sort-value="2017-10-17" |  November 17, 2017 || Windows 10 v1709                  || 16299 || Fall Creators Update || Redstone 3
 +
|-
 +
| data-sort-value="2017-04-05" |      April 5, 2017 || Windows 10 v1703                    || 15063  || Creators Update    || Redstone 2
 +
|-
 +
| data-sort-value="2016-08-02" |    August 2, 2016 || Windows 10 v1607                    || 14393  || Anniversary Update || Redstone 1
 +
|-
 +
| data-sort-value="2015-11-10" |  November 10, 2015 || Windows 10 v1511                    || 10586  || November Update    || Threshold 2
 +
|-
 +
| data-sort-value="2015-07-29" |      July 29, 2015 || Windows 10 v1507                    || 10240  || ''Windows 10''     || Threshold 1
 +
|-
 +
|}
 +
{{mm}} Also known as being version ''NT 10.0''.
  
{{Fixbox|description=Instructions|ref=<ref>[https://www.reddit.com/r/gaming/comments/zo66b/by_request_psa_drastically_speed_up_steams_web/ Reddit Gaming Subreddit - Make Big Picture Quicker]</ref>|fix=
+
'''Previous versions'''
# Open the '''Start''' menu and type '''Internet Options'''.
+
{| class="page-normaltable pcgwikitable sortable mw-collapsible mw-collapsed" style="min-width: 850px"
# Open the '''Connections''' tab, click the '''LAN Settings''' button.
+
|-
# Uncheck the '''Automatically detect settings''' checkbox.
+
! style="width: 160px" | Released !! style="width: 265px" | Version !! style="width: 105px" | OS build !! style="width: 155px" | Release version !! Codename
 
+
|-
'''Notes'''
+
| data-sort-value="2013-10-17" |  October 17, 2013 || Windows 8.1                        || 9600  || NT 6.3 || Blue
{{ii}} Re-enable the setting if you lose Internet access entirely within 48 hours.
+
|-
}}
+
| data-sort-value="2012-10-26" |  October 26, 2012 || Windows 8                          || 9200  || NT 6.2 || '8'
 +
|-
 +
| data-sort-value="2009-10-22" |  October 22, 2009 || Windows 7                          || 7600  || NT 6.1 || Blackcomb
 +
|-
 +
| data-sort-value="2007-01-30" |  January 30, 2007 || Windows Vista                      || 6000  || NT 6.0 || Longhorn
 +
|-
 +
| data-sort-value="2005-04-25" |    April 25, 2005 || Windows XP Professional x64 Edition || 3790  || NT 5.2 || Anvil
 +
|-
 +
| data-sort-value="2001-10-25" |  October 25, 2001 || Windows XP                          || 2600  || NT 5.1 || Whistler
 +
|-
 +
| data-sort-value="2000-09-14" | September 14, 2000 || Windows Me                          || 3000  ||  4.90 || Millennium
 +
|-
 +
| data-sort-value="2000-02-17" |  February 16, 2000 || Windows 2000                        || 2195  || NT 5.0 || Windows NT 5.0
 +
|-
 +
| data-sort-value="1999-05-05" |        May 5, 1999 || Windows 98 Second Edition          || 2222 A ||  4.10 || n/a
 +
|-
 +
| data-sort-value="1998-06-25" |      June 25, 1998 || Windows 98                          || 1998  ||  4.10 || Memphis, ChiCairo
 +
|-
 +
| data-sort-value="1996-08-24" |    August 24, 1996 || Windows NT 4.0                      || 1381  || NT 4.0 || Shell Update Release (SUR)
 +
|-
 +
| data-sort-value="1995-08-24" |    August 24, 1995 || Windows 95                          || 950    ||  4.00 || Chicago
 +
|-
 +
| data-sort-value="1995-05-30" |      May 30, 1995 || Windows NT 3.51                    || 1057 || NT 3.51 || ?
 +
|-
 +
| data-sort-value="1994-09-21" | September 21, 1994 || Windows NT 3.5                      || 807  || NT 3.5 || Daytona
 +
|-
 +
| data-sort-value="1993-11-22" |  November 22, 1993 || Windows 3.2                        || 153    ||  3.2 || ?
 +
|-
 +
| data-sort-value="1993-11-08" |  November 8, 1993 || Windows for Workgroups 3.11        || 300    ||  3.11 || Snowball
 +
|-
 +
| data-sort-value="1993-07-27" |      July 27, 1993 || Windows NT 3.1                      || 528  || NT 3.1 || Razzle
 +
|-
 +
| data-sort-value="1992-10-01" |      October, 1992 || Windows for Workgroups 3.1          || 102    ||  3.10 || Winball, Sparta
 +
|-
 +
| data-sort-value="1992-04-06" |      April 6, 1992 || Windows 3.1                        || 103    ||  3.10 || ?
 +
|-
 +
| data-sort-value="1990-05-22" |      May 22, 1990 || Windows 3.0                        || ?      ||  3.00 || ?
 +
|-
 +
| data-sort-value="1989-03-13" |    March 13, 1989 || Windows 2.11                        || ?      ||  2.11 || ?
 +
|-
 +
| data-sort-value="1988-05-27" |      May 27, 1988 || Windows 2.10                        || ?      ||  2.10 || ?
 +
|-
 +
| data-sort-value="1987-12-09" |  December 9, 1987 || Windows 2.03                        || ?      ||  2.03 || ?
 +
|-
 +
| data-sort-value="1987-04-10" |    April 10, 1987 || Windows 1.04                        || ?      ||  1.04 || ?
 +
|-
 +
| data-sort-value="1987-08-21" |    August 21, 1986 || Windows 1.03                        || ?      ||  1.03 || ?
 +
|-
 +
| data-sort-value="1986-05-14" |      May 14, 1986 || Windows 1.02                        || ?      ||  1.02 || ?
 +
|-
 +
| data-sort-value="1985-11-20" |  November 20, 1985 || Windows 1.0                        || ?      ||  1.01 || ?
 +
|}
  
 
{{References}}
 
{{References}}
  
 
[[Category:Guide]]
 
[[Category:Guide]]

Latest revision as of 18:05, 19 March 2024

Windows
Windows cover
Developers
Microsoft
Release dates
Windows November 20, 1985
Windows at Wikipedia

Key points

The most popular and widely supported family of operating system among PC users.
Backward compatibility is high, with newer versions of the operating system capable of running decades old software with minimal issues.
Transitioned to periodic biannual major upgrades since the introduction of Windows 10.

Resources

Official support
Update history for Windows 11, Windows 10
Microsoft Update Catalog - Allows for manual download of updates or device drivers. See related KB article.

Communities

Microsoft Community - Official community for everything related to Microsoft
Microsoft Community Discord - Official Discord server
/r/windows10 - Subreddit dedicated to Windows 10
/r/windows - Subreddit dedicated to Windows in general

General

PowerShell

PowerShell is the more capable one of the two command-line interpreters provided by Microsoft for Windows systems. It can be accessed by opening the Start menu and typing powershell, then opening it from the search results. To open it with admin rights, right-click on the search result and choose "Open as Administrator".

Task Manager

The Task Manager is an application built into Windows that allows for the managing running processes as well as providing information about computer performance.

It can be accessed by any of the following ways:

  • Right-click on the taskbar of Windows and select Task Manager.
  • (Windows ≥8.1) Right-click on the Windows icon in the taskbar (or press Win+X), and select Task Manager
  • Press Ctrl+Alt+Delete and select Task Manager.
  • Press Ctrl+ Shift+Esc to open it directly.

Device Manager

The Device Manager is an application built into Windows that allows for the management of device drivers. It can be accessed from the Control Panel.

Registry Editor

The Registry Editor allows users to edit the Windows registry. It can be accessed by going to 'run' and typing 'Regedit.exe'.

Basic Editing
  1. Push Win+R, type regedit, then click OK.
  2. Navigate to the desired registry key, such as HKEY_CURRENT_USER, under the Computer category.
  3. Double click on any entries on the right side, right after selecting a registry key, under the Name category, in order to edit them.
(Windows ≤8) Advanced Search
  1. Download RegJump, extract it inside the root directory of the main Local Disk location.
  2. Copy any desired path into the clipboard.
  3. Open a Command prompt as an admin.
  4. Write CD YourRootFolder:\, regjump.exe and regjump -c.

Notes

The last command tells Windows to open the Registry Editor at the path which was currently stored inside the clipboard.
Windows 10 added a native text field in Registry Editor for jumping to folders.

DirectX

DirectX is a collection of APIs for Windows that allows programs to interact directly with hardware.

.NET Framework

The .NET Framework is a software framework for Windows that is required for games built in .NET-aware languages (such as C# or Visual Basic), including those that use XNA. Different games may require different versions of .NET Framework. A list with download links for most versions can be found here[Note 1]. Windows 8 and 10 users may want to read this.

DLLs

Dynamic-link libraries (DLL, .dll) are Windows' shared library files containing code and data that can be used over several applications and are dynamically linked during runtime, as opposed to statically linked where such libraries would be embedded within each individual application at compile-time. Dynamic-link libraries often save time for developers as shared system libraries only need to be installed once for multiple applications to make use of them, and is also a popular method for mod creators to use for their shims which intercepts API calls and injects their custom code.

A possible downside with dynamic-link libraries, although rare nowadays, is that it can be the cause of issues for the end users when an application relies on a specific version of the system library, while another application relies on another version, and only one can be installed at once. This is commonly referred to as DLL Hell and were more common for older applications, in particular legacy 16-bit applications. This can often be resolved through various ways, such as uninstalling the conflicting version and re-installing the needed version, or by inserting the required DLL files of the needed version in the installation folder of the application as this would result in the system prioritzing loading those libraries instead of the system-wide installed libraries.

Third-party utilities that makes use of DLL files range from game-specific fixes, such as NAIOM, to more generic tools like ReShade, dgVoodoo 2, and Special K. There are also so-called ASI loaders such as Ultimate ASI Loader which allows loading additional third-party DLL files (renamed to .asi) through the use of an existing DLL filename that the game loads at runtime.

Windows 10 and 11

Fullscreen optimizations

Windows 11 and 10 (v1607 "Anniversary Update" and later) includes fullscreen optimizations (sometimes shortened as FSO) that attempts to convert games running in the "classic" exclusive fullscreen mode into using borderless window mode with flip model presentation instead. This optimization is completely transparent to the game, and it as well as injected tools (such as Special K) will believe and report that the game is running in exclusive fullscreen mode. This allows the use of Windows 10's Game bar as well as other system overlays in games that otherwise would not support them. A side-effect of the flip model presentation used is that it still allows the use of variable refresh rate techniques such as G-Sync/FreeSync syncing the monitor to the frame rate despite them being configured for fullscreen only.

Earlier versions[4] of Windows 10 (v1607-1709) also tried forcing games running in regular window modes (including borderless window mode) to use flip model presentation, however this was discovered to cause issues with some games. As a result, in Windows v1803 Microsoft had disabled that aspect of the feature and limited the fullscreen optimizations to only apply for games running in exclusive fullscreen mode.[5] In February 2022 Microsoft announced that this feature would make a return in Windows 11, and was released as part of Windows 11 22H2.[6]

Available for DirectX ≥9 and automatically engaged, the optimizations combines the benefits of classic exclusive fullscreen mode with that of borderless window mode.
Despite information stated elsewhere online, there is currently no built-in way of system-wide disabling fullscreen optimizations for all executables in Windows 10 v1803 and later. The third-party tool Bulk Application Compatibility Editor can be used instead to easily disable the optimizations for multiple games.
See Demystifying Fullscreen Optimizations on the DirectX blog for more information.
Disable fullscreen optimizations for an executable
  1. Navigate to <path-to-game> and locate the executable of the game.
  2. Right-click on the executable and select Properties.
  3. Open the Compatibility tab.
  4. Check Disable fullscreen optimizations and click OK.

Notes

On Windows 10 v1803 "April Update" and later, some users might experience an issue while using an injector based on dxgi.dll where fullscreen optimizations are forcefully enabled despite being "disabled" because of the presence of that DLL file. Using another supported DLL filename for the injector works around the issue.[7]
Check if fullscreen optimizations are being used or not
  1. Enable the Game bar of Windows 10 and verify that it can be toggled using Win+G.
  2. Launch the particular game and configure it to run in exclusive fullscreen mode, then restart the game.
  3. Allow the main menu of the game to appear, then click on Win+G and inspect the results:
    • If the screen flashes brightly twice the game is running in "classic" exclusive fullscreen mode, and fullscreen optimizations are disabled.
    • If the Game bar appears fullscreen optimizations are enabled or the "fullscreen mode" of the game is actually just a misnamed borderless window mode (typically seen with Unity-based games).

Notes

To verify whether the fullscreen mode of the game is "classic" exclusive fullscreen mode, or simply a borderless maximized window referred to as "fullscreen mode", a third-party tool such as Special K might be needed.
An alternative method to check if the Game bar is disabled is to use the volume media keys that some keyboards have. If the volume overlay appears, fullscreen optimizations are enabled. If it does not, fullscreen optimizations are disabled.

Game bar

The Game bar ( Win+G) allows easy capture recording of gameplay screenshots and video while playing a game and is enabled by default in Windows 10.

Toggle Game bar
  1. Open Settings, click on Gaming, and navigate to the Game bar page.
  2. Toggle Record game clips, screenshots, and broadcast using Game bar.
Toggle Game DVR background recording
  1. Open Settings, click on Gaming, and navigate to the Game DVR page.
  2. Toggle Record in the background while I'm playing a game.

Game Mode

Game Mode attempts to remove distractions while playing by applying minor changes to the behavior of Windows Update and may on some systems also help achieve a more stable frame rate in some games.[8][9]
Earlier versions of the feature also prioritized CPU and GPU resources to the game running in the foreground, but this was removed in v1803 as it was found to negatively impact some games and scenarios.[10]
Microsoft's official support article: Use Game Mode while gaming on your Windows 10 device
Toggle Game Mode for a game
  1. Launch the game.
  2. Open the Game Bar using Win+G.
  3. Use the Turn Game Mode on/off option (a speedometer icon) to toggle Game Mode.

Notes

The Game bar is not available for games running in exclusive fullscreen mode. For those games, temporarily change the display mode to windowed or borderless windowed mode and enable Game Mode, then change back to exclusive fullscreen mode.
To fix the problem when key pressing is registered with huge delay with Game Mode turned on see here

Disable driver updates delivered through Windows Update

Depending on how device manufacturer has configured their published drivers in Windows Update, users may sometimes receive undesirable drivers through Windows Update that are installed on top of an existing driver, such as Microsoft's generic ones, which may sometimes affect functionality and/or install additional unwanted applications on the system.
Instructions:
  1. Uninstall the driver that was installed through Windows Update using either Add or remove programs or Device Manager.
  2. Restart the system.
  3. Use the Windows Show or Hide Updates Troubleshooter to "hide" the unwanted driver update.
    • If the driver is not listed the system may still think one of its critical components are installed. An additional third-party tool, such as Driver Store Explorer may be required to uninstall any remaining traces of the device/driver.
  4. After the driver has been "hidden", Windows Update will no longer attempt to install it.

Disable memory compression

Change settings in Powershell

Search for the name Powershell in the system, and launch it as administrator via RBM. Write: Get-MMAgent to check the current state of memory compression. If it's false, there is nothing to be done. It can be disabled by default while using SSD as system disk. To disable it, write: Disable-MMAgent -mc To enable, write Enable-MMAgent -mc

Disabling memory compression can increase application stability while using demanding games for CPU.[11] Although some games benefit from the memory compression enabled.

Turn on ReadyBoost

This is only necessary on low-end devices with memory concerns, such as on machines with 4 GB RAM or less.
Configure USB flash drive in Computer to use with ReadyBoost
  1. Plug in the USB flash drive to the computer.
  2. Open File Explorer and browse to This PC.
  3. Right-click on the USB flash drive and click on Properties.
  4. Click on the ReadyBoost tab and enable Dedicate this device to ReadyBoost.
  5. Click OK.
  6. After this, game may stutter less on 4 GB RAM configurations when in HDD/page file demanding scenarios.

Notes

Before playing, make sure that background processes and services like System, SysMain (SuperFetch), svchost.exe, Windows Update, or others, are not using the storage device as they may cause additional stuttering.
The page file on an SSD outperforms ReadyBoost, hence the feature will be unavailable on systems with SSD.

Backward compatibility and 1990's games

Compatibility mode

See Windows Compatibility Mode for information on how to use the built-in backward compatibility mode of Windows.

DOS compatibility

For modern versions of Windows (both 32-bit and 64-bit), it is recommended to use DOSBox.

If facing trouble getting DOS games to run on older versions of NT (XP and 2000), check out The Sierra Help Pages.
In the transition from Windows 9x to NT based versions, DOS compatibility was temporarily maintained, at least for 32-bit editions. For Windows 10 32-bit, NTVDM support has to be manually enabled via Windows Features.[12]

Running 16-bit applications on 64-bit systems

64-bit versions of Windows can not natively run 16-bit applications.
Use winevdm or NTVDMx64 to emulate them.

IPX protocol deprecated

IPX was a LAN protocol commonly used with older programs, especially games. Unfortunately it was removed entirely from Vista and later with no indication of returning.
Try a wrapper (recommended)

Try one of the following:

  • IPXWrapper - often distributed in official digital re-releases of older games
  • ipxemu
  • Kali - this one's more for tunneling IPX over the internet rather than LAN, but still works.
Copy support files from Windows XP[13]

Requires a working installation of Windows XP SP2 or files available here.

  1. Create a new folder C:\temp.
  2. Copy the following files to the C:\temp directory *and* to the corresponding new OS directories:

Note: An "elevated" command prompt (running as administrator) is required to have proper write access to directories.

Windows\System32\drivers\nwlnkipx.sys 
Windows\System32\drivers\nwlnkflt.sys 
Windows\System32\drivers\nwlnkfwd.sys 
Windows\System32\drivers\nwlnknb.sys 
Windows\System32\drivers\nwlnkspx.sys 

Windows\System32\rtipxmib.dll 
Windows\System32\wshisn.dll 
Windows\System32\nwprovau.dll 

Windows\inf\netnwlnk.inf  (*)
Windows\inf\netnwlnk.pnf  (*)

(*) The directory "inf" is hidden

3. Go to "manage network connection" (in Control Panel -> Network). Right-click the active LAN adapter connection, click "install", "protocol", "Add". Do not select the IPX that is already in the list, instead select "have disk". Navigate to C:\temp and select netnwlnk.inf. Now select "WLink IPX/SPX/NetBIOS". A warning will be shown that it is not verifiable, but ignore it. If an error message about a missing module appears, the above files are not properly copied to the new OS directories. 4. Reboot computer.

Only works on 32-bit versions of Vista and later.
Some parts of protocol do not work (e.g. properties button greyed out in setting)

Missing MIDI Mapper

Over the last versions of Windows, Microsoft have slowly but steadily deprecated the original Microsoft MIDI Mapper of Windows.
Use the CoolSoft MIDIMapper[14]

DirectDraw is broken

Since Windows 8.1[15], DirectDraw emulation has been broken.
See Glossary:DirectX/DirectDraw troubleshooting.

Issues unresolved

Screen recorders, overlays, injectors won't work with Windows Apps

See Windows Store article for this and other Windows Apps related issues.

Hardcoded display limits in Windows 10

There are two hardcoded display limits in Windows 10:[16]

Arbitrary refresh rate hard-coded limit of 500 Hz; this is a confirmed Windows limitation. The limit was later increased to 1000 Hz on Windows 11.
Arbitrary pixel clock hard-coded limit; this may be caused by other limitation such as graphics drivers.

Issues fixed

Alt+F4 doesn't terminate frozen applications

Use SuperF4

Set older 32-bit games to use 4 GB RAM instead of 2

32-bit processes that have the LAA flag set on their executable are limited to 4 GB on a 64-bit OS, and 3 GB on a 32-bit OS.
Increasing the memory limit is generally compatible with most games, and can make them compatible with higher and more modern resolution or third-party mods that may otherwise push them past the original 2 GB RAM limit.
Force IMAGE_FILE_LARGE_ADDRESS_AWARE flag in executables
  1. Download and run the Large Address Aware enabler.
  2. Browse to the game executable.
  3. Tick the LAA checkbox and save the changes.

Notes

The LAA flag is set in the header of the executable, which may not be compatible with some anti-cheat or DRM protections, such as the obfuscation performed by Steam DRM. For Steam titles, the third-party Steamless tool can undo the obfuscation which allows the LAA flag to be set.
Windows Vista and later (x86 only): edit boot configuration database[17]
  1. Open an elevated command prompt
  2. Type BCDEdit /set increaseuserva 2048

Notes

Windows default setting of 2048 MB of user-mode virtual address space is used in the examples. Higher values may be attempted at risk of various system instabilities[18][19]
Windows XP and Server 2003 (x86 only): edit boot configuration file[20]
  1. Open command prompt under administrator privileges
  2. Type bootcfg /raw "/3GB /userva=2048" /A /ID 1 (where 1 is the boot entry id)

Shoddy coded applications mess system-wide registry setting

Edit key ACL
  1. Open regedit
  2. Navigate to the relevant key
  3. Right-click over it, then Permissions and Advanced
  4. Depending on the Windows version, either untick Permissions inheritance from parent or press Disable Inheritance
  5. When asked, choose to add/convert/copy previous permissions to the object
  6. Click on Administrators group and edit its permissions
  7. Select changes to apply This key only
  8. Last untick Set Value advanced permission

Notes

In some situations reg flags "<key>" set DONT_VIRTUALIZE may also be needed[21][Note 2]

Non-Unicode applications might not work properly

This is most commonly an issue with Japanese games and visual novels, and may prevent a game from being installed, launched, or even work properly (may have scrambled text or bugs).
Locale Emulator/Microsoft AppLocale runs the application with the correct localization without affecting the rest of the operating system.
Use Locale Emulator
Developed primarily for Windows 10, although it is also compatible with both 7 and 8.1.
Supports only 32-bit executables.

Instructions

  1. Download Locale Emulator and extract the archive to where the application is to be installed.
  2. Run LEInstaller.exe and select Install for current user.
  3. After the installation have finished, use LEGUI.exe to set up desired localization profiles.
  4. Finally, right-click on a 32-bit executable (or its shortcut) and select the desired profile under the Locale Emulator context menu.
Use Microsoft AppLocale
Might not work on modern versions of Windows as the tool has not been updated since 2004.

Instructions

  1. Download Microsoft AppLocale here and install it.
    • With Windows versions after XP installation will fail. Simply put installer to XP SP3 compatibility mode to continue.
  2. Open AppLocale follow instructions. It should automatically detect programs language.
Change non-Unicode language system-wide[22]
Easiest way to fix the issue, but may introduce unwanted changes to other programs; especially if the display language of Windows is non-English. This includes some basic characters being incorrectly replaced, programs defaulting to set non-Unicode language and other programs suddenly not being able to launch or crash.

Instructions

  1. Go to Control Panel, Clock, Language and Region and Regional and Language Options.
  2. From Administrative tab change non-unicode language to the country/localization the game originated from.
  3. Restart computer for changes to take effect.

Lowered volume when using background Metro/UWP apps

Instructions[citation needed]
  1. Push Win+R, type mmsys.cpl, then select OK.
  2. Open the Communications tab, then select Do nothing and save.

SafeDisc protected games do not work with Windows 10

Microstuttering in multiplayer games

The Multimedia Class Scheduler Service has built-in network throttling which can greatly degrade performance of online games.
Edit the registry[23][24]
  1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile
  2. There will be an entry for network performance throttling, default value is 10 or a; set it to FFFFFFFF (will look like 0xFFFFFFFF to the right of the entry). Windows Vista and 7 users can stop here.
  3. There will be an entry for system responsiveness, default value is 20; set it to 00000000 for pure gaming/streaming.
  4. Go down the registry tree further to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games.
  5. There will be an entry for priority and GPU priority; set GPU to 8 and priority to 6.
  6. Reboot

Wi-Fi background scan causes latency

Wi-Fi adapters periodically perform background scans to discover additional networks. Unfortunately this induces latency, see here for more info.
Universal solution for all Wi-Fi adapters[25]

Use WLAN Optimizer.

Atheros adapters[26]
  1. Go to the Control Panel.
  2. Choose Networks and Sharing → Change Adapter Settings (in the left column).
  3. Right-click on the Wi-Fi adapter icon and select Properties.
  4. Click Configure (under "Connect Using").
  5. Go to the Advanced tab.
  6. Set Background Scan to Disabled.
  7. Set Foreground Scan to Disabled.
Intel adapters[26]
  1. Type ncpa.cpl into the Windows search box (or type it in the start menu).
  2. This pops up the Network Connections control panel (a laptop/desktop user will probably see Ethernet and Wi-Fi adapters in there).
  3. Right-click on the Wi-Fi adapter icon and select Properties.
  4. Click the Configure button on the driver property page.
  5. On the Advanced tab, scroll down the Property list and set Roaming Aggressiveness to Lowest.
  6. Click OK to all the settings pages.

Crashes in some games

Change Data Execution Prevention setting[27]

Add a DEP Exception for the game executable. A reboot may be needed afterwards.

The problem of crashes occurs mostly in cases when DEP is enabled for all applications, except included on the list.
Set the NXCOMPAT:NO flag for the game executable[28]

Stuttering in games on Windows 10 v1709 and later

Some games might experience stutters once all memory has been allocated. This might be solved by freeing some up by clearing the standby memory.[29]
Use Intelligent Standby List Cleaner to monitor and clear the standby memory.

Issues fixed (missing files, codecs or APIs)

Older games missing .dll file on Windows Vista and later

Some .dll files have different names on Windows Vista and later.
See also DLL is missing from your computer in PCGW's launch problem guide.
Copy DLL to folder
  1. Make a note of the name of the missing .dll.
  2. Go to %WINDIR%\SysWOW64 (or %WINDIR%\System32 if running a 32-bit version of Windows).
  3. Find the .dll that has the same name as the missing .dll but with an additional x in the name (e.g. if the game can not find dplay.dll, look for dplayx.dll).
  4. Copy that .dll into the game's installation folder (do not move it).
  5. Rename the copy to the name of the .dll that was missing (so dplayx.dll becomes dplay.dll, etc.)
  6. The game should now see the .dll and play normally.

Older games refuse to start on Windows 8 and later

Install DirectPlay
  1. Open the Start screen, type OptionalFeatures.exe and press Enter.
  2. Expand Legacy Components.
  3. Ensure DirectPlay is checked.
  4. Click OK to save the changes.

Notes

Normally, Windows 8 and newer automatically detect if an application needs DirectPlay or other legacy components when it launches and prompts the user to install DirectPlay, but this requires a certain combination of services to be active, such as the Diagnostic Policy Service, which are sometimes disabled by the user.

Games cannot connect to servers on Windows XP / Vista

Install KB4019276 and updated root certificates[30]

Game files missing after upgrading or refreshing Windows

Upgrading or refreshing the Windows installation will move some files and folders to a Windows.old folder on the system drive.
Note that this folder is automatically deleted 30 days after the upgrade/refresh.
Retrieve files from windows.old[31]
  1. Open the Start screen/Start menu, type Computer and press Enter.
  2. Go into the system drive (usually C:).
  3. Go into the Windows.old folder.
  4. Go to the equivalent location for the respective files and move them to their intended location.

Missing/conflicting codecs

Reset DirectShow filters to solve any conflicts that may exist
  1. Download and open DirectShow Filter Manager
  2. Go to the Troubleshooting tab
  3. Select Restore standard DirectX codecs

Notes

Single filters can be adjusted with Codec Tweak Tool
Install the Windows Media Source Filter automatically[32]
  1. Download the Windows Media Source Filter Installer v1.7
  2. Extract the contents from the .zip file into a folder.
  3. Right-click the ApplyPatch.bat in the folder and click "Run as Administrator".
Antivirus software might stop the file from executing - if so, manually allow it or add the file to the antivirus program's exception list.
The game may also require the DivX 3.11 audio codec. If so, download and extract the zip file and run DivX_Register.exe as administrator.
Install the Windows Media Source Filter manually[32]
  1. Download the Windows Media Source Filter Installer v1.7
  2. Extract the contents from the .zip file into a folder
  3. Make a new directory in %WINDIR%\SysWOW64 called Windows-Media-Source-Filter.
  4. Copy drmclien.dll, strmdll.dll and dxmasf.dll from the .zip file to the Windows-Media-Source-Filter folder.
  5. Open the DirectShow Filter Manager and register the dxmasf.dll in the Windows-Media-Source-Filter folder.
The game may also require the DivX 3.11 audio codec. If so, download and extract the zip file and run DivX_Register.exe as administrator.
Install the Indeo codec (Windows Vista and later)[33][34]
  1. Start Command Prompt as an Administrator.
  2. Run the command regsvr32 "%WINDIR%\SysWOW64\ir50_32.dll". If using a 32-bit version of Windows, replace SysWOW64 with System32.
  3. Click OK on the message box that comes up.

Notes

There appear to be certain security issues with the codec.[35] Unregister the codec when done with the game by using the command regsvr32 /u "%WINDIR%\SysWOW64\ir50_32.dll". Ignore the runtime error that may come up.
Install the Indeo codec (Windows XP and below)[33]
  1. Download the Ligos Indeo 5 codec installer
  2. Install the Ligos Indeo 5 from step 1 using the "typical" installation option

Notes

There appears to be certain security issues with the codec.[35] Unregister the codec when done with the game by using the command regsvr32 /u "%WINDIR%\System32\ir50_32.dll". Ignore the runtime error that may come up. To re-register, see the Vista and later instructions.
Install QuickTime for Windows[36]
  1. Download QuickTime 7.79.80.95 (Vista or later) from Apple's site.
  2. Run the installer, but select Custom after accepting the license agreement.
  3. Make sure only QuickTime Essentials is checkmarked (certain programs may also require QuickTime Player also checked).
  4. For the Destination Folder page, uncheck make desktop shortcuts and automatic updates.
  5. Upon completing the install, open control panel and type "quicktime" in the search box to get QuickTime settings. To make this easier to access, right-click, Create shortcut, rename to Configuration and copy it to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\QuickTime (this folder might be hidden) for it to appear in the start menu under QuickTime.
  6. In the Update tab uncheck Check for updates automatically and in the Advanced tab uncheck Install QuickTime icon in system tray.
This installer also installs Apple Software Update, which can be uninstalled in "add or remove programs", as QuickTime for Windows no longer receives updates. Also note that if using other Apple software, such as iTunes for Windows, this QuickTime installer may replace Apple Software Update with an outdated version, forcing Apple Software Update to update itself.
Install QT Lite (based on QuickTime 7.6) for Windows XP or below.
Install ffdshow[37]
Choose the release with the number of bits the troublesome application is compiled for, regardless of the actual OS instruction set.

Issues fixed (CPU bottlenecks)

Force CPU affinity

Prevents processes from using other CPU cores than the ones allowed, which can work around threading synchronization issues that might exist.
This can have a detrimental effect on performance as the game is unaware that it is restricted to a limited number of CPU cores.
Since the game is still aware of the real number of CPU cores on the system, it may create more worker threads than the CPU cores it is limited to can process simultaneously, harming performance.
Provisional solution: Task manager
  1. Open Windows Task Manager.
  2. Find process for the application by Right-click on its task and press Go to process/details.
  3. Right-click on the process and select Set affinity.
  4. Deselect all other CPU cores than the ones the process should be allowed to run on. To prevent the process from using Intel's Hyper-Threading (HT) or AMD's Simultaneous Multi-Threading (SMT) CPU cores, deselect all odd-numbered CPU cores (1, 3, 5, 7, etc).
  5. Click OK to apply the change. It will take effect immediately.

Notes

Task Manager does not store the tweak permanently. It needs to be reapplied each time the process launches.
Permanent solution: customized shortcut
  1. Right-click on the desktop.
  2. Make a new shortcut to %WINDIR%\System32\cmd.exe.
  3. Open its properties and add the following to the "Target" field:
/C start "" /D "<path-to-game>\" /AFFINITY 1 "<path-to-game>\game.exe"

Notes

Shortcut name and icon can be customized to match game's ones.
Additional parameters can be normally added at the end of the target field.
Affinity value must be in hex. To assign more than a core check this table.
Permanent solution: Batch file
  1. Run Notepad.
  2. Type the following command:
start /affinity 1 game.exe
  1. Save as BAT file (e.g. "example.bat") where the game executable is located.
  2. Run the game directly from the BAT file.

Notes

It is also possible to make a shortcut to the BAT file and save it wherever you want.
Affinity value must be in hex. For further details, check out this table.
If running the game as administrator, the same must be done for the task manager.
Permanent solution: flag game executable
  1. Download ImageCFG.
  2. Place it in the same folder of the game executable.
  3. Open a command prompt, point it to the appropriate directory and run:
imagecfg -a 0x1 game.exe

Notes

The executable will not be backed up, so it has to be done manually.
Affinity value is in hex. Configuration examples are available on the download site mentioned above and also here.
Modifies executable file, not compatible with some forms of Anti-Cheat and DRM.
Use PsExec
  1. Download Sysinternals's PsTools.
  2. Extract PsExec in the game executable folder.
  3. Run the game through the following command (command line and/or a batch file can be used):
psexec -a 0 game.exe

Notes

Additional cores can be specified with a comma after the previous ones.
Use RunFirst
  1. Download RunFirst.
  2. Create a shortcut to RunFirst.exe with the path to game executable as a parameter.

Notes

This will not work if game requires to be launched through an external client.
Windows NT, 2000 & XP only: use StartAffinity
  1. Download StartAffinity.
  2. Unzip StartAffinity.exe to the WinNT or system32 directory.
  3. Run the game through the following commands (command line and/or a batch file can be used):
cd <path-to-game>
StartAffinity game.exe 0

Notes

Additional cores can be specified with a space after the previous ones.

Core parking causes problems with games

Quick registry hack[38]
  1. Open the Registry Editor and find key 0cc5b647-c1df-4637-891a-dec35c318583.
  2. Set the key ValueMax from 64 to 0.
Quick registry hack (extended, adjustable in power settings)[39]
  1. Open the Registry Editor and find key 0cc5b647-c1df-4637-891a-dec35c318583.
  2. Add a new key Attributes with type DWORD and value 00000000 or save the following as a .reg file and run it to add entries:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\0cc5b647-c1df-4637-891a-dec35c318583]
"Attributes"=dword:00000000

Now adjustable in Start -> Control Panel -> Power Options -> 'Change Plan settings' -> 'Change advanced power settings' -> Processor Power Management -> Processor performance core parking min cores; 100% means all are used.

Limiting CPU usage per process

Can fix freezes due to insufficient threads or CPU in some games on dual-core CPU, such as The Witcher 3, Steel Panthers: World at War, and Kingdom Come: Deliverance.
Download Battle Encoder Shirase[40]
  1. Run the application as administrator
  2. Target the game process after launching the game, and set the CPU to the desired percentage.
Download Process Lasso[41]

Set priority class of the game process to high

Might work in cases when Battle Encoder Shirase did not.[42]
Try System Explorer to bypass the startup message.[43]

Other information

Speed up loading of web pages in Windows

This affects all applications that relies on the internal subsystem of Windows to resolve proxy configurations, such as Google Chrome, Steam, and more.

Windows ships with the Automatically detect settings feature enabled by default for compatibility reasons to allows automatic configuration of internet connectivity in networks that supports it by using the DNS or DHCP services of said network. This option is not normally relevant for home or small network users as support for this type of automatic configuration is usually only found within corporate or academic networks that relies on some form of proxy to allow users to browse the web. The feature has in some instances been found to add noticeable delays when loading content from the Internet, and users might therefor want to disable it for troubleshooting purposes or permanently if they are connected to a network that does not rely upon it.

Disable Automatically detect settings in Internet Options[44]
  1. Open the Start menu and type Internet Options.
  2. Open the Connections tab, click the LAN Settings button.
  3. Uncheck the Automatically detect settings checkbox.

Notes

Re-enable the setting if Internet access is lost entirely within 48 hours.

Changing default timer resolution

This only concerns systems where the CPU is the limiting factor, and not the GPU, and can in some cases have a detrimental effect on performance.[45][46]
Timer resolution can not be set system-wide as of Windows 10 v2004 as requests are intended to be per-process only.[47] Windows 11 users can restore the original behavior, see one of the fixboxes below.
Windows 10 v2004 or newer: Use Special K or the frame limiter of RTSS to increases per-process timer resolution[48]
Windows 10 v1909 or earlier: Use TimerTool to set the resolution to the maximum (0.500ms)
Windows 10 changes timer resolution every several dozen of seconds, so keep TimerTool enabled in the background.
On Windows 8 and CPU-limited systems, changing the timer resolution from 10ms to 0.500ms can result in upwards of 30% more FPS in Crysis 3.[49][citation needed]
Other applications might already be requesting a higher resolution, such as the Steam client[50] and Discord,[50] making this tool unnecessary.[Note 3]
Windows 11 only: Restore legacy system-wide timer resolution behavior[51]
  1. Download the appropriate registry file.
  2. Open the registry file to add it to the registry of Windows.
  3. Restart the system to allow the change to take effect.
  4. After the restart the timer resolution will be set system-wide again as in Windows 10 v1909 or older.

File systems

Windows 10 has native support for 4 file systems: NTFS, exFAT, ReFS, and FAT32. The best one to install and play games on is considered to be NTFS. exFAT has problems with some legacy games,[52] ReFS is believed to be unable to install Microsoft Store apps[53] and cannot be used as a boot drive, while FAT32 is unable to store individual files larger than 4 GB (many modern games have individual files considerably larger than 4 GB).

Additionally, there are two so-called disk types supported by Windows: GPT and MBR. GPT is the official recommendation for Windows 10 and enables the use ≥2 TB hard drives and ≥5 primary partitions on the same drive; but many older drives that were involved in upgrades from Windows 7 to Windows 10, still remain as MBR. Windows 10 v1703 and newer comes bundled with the mbr2gpt.exe tool which can be used to convert MBR disks to the GPT format without any additional tools necessary.

Use the MBR2GPT tool:[54]
It is recommended to only convert secondary disks and not the Windows OS disk as otherwise the system might become unbootable without changing boot settings around in the UEFI/BIOS menu of the computer.
  1. Launch the Command Prompt as an administrator.
  2. Run the diskpart command, followed by list disk.
  3. Note the disks that lack a * below the Gpt column, as these are MBR disks.
  4. Type exit to exit Diskpart.
  5. Now validate the MBR disk using MBR2GPT /validate /allowFullOS /disk:# where # is the disk number from step 2-3.
  6. To perform the conversion if all validation tests pass, use MBR2GPT /convert /allowFullOS /disk:#
  7. The MBR disk should now have been converted to GPT.

Trusted Platform Module (TPM)

Windows 11 requires a feature referred to as TPM 2.0, a hardware chip that improves the OS security and encryption abilities. Most CPUs from 2015 or later have a firmware based one embedded within the processor, but the feature is not usually enabled by default.

Enable TPM in BIOS/UEFI:[55]
  1. Enter the BIOS/UEFI firmware settings of the system.
  2. If available, set the settings screen to the Advanced or Expert mode.
  3. The exact position of the TPM setting differ between motherboard producers but are usually found in Security Settings or similarly named menus.
  4. The setting name is typically one of the following:
    • fTPM (firmware TPM) - the firmware based TPM of AMD CPUs.
    • PTT (Intel Platform Trust Technology) - the firmware based TPM of Intel CPUs.
    • TPM - discrete TPM chips separate from the processor.

Disable security measures

The following methods lowers the integrity and security of the system. Use at your own risk!
This should only be attempted if no other option remains, and on systems where the risk of infection and exploits is minimized (e.g. systems without an active Internet connection).

Disable control flow guard (CFG)

Control flow guard (CFG) has been found to cause stuttering in some games, such as GTA IV, and in tested UE4 games: PUBG, Squad, It Takes Two and Borderlands 3[56].
Disable through Windows Security[57]
  1. Open Windows Security.
  2. Navigate to the App & browser control and click on Exploit protection settings.
  3. Click on the Program settings header, followed by Add program to customize.
  4. Add the program by its executable filename or by browsing to it.
  5. Scroll down to Control flow guard (CFG).
  6. Enable Override system settings and ensure the toggle is set to Off.
  7. Click on Apply to save the changes.
  8. Restart the system to allow the changes to take effect.

Disabling core isolation memory integrity

Memory integrity works by creating an isolated environment using hardware virtualization, and may lead to CPU bottlencks.[58]
Disable through Windows Security
  1. Open Windows Security.
  2. Navigate to the Device security and click on Core isolation details.
  3. Disable Memory integrity.
  4. Restart the system to allow the changes to take effect.

Disabling Spectre - and Meltdown - patches

Use InSpectre
May lower stuttering and FPS-issues in CPU-heavy games on configurations with low RAM and older Intel CPUs (Skylake, Haswell, or older).[59][60]
Restart needed after changes.

Force the use of the motherboard microcode version instead of the one from the OS

The current microcode update version loaded into the CPU can be loaded either from the motherboard or the operating system (if newer). Because of this, it is on some computers possible to downgrade the microcode version used by the CPU by forcing the use of the version present in the motherboard if said version is older by deleting the microcode version present in the OS.

Downgrading the microcode version can in some rare cases fix stuttering in some games, such as for Fortnite on Intel i5-4690K (e.g. when the OS microcode is revision 25, and the motherboard microcode is revision 24).[61][62]

Within %WINDIR%\System32, delete the mcupdate_GenuineIntel.dll and/or mcupdate_AuthenticAMD.dll DLL file(s).
Current loaded microcode version in the CPU can be checked through HWiNFO64's main window > Central Processor(s) > relevant CPU > Microcode Update Revision row. Note that this value indicates which microcode version is currently loaded into the CPU regardless of source, so the microcode version may have either been loaded through the motherboard or the OS (if newer than the motherboard version).
To determine what microcode version is stored within the motherboard, consult the BIOS/UEFI settings menu and/or the motherboard manual for further instructions.

Version table

Windows 11

Released Version OS build "Friendly name" Codename
October 31, 2023 Windows 11 v23H2 22631 23H2 Sun Valley 3
September 20, 2022 Windows 11 v22H2 22621 22H2 Sun Valley 2
October 5, 2021 Windows 11 22000 21H2 Sun Valley

Windows 10

Released Version OS build "Friendly name" Codename
October 18, 2022 Windows 10 v22H2 19045 22H2 22H2
November 16, 2021 Windows 10 v21H2 19044 21H2 21H2
May 18, 2021 Windows 10 v21H1 19043 21H1 21H1
October 20, 2020 Windows 10 v20H2 19042 October 2020 Update 20H2
May 27, 2020 Windows 10 v2004 19041 May 2020 Update 20H1, Vibranium
November 12, 2019 Windows 10 v1909 18363 November 2019 Update 19H2, Vanadium
May 21, 2019 Windows 10 v1903 18362 May 2019 Update 19H1
November 13, 2018 Windows 10 v1809 17763 October 2018 Update Redstone 5
April 30, 2018 Windows 10 v1803 17134 April 2018 Update Redstone 4
November 17, 2017 Windows 10 v1709 16299 Fall Creators Update Redstone 3
April 5, 2017 Windows 10 v1703 15063 Creators Update Redstone 2
August 2, 2016 Windows 10 v1607 14393 Anniversary Update Redstone 1
November 10, 2015 Windows 10 v1511 10586 November Update Threshold 2
July 29, 2015 Windows 10 v1507 10240 Windows 10 Threshold 1
Also known as being version NT 10.0.

Previous versions

Released Version OS build Release version Codename
October 17, 2013 Windows 8.1 9600 NT 6.3 Blue
October 26, 2012 Windows 8 9200 NT 6.2 '8'
October 22, 2009 Windows 7 7600 NT 6.1 Blackcomb
January 30, 2007 Windows Vista 6000 NT 6.0 Longhorn
April 25, 2005 Windows XP Professional x64 Edition 3790 NT 5.2 Anvil
October 25, 2001 Windows XP 2600 NT 5.1 Whistler
September 14, 2000 Windows Me 3000 4.90 Millennium
February 16, 2000 Windows 2000 2195 NT 5.0 Windows NT 5.0
May 5, 1999 Windows 98 Second Edition 2222 A 4.10 n/a
June 25, 1998 Windows 98 1998 4.10 Memphis, ChiCairo
August 24, 1996 Windows NT 4.0 1381 NT 4.0 Shell Update Release (SUR)
August 24, 1995 Windows 95 950 4.00 Chicago
May 30, 1995 Windows NT 3.51 1057 NT 3.51 ?
September 21, 1994 Windows NT 3.5 807 NT 3.5 Daytona
November 22, 1993 Windows 3.2 153 3.2 ?
November 8, 1993 Windows for Workgroups 3.11 300 3.11 Snowball
July 27, 1993 Windows NT 3.1 528 NT 3.1 Razzle
October, 1992 Windows for Workgroups 3.1 102 3.10 Winball, Sparta
April 6, 1992 Windows 3.1 103 3.10 ?
May 22, 1990 Windows 3.0 ? 3.00 ?
March 13, 1989 Windows 2.11 ? 2.11 ?
May 27, 1988 Windows 2.10 ? 2.10 ?
December 9, 1987 Windows 2.03 ? 2.03 ?
April 10, 1987 Windows 1.04 ? 1.04 ?
August 21, 1986 Windows 1.03 ? 1.03 ?
May 14, 1986 Windows 1.02 ? 1.02 ?
November 20, 1985 Windows 1.0 ? 1.01 ?


Notes

  1. There are only 3 major .NET CLR versions[1][2][3] that at worst should be needed to be installed.
  2. Running with the RunAsInvoker compat layer effectively discounts any application manifest consideration here.
  3. Users can run powercfg /energy in an elevated command line prompt to generate a power efficiency diagnostics report in Windows which will gather data for a minute. After a minute have passed, check the report in C:\WINDOWS\system32\energy-report.html to identify (labeled Platform Timer Resolution:Outstanding Timer Request) which running processes requested a higher resolution and what resolution they requested.

References

  1. Frequently Asked Questions About the .NET Framework 1.1 - MSDN (retrieved)
  2. .NET Framework & Windows OS versions | Microsoft Docs
  3. .NET Versioning and Multi-Targeting - .NET 4.5 is an in-place upgrade to .NET 4.0 - Scott Hanselman - last accessed on May 2023
  4. Reddit - BUG: DX9/DX11 Games do not enter Independent FLIP mode presentation in builds newer than 1709 in borderless mode. - last accessed on 2020-07-21
    "I ran presentmon and compared borderless games from 1709, and 1803-1903, and it seems all newer builds than 1709 run games in borderless as COPY with GPU GDI"
  5. Reddit - BUG: DX9/DX11 Games do not enter Independent FLIP mode presentation in builds newer than 1709 in borderless mode. - MSFTJesse (Jesse Natalie @ Microsoft's DirectX team) - last accessed on 2020-07-21
    "FYI, this is by design. There are some behaviors that flip model (a prereq for independent flip) cannot replicate. The fact that they used to get upgraded to flip model in windowed mode (note that from the API point of view, borderless windowed is still just windowed) meant that there was a risk of breaking some games. As we're trying to more broadly enable the use of independent flip for all apps, that risk became unacceptable, so we enabled the promotion to only apply while the games are in fullscreen exclusive mode."
  6. DirectX Developer Blog - Updates in Graphics and Gaming - last accessed on 2022-08-20
  7. Verified by User:Aemony on 2018-08-19
    I have now experienced this on two different systems, with both Special K and ReShade while injected into games using "dxgi.dll", despite fullscreen optimizations being disabled.
  8. Xbox Support - Use Game Mode while gaming on your Windows 10 device - last accessed on 2020-05-09
    "When you use Game Mode, Windows prioritizes your gaming experience. When you’re running a game, Game Mode:
    • Prevents Windows Update from performing driver installations and sending restart notifications.
    • Helps achieve a more stable frame rate depending on the specific game and system."
  9. Reddit - /r/pcgaming - hamiltonia comments on Does Windows 10 Game Mode still hurt performance? - last accessed on 2020-05-09
    "In these later builds Game Mode is intended to help by removing distractions while playing. In particular it tries to stop Windows Update from updating drivers and stops it from notifying the user of non-critical updates. It also causes the CPU to run at a minimum of 100% (on desktop, not laptops) to help reduce CPU fluctuations which may cause performance issues."
  10. Reddit - /r/pcgaming - hamiltonia comments on Does Windows 10 Game Mode still hurt performance? - last accessed on 2020-05-09
    "In the latest versions of Windows (1809 & 1903) Game Mode no longer does GPU/CPU prioritization. This prioritization was intended to give more resources to the running game at the cost of background processes, but we found it impacted some games and other scenarios. As an example streaming was impacted in apps like OBS because we were starving them of resources needed to encode."
  11. [1] Blog entry of memory compression tests
  12. [2]
  13. IPX on Windows 7 - last accessed on 9 June 2023
  14. What happened to MIDI Mapper on Windows 8 (and later)? | CoolSoft
  15. DirectDraw emulation still broken in Windows 10 - last accessed on May 2023
  16. Microsoft Windows 512Hz Limit And Pixel Clock Limit | Blur Busters
  17. BCDEdit /set (Windows Drivers) - Microsoft Developer Network - last accessed on May 2023
  18. The oft-misunderstood /3GB switch – The Old New Thing (retrieved)
  19. Kernel address space consequences of the /3GB switch – The Old New Thing (retrieved)
  20. /3GB (Windows Drivers) - Microsoft Developer Network (retrieved)
  21. Windows Vista File and Registry Virtualisation – Richard's Weblog - last accessed on 9 June 2023
  22. Change the system locale - Windows Help - last accessed on May 2023
  23. "lag" in online games with Windows 7 - Windows 7 Help Forums - last accessed on May 2023
  24. [ALL] Problem with lag on Windows 7 and 10 - Forums de l'Alliance Francophone Sudden Strike
  25. Is there any way to stop Windows 10 from scanning for Wi-Fi networks in - Microsoft Community - last accessed on May 2023
  26. 26.0 26.1 Turn off Wi-Fi scanning on Windows 8 - Super User
  27. Fix for Rayman 2 crash on Woods of Light and other levels - make DEP exception or restore def. settings - Rayman Pirate-Community - last accessed on 9 June 2023
  28. Gaurav Bodar's Blog : Disable DEP on applications (retrieved)
  29. Standby memory issue causing stutters on creators : Windows10 - Reddit - last accessed on May 2023
  30. Windows XP Users: step-by-step guide to get Tequila to work again. - Homecoming Forums - last accessed on May 2023
  31. Retrieve files from the Windows.old folder - Microsoft Windows Help - last accessed on May 2023
  32. 32.0 32.1 Monopoly Tycoon Music Fix | mrpenguinb's blog
  33. 33.0 33.1 RockRaidersUnited - Stunt Rally Runtime Error/abnormal termination Win10
  34. Indeo 5.x problem with Vista - last accessed on 9 June 2023
  35. 35.0 35.1 Microsoft Security Advisory: Vulnerabilities in the Indeo codec could allow remote code execution: December 8, 2009
  36. QuickTime Installation Guide - K-Lite Codec Pack - last accessed on May 2023
  37. Tomb Raider 6 Modding Thread - www.tombraiderforums.com - last accessed on 9 June 2023
  38. Windows 7 & Core Parking .... a *better* way to Turn It OFF .... | Cakewalk Forums
  39. Core Parking in Windows (Disable for more performance) | Overclock.net
  40. 4-5 second complete freezes - Comment #24 - last accessed on 9 June 2023
  41. 4-5 second complete freezes - last accessed on May 2023
  42. 4-5 second complete freezes - Comment #14 - last accessed on 9 June 2023
  43. Process Priority Saver for Windows: 6 Best Toos We Tested - HAL900 - raymond.cc - last accessed on 2023-02-18
  44. Reddit Gaming Subreddit - Make Big Picture Quicker - last accessed on May 2023
  45. Microsoft Docs - timeBeginPeriod function - last accessed on 2019-05-31
  46. Random ASCII - Windows Timer Resolution: Megawatts Wasted - last accessed on 2019-05-31
  47. Random ASCII - Windows Timer Resolution: The Great Rule Change - last accessed on 2021-10-21
  48. Verified by User:Aemony on 2023-01-02
    Forgot the defaults, but I think RTSS automatically sets 1ms per-process, while SK sets 0.5ms per-process?
  49. Crysis 3 - 30% Framerate and Performance Boost, and FPS Cap Removal [120Hz.Net - HyperMatrix] - YouTube
  50. 50.0 50.1 Verified by User:Aemony on 2019-05-31
  51. Random ASCII - Windows Timer Resolution: The Great Rule Change - Comment by schizobeyond, posted December 20, 2022 - last accessed on 2023-01-02
  52. How can I fool Steam to think my exFat drive is NTFS? - last accessed on 2021-07-03
  53. What I learned after 30 minutes with ReFS - last accessed on 2021-07-03
  54. Microsoft Learn - Windows Deployment - MBR2GPT - last accessed on 2023-01-02
  55. Verified by User:Dandelion Sprout on 2021-07-03
  56. https://www.reddit.com/r/borderlands3/comments/odd9zb/comment/hqlkyh0/?utm_source=reddit&utm_medium=web2x&context=3
  57. Disabling "Control Flow Guard" in Windows Defender Improved stuttering and low FPS : PUBATTLEGROUNDS - Reddit - last accessed on May 2023
  58. https://www.purepc.pl/test-wplywu-funkcji-izolacja-rdzenia-na-wydajnosc-w-grach-na-systemie-windows-11?page=0,2
  59. Understanding the performance impact of Spectre and Meltdown mitigations on Windows Systems - Microsoft Security - last accessed on 2020-09-15
  60. Benchmarks for all the security patches and microcode updates on a Skylake 6700K : hardware - last accessed on 2020-09-15
  61. https://www.purepc.pl/rozrywka/wkrotce_beta_gears_of_war_5_znamy_wymagania_sprzetowe_na_pc#comment-586406
  62. Intel/AMD uCode fix for Spectre, HT bug fix and Meltdown. | NotebookReview