Thanks cgsjones for your efforts. I am off the work now but I will try in couple of hours and keep you posted.
Originally Posted by cgjones
Thanks cgsjones for your efforts. I am off the work now but I will try in couple of hours and keep you posted.
Originally Posted by cgjones
No problem. We'll get this figured out one way or another.
It gives me an error
failed tcon_X with NT_STATUS_DUPLICATE_NAME
Cannot Connect to Server. Error was NT_STATUS_DUPLICATE_NAME
Any more clues ??
Originally Posted by cgjones
Last edited by krypto_wizard; May 12th, 2006 at 01:28 PM.
Try this:
I also found information about needing to have the Windows machine set up correctly. See if your local security policy allows shutdowns from a remote system.Code:rpcclient -c 'shutdown' -U username -I ip address
Edit: Double Post
Last edited by cgjones; May 12th, 2006 at 03:27 PM.
Edit: Triple Post
Last edited by cgjones; May 12th, 2006 at 03:27 PM.
Originally Posted by cgjones
That rite, I need to enable certain settings in windows to accepts remote command. I am googleing it, haven't found something that will work.
Do you have any idea ?
I think that if you go to Start >>Control Panel >> Administrative Tools >> Local Security Policy you can set the options to allow remote shutdowns. Although if you are logging in through rpcclient as an Administrative user, you should already be allowed to shutdown the computer. Did you try that last command I posted?
I did, it wont work either.
after this command it gives me how to use the rpcclient option...thats it.
Is there any other OUT OF THE BOX WAY TO do the same thing.
Originally Posted by cgjones
If these computers are running Windows XP Professional, you could turn on Remote Desktop and then log into them using the Terminal Services Client (I think thats what its called) in Ubuntu. This should give you the Windows desktop, and then you could shut it down. I'm running out of ideas on how to get this working with Samba. We must be missing something, because I think either net or rpcclient should work.
Bookmarks