Solved

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

Posted on 2010-11-18
7
911 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This article runs through the process of deploying a single EXE application selectively to a group of user.
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 show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

776 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