Samba :: Shutdown Windows System from Linux Terminal

[root@server2/data1]#net rpc SHUTDOWN -I IP -U User
Password:

Shutdown of remote machine succeeded

Comments

  1. hi
    i gt this err when i tried from rhel6 to win 7
    Could not initialise pipe \winreg. Error was NT_STATUS_OBJECT_NAME_NOT_FOUND

    can u help me

    ReplyDelete
  2. May be Some issue with your SAMBA Configuration. Please Make sure that you are able to access Windows from Linux System.

    ReplyDelete
  3. UAC did'nt permit do this.
    Try this small fix before on Win:
    run regedit, go to
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    and set the value LocalAccountTokenFilterPolicy to 1
    Sorry for my poor english.

    ReplyDelete

Post a Comment

Popular posts from this blog

Kubernetes || Remove Namespace stuck in terminating state after delete

How to take JVM Heap Dump using jmap

Integrate Jenkins with Azure Key Vault