Edit and Apply registry settings via PowerShell

Posted by & filed under Programming.

The video game Diablo 3 is a great game, however due to its extremely vibrant and chaotic particle effects during fights it can become very difficult to see the mouse cursor.

So I’ve written a quick script for Windows users to turn on mouse cursor trails in Diablo 3. It will automatically disable the trails when you exit the game. I’ve found it helps *a lot* in being able to keep track of the cursor.

No need to download anything so no keyloggers or malware here. And it doesn’t touch Diablo what-so-ever, so no chance of being banned.


  1. Copy the script code below into a new Notepad file. Save it as Mouse Cursor Changer.ps1. You can save it to any location, but I suggest just putting it in to your Diablo folder just so its always there.
  2. Right-click Diablo3.exe and select Create Shortcut.
  3. Right-click the new shortcut and select Properties.
  4. In the Target field, paste in the following line replacing the directory paths with your own:
  5. That’s it! You can move the shortcut to your desktop or anywhere else.

3 Responses to “Edit and Apply registry settings via PowerShell”

  1. Lee

    hm, just a black window pops up for a moment and the game doesn’t start. I tried both ‘diablo III.exe’ and ‘diablo III Launcher.exe’

    • Scott Richmond

      Hey Lee,

      Yeah I had a few typo’s in both the script and the shortcut syntax – Diablo3.exe should actually be Diablo III.exe and I moved the ‘-w -launch’ arguments into the script itself.
      I have updated the original post so use the new versions and it should work.


Leave a Reply