hi Darragh
from the winoffline release notes
Requirements:
WinOffline is a .NET Framework Application.
Microsoft CLR = Common Language Runtime
Microsoft CLR 4.0 -- .NET Versions: 4.0 4.5 4.6 4.6.1 4.6.2
Microsoft CLR 2.0 -- .NET Versions: 2.0 3.0 3.5
Exit Code 1 -- Process initialization failed.
WinOffline failed to obtain basic information from the system. For example, it was unable to read the machine hostname, or its process name.
Exit Code 2 -- Elevation check failed.
WinOffline checks to ensure the user is an Administrator on the system, and that the process is run with administrator elevation.
Exit Code 3 -- Environment initialization failed.
WinOffline failed to read system environment variables.
Exit Code 4 -- Registry initialization failed.
WinOffline failed to read from the Windows registry.
Exit Code 5 -- Comstore initialization failed.
WinOffline failed to read from the Client Automation comstore.
Exit Code 6 -- Isolation Check failure.
Another instance of WinOffline is running.
Exit Code 7 -- Debug log initialization failed.
WinOffline failed to create a debug log in the Windows Temp folder.
Exit Code 8 -- Failed to process startup switches.
WinOffline failed to process the startup switches that were provided.
Exit Code 9 -- Pipe server initialization failed.
WinOffline failed to establish a communication pipe to its client process, WinOfflineClient.exe. See the note further down for an explanation on what the client process is used for.
Exit Code 10 -- Resource extraction failed.
WinOffline failed to extract external resources to its working directory. WinOffline extracts the cazip.exe utility for decompressing CA patches, and LaunchService.exe, a temporary system service for launching processes (i.e. cfsystray) in the context of other user's desktops.
Exit Code 100 -- A patching error has occurred.
This indicates WinOffline executed successfully to completion, but one or more of the patches either FAILED TO APPLY, or FAILED TO BE REMOVED.
All other exit codes -- The .NET Framework is not installed.
Any other exit code, whether a negative number or seemingly random number, typically indicates the .NET Framework is not installed on the endpoint system.