9 · Appendix: commands
Commands on Windows
Everything in this guide is done in the browser. These commands of Windows PowerShell, run as Administrator, show the same state from the console.
| What | Command |
|---|---|
The SHA-256 sum of the downloaded setup file, to compare with its line in SHA256SUMS | Get-FileHash .\DerScannerSetup.exe |
| State of the DerScanner Engine service | Get-Service DerScannerEngine |
| Restart the service (DerScanner is unavailable for a few minutes) | Restart-Service DerScannerEngine |
| The firewall rule of the access from the network | Get-NetFirewallRule -DisplayName "DerScanner (TCP 80, 443)" |
| The ports forwarded to DerScanner | netsh interface portproxy show v4tov4 |
| The Windows components of the virtual machine | Get-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform, Microsoft-Windows-Subsystem-Linux |
| Update DerScanner for Windows | Run the newer DerScannerSetup.exe |
| Remove DerScanner for Windows | Settings > Apps > DerScanner > Uninstall |
The removal asks whether to keep the data:
“Remove DerScanner from this computer?
Yes: remove the program and keep the data and the backups. DerScanner can be installed again over them. No: delete everything. Cancel: change nothing”
The panel actions and what they do:
| In the panel | What it does |
|---|---|
| Install DerScanner on the setup page | Prepares Windows and the virtual machine, downloads DerScanner and installs it in the machine |
| Check, Back up, Move the data, Switch over | The steps of the move of a classic DerScanner for Windows (chapter 5) |
| Return to the old DerScanner | Turns the classic DerScanner on again and stops the new one |
| Start the update, Return the previous version | The update and the return to the previous version, as on a Linux server |
| Add, Remove on Products | Adds or removes a module |
| Set up access again | Forwards ports 80, 443 and writes the firewall rule DerScanner (TCP 80, 443) again |
| Save diagnostics | Saves a ZIP file for DerSecur support |