 kes601
join:2007-04-14 Virginia Beach, VA
1 edit | Logoff Script to Fix Screen Orientation
Our students have decided it is fun to change the screen orientation using ctrl-alt-arrow key and the logging off the machine. Because this is part of the Intel driver software I can't seem to block it domain wide. So -- I'm thinking maybe there is a logoff script I could write that would do a hot key at logoff (ctrl-alt-up arrow). Anybody have any clues on how I might be able to write such a script?
Thanks in advance. |
|
 mattyw
join:2004-01-16 Carmel, NY | You could always disable hotkeys and the tray icon in the intel driver then use a GPO to block access to the display control panel. |
|
 kes601
join:2007-04-14 Virginia Beach, VA | I did that, unfortunately the hot keys stayed enabled for all other users.
Thanks for the suggestion though, much appreciated. |
|
 mattyw
join:2004-01-16 Carmel, NY | I didnt know that was a per user setting, damn! |
|
 Insder There never was a second I in my name Premium join:2005-04-27 Salem, MA
| reply to kes601 said by kes601 :Our students have decided it is fun to change the screen orientation using ctrl-alt-arrow key and the logging off the machine. Because this is part of the Intel driver software I can't seem to block it domain wide. So -- I'm thinking maybe there is a logoff script I could write that would do a hot key at logoff (ctrl-alt-up arrow). Anybody have any clues on how I might be able to write such a script? Thanks in advance. Couple of ways you can do this. The way I handled it at work was removing igfxtray.exe from the start-up/deleting or renaming the EXE at my work. We only have 80-ish computers so it was fairly easy with a script. If you still need the Intel Graphics Utility for some odd reason, you can use the SendKeys capability of VBScript (»msdn.microsoft.com/en-us/library···%29.aspx) to possibly send Ctrl-Alt-Up at every logoff. -- The one, the only, the Insder. :: Fighting phishing for life. |
|
 Neo62381
join:2003-04-18 Lenoir, NC | reply to kes601 I would do some looking into registry permissions in a GPO, if it cant write to the key, it cant happen |
|
  Serbtastic You Know How Many People I Have Buried? Premium join:2002-02-24 Stoney Creek
| That's exactly what I just tested. I used Process Monitor to trace where in the reg the new values were getting written, and on my machine its at:
HKLM\SYSTEM\CurrentControlSet\Services\ialm\Device0
Remove write permissions to this reg key for the students' user group and you should be good. |
|
 kes601
join:2007-04-14 Virginia Beach, VA
| said by Serbtastic :That's exactly what I just tested. I used Process Monitor to trace where in the reg the new values were getting written, and on my machine its at: HKLM\SYSTEM\CurrentControlSet\Services\ialm\Device0 Remove write permissions to this reg key for the students' user group and you should be good. Perfect, I will try that as soon as I get a chance. I tried the VBS logoff script and it does not work because the Intel utility is closed before the script runs..... |
|
  Serbtastic You Know How Many People I Have Buried? Premium join:2002-02-24 Stoney Creek | Let us know if that works. |
|
 Neo62381
join:2003-04-18 Lenoir, NC
| reply to kes601 If that DOESNT work.. maybe you can remove all the read and execute perms from the Intel Graphics Utility in %programfiles% with a gpo? more then one way to skin a cat...
I also will be watching this thread like a hawk... I know many businesses that deal with the same scenario... of course, Ideally, the tech setting up the computer would be wise enough not to install that garbage to begin with.... but.. thats thinking of a perfect world. |
|
  drew Reformation Premium join:2002-07-10 Port Orchard, WA clubs:
·wavebroadband
| That garbage comes with the driver package and when setting up the last 4 or 5 laptops here at my employment, I saw no option to disable it... -- Come play Mafia! | My Picture Blog |
|
  Matt Take me down to the paradise city Premium join:2003-07-20 Jamestown, NC
·North State Commun..
| reply to kes601 It's probably overkill, but I love love love Windows SteadyState: »www.microsoft.com/windows/produc···ult.mspx
If they change something, download a virus, whatever, simply reboot the machine and boom, back to the original configuration. And it's free. |
|
  lordfly
join:2000-10-12 Homestead, FL
·AT&T Southeast
| said by Matt :It's probably overkill, but I love love love Windows SteadyState: » www.microsoft.com/windows/produc···ult.mspxIf they change something, download a virus, whatever, simply reboot the machine and boom, back to the original configuration. And it's free. I have bookmarked this for later. I didn't know this existed. Most of the desktops here at work are shared with roaming profiles. This would solve some 'problems'. |
|