VMware Horizon Community
EricNichols
Hot Shot
Hot Shot
Jump to solution

On view reconnect to windows 7 linked clone, windows get shrunk to ~480 in height minus height of task bar plus window position changes

Is there a way to prevent this dynamic adjustment of windows height and position.

0 Kudos
1 Solution

Accepted Solutions
EricNichols
Hot Shot
Hot Shot
Jump to solution

We are using Realtime Soft UltraMon. it adds a litle title bar button for moving Windows between monitors and duplicates the taskbar and Start Menu to the other monitors. Lots of other features.

The window readjustment was from ultramon. To fix it, we created an on disconnect and on reconnect script.

Direct commands do not run as expected from this policy setting. While echo test > c:\temp\test.txt does not work, cmd /c echo test > c:\temp\test.txt does. Yet cmd /c dir > c:\temp\dir.txt does not. And environment variables fail to expand.

So a different approach was to enable powershell scripts as signed only and import my code signing certificate to the computer trusted publishers store on the golden image. Then the commands to run on disconnect and re-connect were:

cmd /c powershell.exe -file c:\temp\CloseUltraMon.ps1

and

cmd /c powershell.exe -file c:\temp\OpenUltraMon.ps1

CloseUltraMon.ps1:

get-process "ultramon" -ea SilentlyContinue | Out-File "c:\temp\ultramon.status"

& "c:\program files\ultramon\ultramon.exe" /stop

OpenUltraMon.ps1:

if (Select-String -Path c:\temp\ultramon.status -pattern "ultramon") {

& "c:\program files\ultramon\ultramon.exe" }

View solution in original post

0 Kudos
2 Replies
JackMac4
Enthusiast
Enthusiast
Jump to solution

Are you specifying full screen? What version of the client?

---- Jack McMichael | Sr. Systems Engineer VMware End User Computing Contact me on Twitter @jackwmc4
0 Kudos
EricNichols
Hot Shot
Hot Shot
Jump to solution

We are using Realtime Soft UltraMon. it adds a litle title bar button for moving Windows between monitors and duplicates the taskbar and Start Menu to the other monitors. Lots of other features.

The window readjustment was from ultramon. To fix it, we created an on disconnect and on reconnect script.

Direct commands do not run as expected from this policy setting. While echo test > c:\temp\test.txt does not work, cmd /c echo test > c:\temp\test.txt does. Yet cmd /c dir > c:\temp\dir.txt does not. And environment variables fail to expand.

So a different approach was to enable powershell scripts as signed only and import my code signing certificate to the computer trusted publishers store on the golden image. Then the commands to run on disconnect and re-connect were:

cmd /c powershell.exe -file c:\temp\CloseUltraMon.ps1

and

cmd /c powershell.exe -file c:\temp\OpenUltraMon.ps1

CloseUltraMon.ps1:

get-process "ultramon" -ea SilentlyContinue | Out-File "c:\temp\ultramon.status"

& "c:\program files\ultramon\ultramon.exe" /stop

OpenUltraMon.ps1:

if (Select-String -Path c:\temp\ultramon.status -pattern "ultramon") {

& "c:\program files\ultramon\ultramon.exe" }

0 Kudos