Terminal Services problem

Status
Not open for further replies.

daltaya

Seniorius Lurkius
18
Subscriptor
I'm trying to setup a remoteapp on my Server 2012 R2 instance. The application is pretty old but runs fine except for a slight annoyance. It has a main window, and everything you do in the application creates windows inside the main window. The problem I have is the window sizes are fixed, and the border padding in 2012 R2 is creating scroll bars in the main window and each child window inside it.

The GUI option to change the border padding has been removed in this version of windows server, and since I'm trying to do this as a remoteapp, I tried to modify the registry entries on the default profile so that any new user that logs in automatically gets the correct border size. The way I did this was loading the hive from c:\users\default\ntuser.dat and changing the HKEY_USERS\Default\Control Panel\Desktop\WindowMetrics\PaddedBorderWidth.

Obviously something is wrong with my understanding of the profile creation process, because this isn't working. Users that don't already have a profile on the server are not getting the correct settings when they login for the first time. Does anyone know what I'm doing wrong?
 

daltaya

Seniorius Lurkius
18
Subscriptor
That works, I appreciate it, but I'm not sure I like it. Doing that makes it a User Configuration, which means I have to apply it to user OUs instead of just modifying the one server instance. And since it's a registry change that gets applied after HKCU for that user is created during login it doesn't take effect until the second time they login.
 
[url=http:/civis/viewtopic.php?p=29015663#p29015663:2e77n6uz said:
daltaya[/url]":2e77n6uz]That works, I appreciate it, but I'm not sure I like it. Doing that makes it a User Configuration, which means I have to apply it to user OUs instead of just modifying the one server instance. And since it's a registry change that gets applied after HKCU for that user is created during login it doesn't take effect until the second time they login.

2 things regarding your first point :

GPO Loopback processing
GPO Security Group filtering
 
[url=http:/civis/viewtopic.php?p=29016491#p29016491:2lcj9oy1 said:
A. Reed[/url]":2lcj9oy1]
[url=http:/civis/viewtopic.php?p=29015663#p29015663:2lcj9oy1 said:
daltaya[/url]":2lcj9oy1]That works, I appreciate it, but I'm not sure I like it. Doing that makes it a User Configuration, which means I have to apply it to user OUs instead of just modifying the one server instance. And since it's a registry change that gets applied after HKCU for that user is created during login it doesn't take effect until the second time they login.

2 things regarding your first point :

GPO Loopback processing
GPO Security Group filtering

Yeah, you should be able to apply the GPO, even if it has user-based policies, against the OU that the terminal server(s) reside in.
 

daltaya

Seniorius Lurkius
18
Subscriptor
Awesome, thanks guys, I think I got it working so it's only applying on the terminal server and not messing up users desktop profiles.

I left the security filtering to the default authenticated users, but added the terminal server so no other servers in the OU will apply this correct? But it will still apply to all users that sign in on the terminal server? Just trying to make sure I'm understanding the order of operations with this.

I assume there is no getting around the need for a second login for this to take effect?
 
Status
Not open for further replies.