How hard would it be to restore a hacked DS1054Z to the factory setting and what would you need
You'll need a computer and USB cable in order to feed SCPI commands.
The command to uninstall the upgrades is ... :SYSTem:OPTion:UNINSTall (alternatively, you can also use :SYST:OPT:UNINST, as it's the letters in CAPS that = the actual command).
That will only remove the options. In order to set it (partly) back to the factory settings, you have to send the command
*RST.
However, I don't know a way to get the time limited trial options back.
And by the way, easiest way to manually send SCPI commands is via LAN.
Open a console and enter the command
telnet 192.168.1.7 5555Change the ip-address to the actual address of the scope.
You can test it by sending the command *IDN?
The scope will respond with an identification string that contains brand, model, serialnumber and software version.