From 1a1410c332c1ef9b734053c98687af2397a9709a Mon Sep 17 00:00:00 2001 From: AjeetSingh-1 Date: Mon, 27 Jul 2026 00:20:16 +0530 Subject: [PATCH 1/2] Add script to download AzureRescueToolkit --- .../win-download-azurerescuetoolkit.ps1 | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/windows/win-download-azurerescuetoolkit.ps1 diff --git a/src/windows/win-download-azurerescuetoolkit.ps1 b/src/windows/win-download-azurerescuetoolkit.ps1 new file mode 100644 index 00000000..44156a39 --- /dev/null +++ b/src/windows/win-download-azurerescuetoolkit.ps1 @@ -0,0 +1,21 @@ +# Import VM Repair initialization +. $PSScriptRoot/common/setup/init.ps1 + +Log-Info "Downloading AzureRescueToolkit" + +New-Item -Path "C:\Temp" -ItemType Directory -Force + +Invoke-WebRequest ` + -Uri "https://raw.githubusercontent.com/AjeetSingh-1/vm-repair-tool/main/AzureRescueToolkit.ps1" ` + -OutFile "C:\Temp\AzureRescueToolkit.ps1" + +if (Test-Path "C:\Temp\AzureRescueToolkit.ps1") +{ + Log-Info "Download successful" + exit $STATUS_SUCCESS +} +else +{ + Log-Error "Download failed" + exit $STATUS_ERROR +} From 5b570375ba4f0357d0bdd9de33da9dcd0b845328 Mon Sep 17 00:00:00 2001 From: AjeetSingh-1 Date: Mon, 27 Jul 2026 17:05:05 +0530 Subject: [PATCH 2/2] Add script to download Azure Rescue Toolkit Added a new script for downloading Azure Rescue Toolkit to assist in troubleshooting boot issues. --- map.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/map.json b/map.json index 6d2707e6..dc322ce8 100644 --- a/map.json +++ b/map.json @@ -129,6 +129,11 @@ "path": "src/windows/win-crowdstrike-fix-bootloop-v2.ps1", "description": "Workaround for machines stuck in boot loop due to corrupt crowdstrike falcon sensor 2024-07-19 by removing corrupt crowdstrike files, loading/unloading the registry hives, and removing regtrans-ms and txr.blf files under config\\TxR folder" }, + { + "id": "win-download-azurerescuetoolkit", + "path": "src/windows/win-download-azurerescuetoolkit.ps1", + "description": "Script to download AzureRescueToolkit in Rescue VM to Troubleshoot Boot Issue." + }, { "id": "win-crowdstrike-fix-bootloop-cvm", "path": "src/windows/win-crowdstrike-fix-bootloop-cvm.ps1",