Windows Defender is an essential tool for protecting the system against digital threats, but in some cases it may block legitimate programs that need unrestricted access to work properly, such as Master Remote. To avoid this problem, you can create exclusions in Windows Defender, allowing certain applications to run without restrictions.
In this article, we present an automated script that makes this process easier, so you can add exclusions efficiently without manually navigating the settings. With this method, setup is fast, accurate and adaptable to your needs.
This snippet must be saved in a text file with the .PS1 extension and run via CMD with administrator rights
For the Master Remote Agent, depending on the version used, you may find two folder paths, as described below:
- C:\Program Files (x86)\MasterRemote\
- C:\Program Files (x86)\Master Remote Sistemas LTDA\Master Remote\
For the examples, we will use only the shorter path, for illustration purposes.
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] “Administrator”)) { Start-Process powershell.exe “-NoProfile -ExecutionPolicy Bypass -File "$PSCommandPath“” -Verb RunAs; exit }
Write-Output “Allowing MasterRemote”
Set-MpPreference -ExclusionPath ‘C:\Program Files (x86)\MasterRemote\MasterBackup.exe’, ‘C:\Program Files (x86)\MasterRemote\MasterDesktop.exe’,’C:\Program Files (x86)\MasterRemote\MasterMonitor.exe’,’C:\Program Files (x86)\MasterRemote\MasterRemote.exe’,’C:\Program Files (x86)\MasterRemote\MasterService.exe’,’C:\Program Files (x86)\MasterRemote\MasterUpdate.exe’,’C:\Program Files (x86)\MasterRemote\AtualizacaoR.Atu’
Write-Output “Done!”
Read-Host “Press any key to exit”
See HERE how to configure it manually through the Windows interface if you are not comfortable with CMD commands.
Contributed by: ABBAS Automação
Enjoyed the article? Check out what’s new on our WEBSITE, share the article with your friends and follow Master Remote on LinkedIn, YouTube, Instagram and Facebook. Also, explore other articles on the side and stay up to date with the latest news on customer support technology and cybersecurity.
YOU MAY ALSO BE INTERESTED IN: