NVIDIA ShadowPlay - how enable/disable via command line console or programmatically via script/bat/cpp ?
41 Answer
See the article[Guide] Shadowplay Mods, and especially the section "MANAGING SHADOWPLAY" for the requested information.
To disable NVIDIA ShadowPlay, run the following command as administrator:
C:\Windows\system32\rundll32.exe C:\Windows\system32\nvspcap64.dll,ShadowPlayDisableTo turn it back on, run:
C:\Windows\system32\rundll32.exe C:\Windows\system32\nvspcap64.dll,ShadowPlayEnableEDIT: This no longer works (2019). The Geforce Experience program is left as the only tool for this.
If you wish to disable system services, theNvContainerLocalSystem and NvContainerNetworkService services are both
used for using NVIDIA GameStream and at least one of them is responsible
for recording. In addition, the services nvsphelper64.exe/nvsphelper.exe(64- and 32-bit versions) listen for the hotkey that opens the
GeForce Experience overlay, by default Alt+Z.
For stopping/starting system services, you could use these commands run as Administrator:
sc stop NvContainerLocalSystem
sc stop NvContainerNetworkService
sc start NvContainerLocalSystem
sc start NvContainerNetworkService 1