This script will enable you to instantly pass all PC-related Security & Compliance checks in Veeam Backup & Replication Console
This script passes everything in Section 1 - Backup Infrastructure Security
❗ My testing on this is currently limited, use at own risk
You need to allow Powershell scripts to run on the system. The easiest way to do this is to run this as admin:
Set-ExecutionPolicy Unrestricted
You will also need to run the script as admin.
✅ All commands are ran locally, and no outputs are sent to anyone
✅ All script actions are recorded and logged to C:\VeeamSecurityScript\
✅ All changes need to be confirmed by you first, to stop the script breaking something that you need to keep on (or off)
- Download the script
- Open Powershell as admin,
Set-Location
to your script file location, then run.\veeamsecurity.ps1
- Run through the script. Wherever something needs to be changed, it will first warn you of the change and prompt for confirmation. Press Y to change, or H to halt that command.
- Once finished, it's a good idea to run it again and make sure it all comes back green. If you halt any commands previously, you will be prompted again for them.
- If you're using RDP to connect to your Veeam Server, disabling RDS (the first check) will kill RDP on your Veeam Server. This will kick you off the server and stop you from being able to reconnect remotely using RDP. The script warns you of this.