Solved

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

Posted on 2010-11-18
7
914 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
  • 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

A procedure for exporting installed hotfix details of remote computers using powershell
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

821 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