A port of classic AltCheck for Windows into PowerShell, to improve stability and maintainability.
- Download iMobileDevice from the link at the bottom of this Readme.
- Extract the zip file and name the folder "imobiledevice", make sure this folder is next to the AltCheck-Reborn.ps1 file.
- Start PowerShell and type: Get-ExecutionPolicy
If it doesn't output "RemoteSigned", you have to change it with "Set-ExecutionPolicy RemoteSigned". - Run "Unblock-File .\Altcheck-Reborn.ps1".
- Navigate with the PowerShell to the AltCheck-Reborn.ps1 file and run it once to see if it executes. ".\AltCheck-Reborn.ps1"
When you get a prompt, make sure to "Always trust", so you can automate the launching of this file without confirmation every time. - Either create shortcuts yourself, or create two scheduled tasks.
For scheduled tasks you have to launch the PowerShell script with following arguments:
-Mode serviceMonitor
-Mode checkAltServer - Always launch PowerShell as Administrator or elevated privileges, otherwise service restarts won't work.
For best results you may want to disable your Windows Firewall.
If you make use of the Windows Firewall make sure to create two new rules containing following:
Rules need to be created for: Incoming connections
TCP Ports 123, 3689
UDP Ports 123, 5353
Also create a rule for the AltServer.exe binary for incoming TCP and UDP connections on all ports.
The service monitor checks if the "Apple Mobile Device Service" is running.
If the service ever gets renamed you can specify a different service name using the "-appleServiceName" parameter.
Following optional parameters are available:
-monitorAltserverInterval (How long it should wait between checks for AltServer.exe)
-monitoriDeviceInterval (How long it should wait between checks for the detection of iOS devices)
-iMobileDeviceFolder (Relative folder name of the folder containing iMobileDevice binaries)
-altServerPath (Path of AltServer.exe)
-appleServiceName (Name of the Apple Mobile Device Service)
Quamotion iMobileDevice for 64-bit: http://docs.quamotion.mobi/docs/imobiledevice/download/
Link from wayback machine: https://web.archive.org/web/20190415225927if_/https://qmcdn.blob.core.windows.net/imobiledevice/imobiledevice-x64-1.2.1-r223.zip