| Joined: Mar 2004 Posts: 4 Junior Member | Junior Member Joined: Mar 2004 Posts: 4 | This is the only thing in windowx XP's shutdown utility that i dont really understand...I know it will shutdown a computer remotely...What do i have to do before i could type "shutdown -s -m //computername" ...so that i dont get a message like "access denied"?
Thanks in advance..... | | |
▼ Sponsored Links ▼
▲ Sponsored Links ▲
| | | Joined: Jun 2003 Posts: 807 Likes: 2 UGN Super Poster | UGN Super Poster Joined: Jun 2003 Posts: 807 Likes: 2 | I've tried and have never been able to get it to work. If you want to shut it down remotly try starting the telnet service, and connecting to the computer with telnet. Once you're logged in to the computer you with to shut down, type "shutdown -s" and it will display the count down timer on the computer youre connected to, and after 30 seconds it will shut down. | | | | Joined: Mar 2004 Posts: 4 Junior Member | Junior Member Joined: Mar 2004 Posts: 4 | do mean i have to start a telnet session to a target without installing anything like a telnet server like winshell?I dont know about winXP having a built-in telnet server or anything that will take connections from port 23...do U mind sharing m8?
I used to work with winshell and it works, bad thing is AVs can detect it...so i thougth i could use some help with winXP built-in utility. | | | | Joined: Jun 2003 Posts: 807 Likes: 2 UGN Super Poster | UGN Super Poster Joined: Jun 2003 Posts: 807 Likes: 2 | Well Windows XP Professional has a built in telnet server. To enable it go to Start, Control Panel, Administrative Tools, Services, and scroll down the list for telnet. Double click it, set the Startup Type to automatic, and click the "Start" button. This starts the service, and sets it to automatically start every time you start windows. If your computer doesnt have a telnet server go to http://kpym.sourceforge.net#4 and download "KTS v1.06 Setup" and save it to the desktop so you know where it is when it finishes. When it finishes downloading, install it, go to Start, Control Panel, Administrative Tools, Services, and find "KPyM Telnet Service". Double click it, set it to start automatically, and click start. That starts the service, and you will be able to connect to that computer with telnet on port 23 and be able to remotly shut it down. | | | | Joined: Mar 2004 Posts: 4 Junior Member | Junior Member Joined: Mar 2004 Posts: 4 | wow,thanks for the details. I've got to try it ryt away ... | | | | Joined: Dec 2002 Posts: 3,255 Likes: 3 UGN Elite | UGN Elite Joined: Dec 2002 Posts: 3,255 Likes: 3 | Originally posted by Ghost: Well Windows XP Professional has a built in telnet server. To enable it go to Start, Control Panel, Administrative Tools, Services, and scroll down the list for telnet. Double click it, set the Startup Type to automatic, and click the "Start" button. This starts the service, and sets it to automatically start every time you start windows. If your computer doesnt have a telnet server go to http://kpym.sourceforge.net#4 and download "KTS v1.06 Setup" and save it to the desktop so you know where it is when it finishes. When it finishes downloading, install it, go to Start, Control Panel, Administrative Tools, Services, and find "KPyM Telnet Service". Double click it, set it to start automatically, and click start. That starts the service, and you will be able to connect to that computer with telnet on port 23 and be able to remotly shut it down. Ghost!! You have you have entered the helpful!!! You da man! | | | | Joined: Nov 2003 Posts: 478 UGN Member | UGN Member Joined: Nov 2003 Posts: 478 | I have installed telnet, and followed the directions from ghost post. But when i type in shutdown -i -m //(computorname)it comes up with network path not found.
Im am using xp and am on a university network of over 100 pc's. hope you can help me. | | | | Joined: Jun 2003 Posts: 807 Likes: 2 UGN Super Poster | UGN Super Poster Joined: Jun 2003 Posts: 807 Likes: 2 | Well doing "shutdown -i" is going to display the user interface for this command, and it will ignore any flags beyond it. My previous post needs physical access to a computer to intall the telnet server. You then connect to that computer with telnet, login, and type "shutdown -s" to shut it down. What you're doing is telling the computer to display the GUI they made that interfaces with the shutdown utility. It doesnt do anything with the "-m" you put on the end of it. Also, when you type the name of the computer into the GUI and it cannot be found, it returns you to the command line utility and displays "the network path was not found". What you need to do is download and install the telnet server onto the computer you're trying to shut down (if you do not already have one). After you have done that, Go to Start, Run, and type in "telnet [ip address of computer youre trying to shut down]". So for example connecting to my computer i would type, "telnet 127.0.0.1". After you are connected to the computer and logged in, type "shutdown -s" and that will shut the computer down. That should enable you to shut the computer down. | | | | Joined: Nov 2003 Posts: 478 UGN Member | UGN Member Joined: Nov 2003 Posts: 478 | thaks ill try it...im so excited. You should have seen me when i read how to change the recycle bin name. This forum is soo cool. thanx buddy. | | | | Joined: Nov 2003 Posts: 478 UGN Member | UGN Member Joined: Nov 2003 Posts: 478 | i tried it. this is all fairly new to me. I installed telnet on her pc and then went into run and did what you said. it cam up with: login: pass: domain:
what do i put on these. Do I have to use telnet and make her own pass, domain ect. or do i make them on my telnet and use it for the shutdown. | | | | Joined: Jun 2003 Posts: 807 Likes: 2 UGN Super Poster | UGN Super Poster Joined: Jun 2003 Posts: 807 Likes: 2 | Ok, once you are connected to the computer you wish to shutdown with telnet, you have to login with a username that already exists for logging in to windows. So for example: login: Administrator
pass:00000
domain: Note that the telnet server doesnt echo the charecters for the password back to you. So when you enter it it will really look like login:Administrator
pass:
domain Also note that you dont have to enter anything for domain. | | | | Joined: Nov 2003 Posts: 478 UGN Member | UGN Member Joined: Nov 2003 Posts: 478 | i am gettin an access denied now. but dont worry about it. i really have no idea what im doing. I will keep praticing though. | | | | Joined: Jun 2003 Posts: 807 Likes: 2 UGN Super Poster | UGN Super Poster Joined: Jun 2003 Posts: 807 Likes: 2 | well are you connected to the computer you wish to shut down with telnet, or are you still trying to remotley shut it down with out using telnet? This entire thread is about using telnet to connect to the computer, loging in, and then shuting that computer down. If you try to remote shutdown using "shutdown -m \\computername" its just going to return you to the command line with "access denied". What you need to do is connect to the computer you wish to shut down, login with a vaild username and password combination, and type "shutdown -s" into the command line which will then shut the computer down. | | | | Joined: Mar 2004 Posts: 4 Junior Member | Junior Member Joined: Mar 2004 Posts: 4 | m8, telneting the target computer and shutting it down really works. | | | | Joined: Oct 2002 Posts: 616 UGN Super Poster | UGN Super Poster Joined: Oct 2002 Posts: 616 | heh humm, question, probably my first real one on the board. since their phasing out to GUI on xp+, and console is becoming almost non-existent. You can't shutdown into dos, you have like a almost UNIX like shell, but...it doesn't give you access to do nice things unless under admin, which is dangerous to be under all the time when online...anyway in linux you can su to root, and then exit out. So as to keep yourself safe.
Either way I'm wondering why the shutdown command is a topic here? Like why it's cool, when it may just be gone in 2-6 years do to the GUI, and 3d passover that MAY be happening. But..it does look to be. Either way no huffing, and puffing on anything please. Just a question on the truth of why you'd want to go so far to augment a system when the providers of this operating system are phasing out what you like? I'm not advocating or hating on anything. Just pointing out some of my own questions in my head.
To first see if this is felt, and second to see why, one wants to do this?
Thanks,
weeve
p.s. - pls to no flames kthx, the whole advocacy issue is a [censored], and I love all ppl/companies that code at all(deep down in my heart that is). Even if I do show, or play sides once in a rare while.
"Beware the Jabberwock, my son! The jaws that bite, the claws that catch! Beware the Jubjub bird, and shun The frumious Bandersnatch!"
| | | | Joined: Nov 2003 Posts: 478 UGN Member | UGN Member Joined: Nov 2003 Posts: 478 | what exactly is a valid password and username? or do i just make one up? do i have to use only alphanumerics if i do make one? | | | | Joined: Jun 2003 Posts: 807 Likes: 2 UGN Super Poster | UGN Super Poster Joined: Jun 2003 Posts: 807 Likes: 2 | No arctic warrior, you cant just login with a random user/pass combination and expect it to allow you to login. What would be the point of that? Letting people have access to your computer without even having to verify their identity? Not a good idea. What you need to do is login with an account that you have on the machine. When windows starts up, it does one of two things. Presents you with a window that allows you to click on the user name you wish to login with, and then type the password, or, presents you with a window that asks for you to type in a username and password combination. So ask yourself these questions; What username do i click when i start up? Does it have a password prompt show up when i click it? Or, if i am presented with a prompt for user name and password, what do i type in for these values? After you ask yourself, and answer those questions, do the following. Find the post in this thread about starting a telnet server on your computer. Then, telnet to your computer, type in the user name and password values that you use to login with when logging in locally, and then type "shutdown -s" when displayed with the command prompt. | | | | Joined: Nov 2003 Posts: 478 UGN Member | UGN Member Joined: Nov 2003 Posts: 478 | oh I see. That makes more sence. Sorry for being such a dumb [censored]. Yeah that password thing was the only problem that I had. | | | | Joined: Oct 2004 Posts: 13 Junior Member | Junior Member Joined: Oct 2004 Posts: 13 | What windows boxes actually have telnet enabled (port 23) ???? | | | | Joined: Feb 2002 Posts: 7,203 Likes: 11 Community Owner | Community Owner Joined: Feb 2002 Posts: 7,203 Likes: 11 | I believe 2003/2000 have telnet available; you can also download a 3rd party program to function as telnet access on most versions of windows. | | | | Joined: Oct 2004 Posts: 13 Junior Member | Junior Member Joined: Oct 2004 Posts: 13 | Im talking about enabled by default, out of the box, like you install and it has telnet enabled. | | | | Joined: Jun 2003 Posts: 807 Likes: 2 UGN Super Poster | UGN Super Poster Joined: Jun 2003 Posts: 807 Likes: 2 | There isn't one enabled by default on any windows platform. For the NT based OS's, like 2000 and 2003, you just have to turn it on via the control panel, like i said in my previous post. | | | | Joined: Aug 2003 Posts: 68 Junior Member | Junior Member Joined: Aug 2003 Posts: 68 | nah nah nah...its easy. you gotta log in to your local computer as local Administrator with unrestricted local rights. Then you use shutdown -s -f -m \\computername -t 0 That should work in xp pro for sure, done it at school plenty. The only reason I can think for that not working is if you were trying to kick off an administrator on the computer you are attempting to shut off. Works fine at school on WinXP Pro. | | | | Joined: Jun 2005 Posts: 4 Junior Member | Junior Member Joined: Jun 2005 Posts: 4 | I have tried the shutdown command and it doesn't work from the like 4th post on this topic | | | | Joined: Mar 2002 Posts: 1,041 UGN Elite Poster | UGN Elite Poster Joined: Mar 2002 Posts: 1,041 | Keep reading then. There's a pile of suggestions in this thread | | | | Joined: Jun 2005 Posts: 4 Junior Member | Junior Member Joined: Jun 2005 Posts: 4 | Ahem i have read and installed that KpyM telnet thingy and i cannot connect to a computer either and im using windows 2000.. | | | | Joined: Jun 2005 Posts: 4 Junior Member | Junior Member Joined: Jun 2005 Posts: 4 | KpyM telnet is giving me problems. I'm not sure exactly how to run this. Sorry to inconvience anyone over this question. I'm currently running a windows XP home edition. | | | | Joined: Feb 2006 Posts: 1 Junior Member | Junior Member Joined: Feb 2006 Posts: 1 | I think a better way around using telnet is to use another XP command to help with authentication to the remote computer which is the problem here...
runas /netonly /user:<remotecomputer>\<remoteuser> "shutdown -s -m \\<remotecomputer>"
The runas command allows you to specify a different user to execute a program that the current user wouldn't have access to. In this case using the /netonly switch targets the remote computer for the authentication.
After executing the above it will ask you for a password for the remote user and it keeps the password hidden from anyone watching.
Hope this helps.
mrBob | | | | Joined: Jun 2006 Posts: 1 Junior Member | Junior Member Joined: Jun 2006 Posts: 1 | i've been wondering about this for a while too. i had the same problem.
thanks for the tip | | | | Joined: Feb 2008 Posts: 12 UGN Newbie | UGN Newbie Joined: Feb 2008 Posts: 12 | can telnet be used to gain remote access to a computer?
Yeah im new. But I dont want answers alone. Im not here to damage people's systems. I want to take the road to information, and knowledge. I believe in the freedom of information, but i also believe that one such as myself should have to do a little more than ask to receive it.
| | |
Forums41 Topics33,840 Posts68,858 Members2,176 | Most Online3,253 Jan 13th, 2020 | | | |