TheTechGuide Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Search
Login
Register
TheTechGuide Forum
»
General Category
»
Software
(Moderators:
Josetann
,
Dexter
,
guestolo
) »
Windows restart
« previous
next »
Print
Pages: [
1
]
Author
Topic: Windows restart (Read 811 times)
Guest_Zentinel
Guest
Windows restart
«
on:
April 29, 2003, 12:47:47 PM »
hi guys!!
i was wondering if there's a possibility to restart/shutdown/logoff/suspend a windows2000 machine from the commandline. I remember this possibility was integrated in Windows98 where you had to pass some cmds to the rundll32 i suppose...
thx for yer help!!
c ya
Zentinel
Logged
Tracky110XP
member
Global Moderator
Full Member
Posts: 118
Karma: +0/-0
Windows restart
«
Reply #1 on:
April 29, 2003, 06:54:16 PM »
Try this out:
http://msdn.microsoft.com/library/default....itwindowsex.asp
Logged
Guest
Guest
Windows restart
«
Reply #2 on:
April 29, 2003, 08:03:28 PM »
[quote name=\'Tracky110XP\' date=\'Apr 29 2003, 05:54 PM\']Try this out:
http://msdn.microsoft.com/library/default....itwindowsex.asp
[/quote]
rundll and rundll32 are usefull for this sort of thing. Look up their usuage on google
Logged
Space Between
Guest
Windows restart
«
Reply #3 on:
April 29, 2003, 09:24:38 PM »
Here's a page with a list of that very topic and the similar...
there is actually more ways than this though because the one
i cant remember exactly i used to use for 2k is not on there.
i would know it if i see it though.
NOTE:...if you find the rundll command that can open or close
a cdrom based on it's current open/close status swing it back to me.
I found it once...but thought it was useless at the time. It did work
but i never found the link to that obscure page again.
As far as .asp goes you could do it that way...could do alot of other
things aswell with that. Should look into that if you have a chance.
I just dont like it because not all environments are built the same to
run .asp the same way...vs. rundll and the like.
Logged
Space Between
Guest
Windows restart
«
Reply #4 on:
April 29, 2003, 09:25:03 PM »
o wait...i dont know if you need the url or not :/ (im tired)
http://www.robvanderwoude.com/shutdown.html
Logged
DISORIENTED
Guest
Windows restart
«
Reply #5 on:
July 15, 2003, 06:25:58 PM »
TO RESTART YOU CAN TYPE :
C:\WINDOWS\RUNDLL.EXE user.exe,exitwindowsexec
YOU CAN CREATE A SHORCUT AND ON THE TARGET WRITE THAT PATH.
TO SHUT DOWN TYPE:
C:\WINDOWS\RUNDLL.EXE user.exe,exitwindows
YOU CAN CREATE A SHORCUT AS ABOVE
Logged
Guest
Guest
Windows restart
«
Reply #6 on:
July 17, 2003, 01:23:56 AM »
shutdown -r
Works with XP
But with win 2k and below, I believe you need shutdown.exe.
Logged
Print
Pages: [
1
]
« previous
next »
TheTechGuide Forum
»
General Category
»
Software
(Moderators:
Josetann
,
Dexter
,
guestolo
) »
Windows restart