Is it possible to control Left-handed Mouse settings via GPO? (or a script that can be pushed using GPO :)

I have Windows 7 / Windows Server 2008.

Many thanks for your advice.

Toast

link|improve this question

74% accept rate
@Toastman: Blind AND left-handed eh? :) – techie007 Feb 3 '10 at 18:18
Haha!! Indeed :-) – ToastMan Feb 3 '10 at 19:16
feedback

2 Answers

up vote 2 down vote accepted

I realize you already accepted an answer, but here's a VBS version of it for you as well (cause I know you were kind of looking for that):

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

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

strValueName = "SwapMouseButtons"
strValue = "1"
objRegistry.SetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue

Just be aware that these settings won't take affect until the next time the user logs in (after it's been applied), and also be aware that things like Logitech's MouseWare and SetPoint will often just switch that registry setting back (until you set it in their mouse-specific software) once they load after logon.

link|improve this answer
Ah ha! Now that's exactly what I needed :) Thanks again techie007, that's the second mouse problem u help me with :P – ToastMan Feb 3 '10 at 19:06
feedback

Yes, it can be done.

Group Policies -> User Configuration -> Preferences -> Windows Setting

Go to the 'Registry' setting.

Add a new Registry setting.

[HKEY_CURRENT_USER\Control Panel\Mouse]
SwapMouseButtons (RegSZ) = 1
link|improve this answer
Thank you this is good as well. – ToastMan Feb 3 '10 at 18:42
feedback

Your Answer

 
or
required, but never shown

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