+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 29
Windows Thread, Disabling sticky keys via group policy in Technical; Im trying to disable sticky keys via the software restriction policy in group policy. Ive found what you have to ...
  1. #1

    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,198
    Thank Post
    321
    Thanked 314 Times in 219 Posts
    Rep Power
    125

    Disabling sticky keys via group policy

    Im trying to disable sticky keys via the software restriction policy in group policy. Ive found what you have to change in the registry, but how do you change a REG_SZ value for Flags from 510 to 506 or just disable this part of the registry?

  2. #2
    mrforgetful's Avatar
    Join Date
    May 2006
    Posts
    1,639
    Thank Post
    7
    Thanked 15 Times in 15 Posts
    Rep Power
    23

    Re: Disabling sticky keys via group policy

    I'd have thought this would be against regulations on Disability access?

  3. #3
    seanmh's Avatar
    Join Date
    Apr 2007
    Location
    Devon
    Posts
    114
    Thank Post
    6
    Thanked 15 Times in 14 Posts
    Rep Power
    18

    Re: Disabling sticky keys via group policy

    I use Kixtart for this purpose and include these in my script, when each user logs in.

    Code:
    $RC=WRITEVALUE("HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys","Flags","506","REG_SZ")
    
    $RC=WRITEVALUE("HKEY_CURRENT_USER\Control Panel\Accessibility\HighContrast","Flags","122","REG_SZ")
    
    $RC=WRITEVALUE("HKEY_CURRENT_USER\Control Panel\Accessibility\MouseKeys","Flags","58","REG_SZ")
    
    $RC=WRITEVALUE("HKEY_CURRENT_USER\Control Panel\Accessibility\Togglekeys","Flags","58","REG_SZ")
    As I know they're a pain in the wotsits if the kids "accidently" activate these options and seeing as we don't really have anyone who uses these options then I turn them off.

    [please use CODE and QUOTE tags in the future - thanks - tarquel]

  4. #4

    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,198
    Thank Post
    321
    Thanked 314 Times in 219 Posts
    Rep Power
    125

    Re: Disabling sticky keys via group policy

    nah not really, its only sticky keys been disabled, plus its a PITA.

  5. #5
    tomscaper's Avatar
    Join Date
    Jul 2006
    Posts
    814
    Thank Post
    118
    Thanked 29 Times in 15 Posts
    Rep Power
    23

    Re: Disabling sticky keys via group policy

    i am looking to disable sticky keys too, because the kids are constantly using Alt + Left Shift + Prnt Screen to change the screen to high contrast.
    As for disability access we would set a seperate group up where this wasnt disabled but i cant work out how to do this, so if you can explain what needs altering would be grateful.

    Tom

  6. #6

    Join Date
    Jun 2007
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Disabling sticky keys via group policy

    Quote Originally Posted by timbo343
    Im trying to disable sticky keys via the software restriction policy in group policy. Ive found what you have to change in the registry, but how do you change a REG_SZ value for Flags from 510 to 506 or just disable this part of the registry?

    Could someone tell me how to go about doing this please? I've been trying to disable Sticky Keys on my users PC's without success and its driving me mad now What rule do I need to add?

    Cheers

  7. #7

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741

    Re: Disabling sticky keys via group policy

    Use AutoIT's Regwrite function - EG:

    ; Write a single REG_SZ value
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Test", "TestKey", "REG_SZ", "Hello this is a test")
    If someone provides a link or the actual reg keys that need changing / writing I'll do the script tomorrow if I get time. I'm off this afternoon.....

    [ Or just use seanmh's kix script ]

  8. #8
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,007
    Thank Post
    124
    Thanked 286 Times in 263 Posts
    Rep Power
    109

    Re: Disabling sticky keys via group policy

    Code:
    'Disable Sticky Keys
    Set ObjShell = Wscript.CreateObject("Wscript.Shell")
    RegKey = "HKCU\Control Panel\Accessability\Stickykeys\"
    WSHShell.RegWrite regkey & "Flags","506","REG_SZ"
    Vbscript version.

  9. 2 Thanks to ChrisH:

    Griff (28th April 2010), Reaper (22nd May 2008)

  10. #9

    Join Date
    Jun 2007
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Disabling sticky keys via group policy

    I found this administrative template but it doesn't work, does anyone know what I can add to it to make it work? Cheers

    CLASS USER
    CATEGORY "Custom Template"
    CATEGORY "Status of Stickies"
    KEYNAME "Control Panel\Accessibility\StickyKeys"
    POLICY "Turned on"
    VALUENAME "Flags"
    VALUEON "506"
    VALUEOFF DELETE
    END POLICY
    END CATEGORY; "Status of Stickies"
    END CATEGORY; "Custom Template"

  11. #10

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741

    Re: Disabling sticky keys via group policy

    I was bored:

    ; AutoIt Version: 3.2.0.1
    ; Language: English
    ; Platform: WinXP
    ; Author: Matt Marsh - mmarsh@st-johns.org.uk
    ; Script Function: Disable Sticky Keys
    ; Version: 1
    ; Date: June 2007

    RegWrite("HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys", "Flags", "REG_SZ", "506")
    If you want this to run at startup it may be worth sticking in a RunAsSet command. EG:
    RunAsSet("administrator", @ComputerName, "PASSWORD")
    RunAsSet()
    Compile as an .exe and stick it in your logon script or startup folder....

    All this talk of sticky keys has made me want to go and play chicken invaders now.....

    http://www.download-free-games.com/f...n_invaders.htm


    Ooo, just been playing and if you set it to 26 it pretty much disables everything sticky related..... :rr:

  12. #11

    Join Date
    Jun 2007
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Disabling sticky keys via group policy

    Quote Originally Posted by forsythe_99
    I found this administrative template but it doesn't work, does anyone know what I can add to it to make it work? Cheers

    CLASS USER
    CATEGORY "Custom Template"
    CATEGORY "Status of Stickies"
    KEYNAME "Control Panel\Accessibility\StickyKeys"
    POLICY "Turned on"
    VALUENAME "Flags"
    VALUEON "506"
    VALUEOFF DELETE
    END POLICY
    END CATEGORY; "Status of Stickies"
    END CATEGORY; "Custom Template"

    Anyone able to help?

  13. #12

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741

    Re: Disabling sticky keys via group policy

    Why not use one of the other 3 solutions ?
    You have a kix solution, an AutoIT solution and a vbscript solution....

  14. #13

    Join Date
    Jun 2007
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Disabling sticky keys via group policy

    Quote Originally Posted by mattx
    Why not use one of the other 3 solutions ?
    You have a kix solution, an AutoIT solution and a vbscript solution....
    Because I have only just started learning this stuff and I don't know how to use the other 3 solutions

  15. #14
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,007
    Thank Post
    124
    Thanked 286 Times in 263 Posts
    Rep Power
    109

    Re: Disabling sticky keys via group policy

    Put the vbscipt version in a text file and save it as whateveryouwant.vbs. Then in group policy add it as a logon script.

  16. #15

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741

    Re: Disabling sticky keys via group policy

    I tried to upload the .exe file but the site won't let you upload .exe files - still you can easily compile it yourself with the AutoIT compiler:

    http://www.autoitscript.com/autoit3/downloads.php



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Group policy
    By pedster666 in forum Hardware
    Replies: 5
    Last Post: 27th February 2008, 11:03 AM
  2. Blocking Sticky Keys
    By sLiDeR in forum Network and Classroom Management
    Replies: 8
    Last Post: 15th August 2007, 01:26 PM
  3. Disable sticky/filter keys
    By UnknownStuntman in forum Windows
    Replies: 2
    Last Post: 20th September 2006, 10:56 AM
  4. Group Policy
    By faza in forum Windows
    Replies: 15
    Last Post: 23rd May 2006, 10:39 AM
  5. Group Policy
    By faza in forum Wireless Networks
    Replies: 2
    Last Post: 23rd May 2006, 08:30 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •