Remote boot Terminal Services Windows Script Rots.vbs_vbs

Source: Internet
Author: User
Tags reset
*******************************************************************************
Rots v1.05
Remote Open Terminal Services Script, by zzzevazzz
Welcome to visite www.isgrey.com
Usage:
cscript c:\scriptpath\ROTS.vbs targetip username password [port] [/R|/FR]
Port:default number is 3389.
/r:auto reboot target.
/fr:auto Force reboot target.
*******************************************************************************

Description: Windows script that starts Terminal Services remotely.
Features: ipc$ open or not dependent on the target.
Rationale: Direct access to the target Windows Management Specification service (WMI).
Support platform: Win2kpro win2kserver winxp win.net
How to use:
Use the script Host program cscript.exe with Windows from the command-line to invoke the script, for example:

C:\>cscript Rots.vbs < target ip> < username > < password > [service port] [auto restart option]

Service port: Sets the service port for Terminal Services. The default is 3389.
Automatic restart Option: Use/R to indicate that the target is automatically reset after the installation is complete and the setting takes effect.
Using/FR indicates that the target is forcibly reset. (If/R not, you can try this)
When this parameter is used, the port settings cannot be ignored.

The script will determine the target system type, and if it is not server and above, you will be prompted if you want to cancel it.
Because the Pro version does not install Terminal Services.
If you are sure the script is wrong, continue with the installation.

If you want to use locally, the IP address is 127.0.0.1 or a dot (in.), and both the username and password are empty (represented by "").

The script accesses the 135 port of the target, if the target 135 port is not open, or the WMI service shuts down, then the script is useless.

This script is for free software, modify the publication please Ming original author. Thank you for your cooperation.
I provide limited technical support, there are problems, please go to the Gray Track Forum sent a short message to me. My id is zzzevazzz.


Last Updated: 2002-10-16
Update records:
1.05 fixed an error overwriting the registry
1.04 fixed a bug when judging the system.
1.03 differentiate security restart and force reboot.
1.02 fixed a bug that was incorrectly prompted.
1.01 increase the ability to change ports.
1.00 complete the basic function.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.