Is there a way to prevent this dynamic adjustment of windows height and position.
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" }
Are you specifying full screen? What version of the client?
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" }