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 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

share|improve this question
    
@Toastman: Blind AND left-handed eh? :) –  techie007 Feb 3 '10 at 18:18
    
Haha!! Indeed :-) –  ToastMan Feb 3 '10 at 19:16

2 Answers 2

up vote 3 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.

share|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

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
share|improve this answer
    
Thank you this is good as well. –  ToastMan Feb 3 '10 at 18:42

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.