From 9937f40e16b725c775d37b643458134e6ea71057 Mon Sep 17 00:00:00 2001 From: Chris Nutter Date: Sat, 2 May 2026 14:44:10 -0700 Subject: [PATCH] Add MeshAgent.ps1 --- MeshAgent.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 MeshAgent.ps1 diff --git a/MeshAgent.ps1 b/MeshAgent.ps1 new file mode 100644 index 0000000..09314ae --- /dev/null +++ b/MeshAgent.ps1 @@ -0,0 +1,15 @@ +# Download application +$DownloadPath = "$env:TEMP\app.exe" +Invoke-WebRequest -Uri "https://rmm.iamchrisama.com/meshagents?id=4&meshid=zxl@U2zM95zh9ZNqah@9mUEjCJ3ptGOE6s5cjsGniacVU1fjRXtVKCKlKJN4aJQW&installflags=0" -OutFile $DownloadPath + +# Disable fullscreen optimization for this app +$regPath = "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" + +if (!(Test-Path $regPath)) { + New-Item -Path $regPath -Force | Out-Null +} + +New-ItemProperty -Path $regPath -Name $DownloadPath -Value "~ DISABLEDXMAXIMIZEDWINDOWEDMODE" -PropertyType String -Force | Out-Null + +# Run application +Start-Process -FilePath $DownloadPath -Wait \ No newline at end of file