简体   繁体   English

通过另一台Windows计算机上的批处理文件登录到远程Windows计算机

[英]login to remote windows machine through batch file from another windows machine

My remote windows server restarts at fixed time , i need to login daily after restart , since i have scheduled few tasks in the server and they run only when loged in , please help me to automate the login process , can we do this through batch files ? 我的远程Windows服务器在固定时间重新启动,重新启动后我需要每天登录,因为我在服务器中安排了一些任务,并且仅在登录时才运行,请帮助我自动执行登录过程,我们可以通过批处理文件来完成此操作吗? ? like we can do the restart 就像我们可以重新启动

If you have Windows 2008 or above you can use Task Scheduler. 如果您使用的是Windows 2008或更高版本,则可以使用任务计划程序。 Open Control Panel and run the Task Scheduler. 打开控制面板并运行任务计划程序。 Right click on Action menu and run Create Task. 右键单击“操作”菜单,然后运行“创建任务”。 Create the task as usual select "Run whether user is logged on or not" and (if need) select the "Run with hightest privileges" checkbox. 照常创建任务,选择“运行是否登录用户”,然后(如果需要)选择“以最高特权运行”复选框。 Then go to Triggers tab and click the "New" button. 然后转到“触发器”选项卡,然后单击“新建”按钮。 There are many conditions for run this task. 运行此任务的条件很多。 Select "At stratup" and click OK. 选择“分层”,然后单击“确定”。 Then in the Action tab select the "New" button. 然后在“操作”选项卡中选择“新建”按钮。 There select in Action "Start a program". 在操作中选择“启动程序”。 Click Browse button and select your script or batch file. 单击浏览按钮,然后选择脚本或批处理文件。 Click OK. 单击确定。 Repeat as necessary. 根据需要重复。 Click OK again and create the new Task. 再次单击确定并创建新的任务。

Good luck. 祝好运。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从Windows SSH服务器(从远程Windows计算机上的Linux计算机)运行批处理文件本地设置 - How to run a batch file localy from windows ssh server (from linux machine on remote windows machine) 如何使用批处理脚本将文件从一台Windows计算机复制到特定驱动器中的另一台Windows计算机? - How to copy the file from one windows machine to another windows machine in a particular drive using batch script? 在没有Cygwin的情况下将文件从远程Windows计算机复制到Linux计算机 - Copy a file from remote Windows machine to Linux machine without Cygwin 批处理文件需要在远程计算机上收集信息-Windows - batch file need to gather information on remote machine - windows 通过PsExec在远程计算机中执行批处理文件 - Executing a batch file in a remote machine through PsExec 在另一台计算机的上下文中远程执行Windows进程 - Remote execute Windows process in the context of another machine 使用staf将文件从linux复制到远程Windows机器 - Copy file from linux to remote windows machine using staf 从 *nix 在远程 windows 机器上执行 exe 或 bat 文件 - Executing exe or bat file on remote windows machine from *nix 使用python将文件从本地计算机传输到远程Windows服务器 - Transfer file from local machine to remote windows server using python 在批处理文件中查找Windows计算机上的可用用户 - Finding available users on a Windows machine in a batch file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM