

If I start windows explorer (from my forms app) before executing the code, it works (as expected). Wu.StartInfo.FileName = " /name Microsoft.WindowsUpdate" The following quite similar code, which also does not work on windows 10, does work on windows 8.1: Process p Fortunately, by changing a few settings, you can keep at least some of your information out of the software. This works fine when the windows desktop is present however, I need to run it from a custom user interface (implemented through GP), and it does not work in this environment. By default, Windows 10 shares a lot of data with Microsoft about your usage habits.

MessageBox.Show ( "exception: " + e.Message ) ProcStartInfo = new ( "ms-settings:network-wifi" ) If it doesn’t support HDR, this script won’t be of much use to you.I have a windows form application that tries to display the windows 10 wifi settings panel when a button is pressed. The script cannot select a different display and when the Setting app is opened, your primary display is the one that is selected by default. Since this is a script, it might run into some trouble if you have multiple displays and only one of them supports HDR. It is still going through the Settings app so you don’t have to worry about it changing something that you can’t change on your own. The script isn’t going to run in the background, nor is it going to tweak anything in the registry. When you run these scripts, they will open the Settings app, automatically select the System group of settings, go to the Display tab, select the HDR option on the Display tab, and then enable it. Set oShell = CreateObject("WScript.Shell") VBS file extension and give it a name that tells you it will disable HDR. Open a new Notepad file and paste the following in it. VBS file extension and give it a name that tells you it will enable HDR. Open a new Notepad file and paste the following in it Set oShell = CreateObject("WScript.Shell") However I needed that setting to allow FolderLocations to be set to redirect the ProgramData and Users folder to the D: drive. These scripts have been written by Reddit user u/tannerjohngates. I found that the setting SkipMachineOOBE is causing the Windows 10 Settings (including display) to be removed. In order to toggle HDR, we’re going to need two scripts one to enable it and one to disable it.
