Change cursor color to black in win 10
$RegCursors.SetValue(“Help”,”%SystemRoot%\cursors\help_r.cur”) $RegCursors.SetValue(“Crosshair”,”%SystemRoot%\cursors\cross_r.cur”) $RegCursors.SetValue(“Arrow”,”%SystemRoot%\cursors\arrow_r.cur”) $RegCursors.SetValue(“AppStarting”,”%SystemRoot%\cursors\wait_r.cur”) $RegCursors = $RegConnect.OpenSubKey(“Control Panel\Cursors”,$true) I was able to script the registry updates by using the following code: The settings are referenced in the following screen shot. There are several registry values for each item in the Cursors key relative to the mouse pointer scheme. I did what any system administrator should do, start the “how does this actually work” process.īased on the research up to this point, I know the mouse pointer scheme settings are stored in the registry, specifically the “HKCU\Control Panel\Cursors” key. To my shocking surprise, there wasn’t a lot of information available.
#Change cursor color to black in win 10 windows
Without any thought I said, “Sure it can, Windows PowerShell can practically do anything.” I began to search the “interwebs” for ideas on how I was going to accomplish this task.
To make a long story short, he wanted to have this script run for a specific user when launching a published application from Citrix. One of my co-workers asked if I could automate, with Windows PowerShell, of course, changing a user’s mouse pointer scheme. Have you ever encountered a problem where you almost gave up and thought, “Well … I guess it can’t be done.” I ran into that exact situation just the other day. Take it away, Brian … Can Windows PowerShell change the mouse pointer scheme? Today, we have a guest blogger-Brian Wilhite is an Honorary Scripting Guy and member of the Charlotte PowerShell Users Group. Microsoft Scripting Guy, Ed Wilson, is here. Summary: Guest blogger and Honorary Scripting Guy Brian Wilhite talks about using Windows PowerShell to change a user’s mouse scheme.