海东's profile海东的共享空间PhotosBlogListsMore Tools Help

Blog


    June 22

    如何在2003上使用SC命令开启服务

    使用SC命令远程开启计算机的服务

    SC其实是一个命令工具而已,它具备开启计算机服务的功能,早期都把它认为是黑客工具,而在Windows 2003中将这个命令内置在操作系统中,可以使用它远程开启其他计算机的服务,包括了系统上已经禁用的服务

    下面介绍该工具的使用,开启远程主机192.168.1.202telnet服务(需要知道该主机的用户名和密码):

    1.首先使用sc \\192.168.1.202 query tlntsvr来查看远程主机的telnet的服务状态,得到结果是stopped(已停止)

    2.然后使用sc \\192.168.1.202 qc tlntsvr 查询当前的telnet服务的配置状况,发现是disabled(已禁用)

    3.使用sc \\192.168.1.202 config tlntsvr start= auto使telnet服务开机自动启动

    4.使用

    sc \\192.168.1.202 qc tlntsvr 查询经过配置的telnet服务是否已经发生改变,已经成为auto_start(自动启动)

    5.使用sc \\192.168.1.202 start tlntsvr 来启动telnet服务

    6.使用sc \\192.168.1.202 query tlntsvr 查看telnet服务是否已经在运行

    7.接下来就可以使用telnet 192.168.1.202进行telnet

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://wl19871221.spaces.live.com/blog/cns!30D4F7E4E0B57263!114.trak
    Weblogs that reference this entry
    • None