Nitrokey storage factory-reset

Since I forgot my pins, I’m trying to fully factory reset the device, when I look at the documentation here:

https://docs.nitrokey.com/storage/linux/factory-reset.html

It tells me to factory-reset the device using the NitroKey App. The device connects fine, but I am unable to find any signs of a “factory reset” function in this app. Can I get some help please?

Thank you in advance.

It is a little bit hidden. You need to call the EXE file with a parameter: Nitrokey-App.exe --admin

Nitrokey-App.exe --help
Usage: Nitrokey-App.exe [options]
Nitrokey App - Manage your Nitrokey sticks

Options:
  -?, -h, --help                         Displays this help.
  -v, --version                          Displays version information.
  --clear-settings                       Clear all application's settings
  -d, --debug                            Enable debug messages
  --df, --debug-file <log-file-name>     Save debug log to file with name
                                         <log-file-name> (experimental)
  --dw, --debug-window                   Save debug log to App's window
                                         (experimental)
  --dl, --debug-level <debug-level-int>  Set debug level, 0-4
  -s, --delay <delay>                    Set delay between commands sent to
                                         device (in ms) to <delay>
  --version-more                         Show additional information about
                                         binary
  -a, --admin                            Enable extra administrative functions
  --language-list                        List available languages
  -l, --language <en>                    Load translation file with given name
                                         and store this choice in settings file.
  --no-window                            Display no window.

3 Likes

Thank you, it worked.

They should really add a proper guide on how to completely reset the device when you don’t know the user pin and admin pin like me, it was pretty confusing at first.

I created a Pull Request to update the documentation.

1 Like

This got merged lately, thank you!