20 thg 1, 2010

limit connections windows server 2003 : force restart

Hiện trạng là con server windows 2003 ở xa bị limit connections khi remote.
Sau khi sục sạo tìm kiếm 1 số tool : pstools (chạy từ win), winexe (linux)

( http://www.microsoft.com/technet/sysinternals/utilities/pstools.mspx
 psexec \\host -u user -p password cmd (this will give you access to the cmd prompt on the server) để run cmd)
( http://eol.ovh.org/winexe/
winexe -U Administrator%Pass123 //host 'cmd /C dir C:\' )

đều không được (mà bình thường có vẻ được). Thì một sư tổ trong ngành mách cho 1 câu rất đơn giản để restart máy từ linux:  net rpc shutdown -r -f -I host -U username thì chạy ngon luôn.

Không có nhận xét nào:

Đăng nhận xét