Enter the username and password you normally use to sign in to Windows.
If you do not know your username or password for reasons such that you are using automatic sign-in without entering a password, try the following.
About username
On your PC, press the Windows key and select "Windows PowerShell" or "Windows Terminal".
In the launched PowerShell or Terminal window, run the following command in to display your username.
$env:UserName
About password
There is no way to display your unknown password.
Instead, you can reset the Windows password on your PC and enter the newly reset password in shutdown configuration on the app.
For information on how to reset your Windows password, please refer to the Microsoft website or other sources.
PC Power Controller sends the following commands depending on the OS type.
To Linux
Shutdown: sudo shutdown -h now
Restart: sudo shutdown -r now
Suspend: sudo systemctl suspend
Hibernate: sudo systemctl hibernate
To Windows
Shutdown: shutdown -s -t 0
Restart: shutdown -r -t 0
Sleep:
powershell -Command "Add-Type -Assembly System.Windows.Forms; [System.Windows.Forms.Application]::SetSuspendState(0, $false, $false)"
Hibernate:
powershell -Command "Add-Type -Assembly System.Windows.Forms; [System.Windows.Forms.Application]::SetSuspendState(1, $false, $false)"
To Mac OS X
Shutdown: sudo shutdown -h now
Restart: sudo shutdown -r now
Sleep(or Hibernate):
pmset sleepnow
To Other
Shutdown: sudo shutdown -h now