Solved

How can I disable F4 Key in Remote Access Environment (RDS) on Win 2008 R2 Server???

Posted on 2010-11-18
7
920 Views
Last Modified: 2013-11-21
Dear Sir,

I have a full RDS environment using Win 2008 R2.
I disabled F4 key in the registry... using the following reg:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,06,00,00,00,00,00,5B,E0,00,00,5C,E0,00,00,3e,00,00,00,0f,00,00,00,01,00,00,00,00,00

If I want to enable again, I use this one:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,00,00


If I access the server locally, then I open any application and try to close it using Alt+F4, it will not close because F4 key is disabled...
However if I access the server remotely RDP, and press Alt+F4, the application or any window will close.
I don't want Alt+F4 to close anything if I'm accessing remotely using Remote Desktop Services... RDS

I didn't have this issue before with Win 2003/2008 Server TS... F4 key was disable remotely and locally...
Microsoft changed something Between 2003/2008 and 2008 R2...

I'm not able to find any resource on what is changed between the 2 Windows Server versions related to remote access keys...

Please I need a help on how to disable F4 key in Win 2008 R2.

Thank You!

Regards,

-Charbel-
0
Comment
Question by:ISC-IT-Admin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 74

Expert Comment

by:Glen Knight
ID: 34175466
Have you got loopback processing enabled?

Just a guess really as if it's working on the local machine as you want it to this could be the problem.

See here for more details: http://support.microsoft.com/kb/141229
0
 
LVL 1

Author Comment

by:ISC-IT-Admin
ID: 34175729
Hello Demazter,

Thank you for the reply.

Sorry I didn't understand what do you mean by loopback processing enabled?
I need to disable F4 key from remote access.
It's disabled locally on the server... but not remotely...

I used The IgnoreRemoteKeyboardLayout registry entry value 1, without success.

http://social.technet.microsoft.com/forums/en-US/winserverGP/thread/f68f92bd-4b43-42aa-b4fb-ab0070d3c42d/

Please any help on how to disable it on Win 2008 R2!

Thank You.

0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 34176184
OK, let me get this right, you are using the web interface yes?
If so then I don't believe that you are going to get this to work the way you want it to.
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 1

Author Comment

by:ISC-IT-Admin
ID: 34178379
Hello demazter,

I didn't have this issue before with Win 2003 server.
If I access the server remotey in Win 2003, then I open any window and try to close it using Alt+F4, it won't close because F4 key is disabled in the registry...
However is not the case in Win 2008 R2, if I access the server Locally F4 is disabled, but remotely not...
I can still close any window remotely...

Any idea?

Thanks,
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 34178800
First of all if you want correct answers, you need to answer my questions.

If you are launching a remote app and not connecting to the remote desktop services then you are as far as the client is concerned running an application (remote desktop) locally.  Therefore if you press ALT+F4 then this is a shortcut on the client machine not the server.

I would suggest the behaviour you are seeing is correct. Have you tried disabling ALT+F4 on the client?
0
 
LVL 1

Author Comment

by:ISC-IT-Admin
ID: 34179196
Hello demazter,

Thank you for the reply.
Yes I'm running the application as RemoteApp with the user assignment permission...
In fact I'm using only one user name and all is accessing the same application, it's an exam application for students.

I'v tried to access the server remotelly from an XP PC without running the application, I connected normally Remote Desktop Services, and I opened My computer then press Alt+F4 it works, however locally from the server is not...

My Thin Clients are linux debian, I didn't find a solution yet on how to disable F4 on Linux.

Any Help.

Thank You!
0
 
LVL 13

Accepted Solution

by:
BCipollone earned 500 total points
ID: 34623733
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question