On Sunday 21 October 2007 18:09, Rikard Johnels wrote:
> On Saturday 20 October 2007 22:41, Herbert Graeber wrote:
> > Am Freitag, 19. Oktober 2007 19:06:42 schrieb Rikard Johnels:
> > > Is there any way to remotely shut a standard windows box down from a
> > > linux system?
> >
> > net rpc shutdown -S serve-name -U Administrator
> >
> > > I have a few boxes i need to kick users from and shutdown (or reboot)
> > > every now and then. And its the only Windows boxes on the network. My
> > > system is a SuSE Linux, and i dont have win4lin, vmware or any other
> > > emulator running. I hope i can accomplish the task without having to
> > > install it too. any pointers/ideas.
> >
> > You need the samba-client package to do this.
> >
> > > [...]
> >
> > Cheers
> > Herbert
>
> I probably have something wrong:
>
> [EMAIL PROTECTED]:~> net rpc shell -S 192.168.1.167 -U Administrator
> Password:
> Could not connect to server 192.168.1.167
> The username or password was not correct.
> Connection failed: NT_STATUS_LOGON_FAILURE
> Could not open connection
>
> Linux or Windows the problematic point?

Swedish XP... Administratör..

Next problem:

:~> net rpc shutdown -S 192.168.1.167 -U Administratör
Password:

Shutdown of remote machine failed

result was: WERR_ACCESS_DENIED


-- 
         /Rikard

-----------------------------------------------------------------------------
email   : [EMAIL PROTECTED]
web     : http://www.rikjoh.com
mob:    : +46 (0)763 19 76 25
------------------------ Public PGP fingerprint ----------------------------
< 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78  46 1C EE 56 >

Attachment: pgpL68HzwyBsw.pgp
Description: PGP signature

Reply via email to