Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to control Mouse Pointer Schemes via GPO without tampering with the registry?

I have Windows 7 / Windows Server 2008, I need to be able to control the Mouse Pointer Schemes for certain users on the domain, not sure how.

Many thanks for your advice.

Toast

share|improve this question

migrated from superuser.com Feb 2 '10 at 23:19

This question came from our site for computer enthusiasts and power users.

1 Answer 1

up vote 0 down vote accepted

Since all (mainly) GP does is tamper with the registry I wouldn't be afraid of that. :)

There's no specific GPO for the mouse cursors that I know of, but you can figure out what cursor set you want, and then create a login script that you can apply to certain users -- same effect in the end.

Here's a suggested/example script (found here) that should get you started:

------------8<---------------

Const HKEY_CURRENT_USER = &H80000001
strComputer = "." 
Set Shell = CreateObject("WScript.Shell") 

Set objRegistry = GetObject ("winmgmts:\\" & strComputer & "\root\default:StdRegProv") 
strKeyPath = "Control Panel\Cursors" 

strValueName = Array("Arrow", "Help", "AppStarting", "Wait","Crosshair", "IBeam","NWPen", "No","SizeNS", "SizeWE","SizeNWSE","SizeNESW", "SizeAll","UpArrow") 
strDescription = Array("%SYSTEMROOT%\cursors\arrow_rl.cur", "%SYSTEMROOT%\cursors\help_rl.cur","%SYSTEMROOT%\cursors\wait_rl.cur","%SYSTEMROOT%\cursors\busy_rl.cur","%SYSTEMROOT%\cursors\cross_rl.cur","%SYSTEMROOT%\cursors\beam_rl.cur","%SYSTEMROOT%\cursors\pen_rl.cur","%SYSTEMROOT%\cursors\no_rl.cur","%SYSTEMROOT%\cursors\size4_rl.cur","%SYSTEMROOT%\cursors\size3_rl.cur","%SYSTEMROOT%\cursors\size2_rl.cur", "%SYSTEMROOT%\cursors\size1_rl.cur","%SYSTEMROOT%\cursors\move_rl.cur","%SYSTEMROOT%\cursors\up_rl.cur")

For i = 0 to 13
objRegistry.SetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName(i), strDescription(i)
Next

------------8<---------------

HTH

share|improve this answer
    
techie007, do you know of any executable that will change the mouse scheme? –  ToastMan Feb 3 '10 at 16:59
    
A VBS script is (basically) 'executable' :) Try "C:\><scriptname>.vbs" to run it with the default script processor (usualy WScript) or "C:\>cscript <scriptname>.vbs" to make it only use the console for output. –  techie007 Feb 3 '10 at 17:47
    
BTW: you can specify .VBS scripts directly as logon or logoff (etc.) scripts via GP. –  techie007 Feb 3 '10 at 17:48
    
Oh yes I know, what I was referring to is FILE.EXE, I think i've seen something like that in Windows 98, you run that executable and it changed your mouse settings instantly. I was wondering if something like that exists for Windows 7 :| Thanks :) –  ToastMan Feb 3 '10 at 17:54
    
Not familliar with FILE.EXE, so there MAY be something that does it for Windows 7, but I dunno. ;) –  techie007 Feb 3 '10 at 18:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.