`
雨过天晴0521
  • 浏览: 159372 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

How to kill a remote login session in Windows server 2008?

 
阅读更多
★How to customize the cmd.bat file
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
"AutoRun"="cd /d c:\\"

★How to kill a remote login session in Windows server 2008?
C:\>reset session 2 /server:qapc07
refer to: http://www.petri.co.il/forums/showthread.php?t=48285

or forcely login with
C:\>mstsc /console /v:ip

★ a bat script using for.
@echo off
set
service_dir=C:\qa\grid\6.0\GridServerSDK-win32\examples\service
set
project_dir=%service_dir%\adder

for /l %%x in (1,0,9) do (

cd %project_dir%

call "runJava.bat"

cd ../calculator

call "runJava.bat"
)

pause
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics