各位大大好~小弟目前遇到了一個問題
我在網路上看到好幾篇的文章
以及參照
http://www.mobile01.com/print.php?f=300&t=453820 這邊的做法
其內容說使用shutdown -m的方式可以遠端關機
使用方式如下:
先輸入
net user \\remote_pc /user:administrator password
成功後,再輸入
shutown -m \\remote_pc -r -f -t 5
即可關閉遠端電腦
可是小弟試了好幾天
也找了好幾天的資料
實在是想不出來為什麼不行用
出現的錯誤都是"存取被拒"OR"找不到網路路徑"
不知道有沒有人可以救救我阿~~~
<<<<<PS>>>>>>
我的遠端電腦是XP Home (PC1)
主控端電腦為XP Pro (PC2)
兩台只用HUB接,無開防火牆,,工作群組皆為MSHOME,IP為192.168.0.150、192.168.0.151
都可以PING的到對方
兩台的Administrator帳號密碼也都改成一樣過了
也是不行
另外,我發現一個比較奇怪的問題是
當我在PC1下
shutown -m \\PC2 -r -f -t 5
要關閉PC2電腦,他出現的錯誤訊息是"存取被拒"
可是在PC2下
shutown -m \\PC1 -r -f -t 5
要關閉PC1電腦 他出現的錯誤訊息是"找不到網路路徑"
我在想 這是不是因為我一台是PRO一台是HOME
所以不能遠端關機呢?
weiooooo wrote:
net user \\remote_pc /user:administrator password
Try this instead:
net use \\remote_pc\ipc$ /u:remote_pc\administrator password
請記得:
1. before you run this "net use", make sure you don't have existing connection to the remote machine. You can use:
net use * /delete
to do a clean up.
2. use appropriate, fully qualified account name after the "/u:"
http://starterx.blogspot.com
也是在被控端動手腳
透過本基原則將 遠端關機功能放給 GUEST 帳號
因為透過 //pcname 方式網芳連線預設都用GUEST連線的喔
方式如下(被控端電腦)
1、按擊「開始」按鈕,選項「執行」,在對話視窗中輸入「gpedit.msc」,然後按擊「確定」,開啟「群組原則編輯器」。
2、在「群組原則」視窗的左視窗中開啟「電腦配置」—「Windows 設定」—「安全性設定」—「本機原則」—「用戶權利指派」。
3、在「群組原則」視窗的右視窗中選項「Force shutdown from a remote system (從遠端系統強制關機)」,雙按。
4、在彈出的對話視窗中顯示目前只有「Administrators」組的成員才有權從遠端關機;按擊對話視窗下方的「增加用戶或組」按鈕,然後在新彈出的對話視窗中輸入「guest」,再按擊「確定」。
5、這時在「從遠端系統強制關機」的屬性內容中便增加了一個「guest」用戶,按擊「確定」即可。
6、關閉「群組原則」窗中。