I am running an application on linux machine. By giving the ip address of a windows machine as input, the application must shutdown the windows machine. If the machines run
To find your actual Windows username, open cmd and run
echo %username%
This is the username (not case sensitive) you have to use in your net rpc command