Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a student and have a few servers/clients at home. One of those computers is running on Windows 8. On this network, I have an embedded system on Debian that I use for VPN and SMB purposes. I has already scripts that do some wakeOnLan.

I've found recently that I can shutdown computers with Samba, using the command net rpc shutdown.

However, when I do it, i get an error:

could not initialise pipe \winreg. Error was NT_STATUS_OBJECT_NAME_NOT_FOUND

I've found here that a local user was, by default, not allowed to perform a shutdown remotely.

I've searched into the register the key to edit, but I couldn't find it. It's at another place.

So, do you know how I can enable this "shutdown on LAN"?

share|improve this question
up vote 2 down vote accepted

Missing \winreg might mean that the RemoteRegistry service is not running; try using the following commands in Windows:

sc config RemoteRegistry start= auto
sc start RemoteRegistry
share|improve this answer
Thank you. There was a other thing to do : my local account, which was in the "Admin group" was not allowed to shutdown remotely. To do it, I needed to activate the user "Administrator" – patxy May 22 '13 at 21:56
@patxy: If your Windows version has secpol.msc or gpedit.msc, you can change it there. – grawity May 23 '13 at 10:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.