I’ve been having a lot of issues lately with the ShadowPlay feature of nVidia’s Geforce Experience application.
This usually manifests itself when I’m running a game, and the game crashes for some reason. If this occurs while I’m streaming to Twitch, or sometimes just recording locally, the next time I start the game, ShadowPlay has ceased to work and I’m unable to start streaming again. Restarting seemed to be the only fix for this.
Upon further investigation I found that Geforce Experience (GFE) is comprised of several services in Services.msc, all starting with nVidia.
I wrote a little script which restarts these services in the proper order to restore GFE’s ShadowPlay functionality.
taskkill /im gfexperience.exe net stop nvstreamsvc net stop GfExperienceService net start GfExperienceService start "Loading GFE..." "C:\Program Files (x86)\NVIDIA Corporation\NVIDIA GeForce Experience\GFExperience.exe"
To use, simply paste the script above into a .bat file, and run it as Administrator. Hope this helps anyone having similar issues!