天天看點

通過計劃任務實作windows8系統啟動自動顯示桌面

因為是在測試環境,我隻有一個C槽分區,是以在C槽根目錄下建立命名為Desktop.txt的檔案檔案(名稱可任意定義)。

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_1357610260vnc5.png"></a>

然後輕按兩下打開剛才建立的Desktop.txt的文本檔案進行編輯

[Shell]

Command=2

IconFile=Explorer.exe,3

[Taskbar]

Command=ToggleDesktop

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_13576102606TLw.png"></a>

儲存後,将.txt的擴充名更改為.scf格式的

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_1357610260iZUo.png"></a>

然後開始設定計劃任務:

通過運作taskschd.msc,打開計劃任務控制台

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_13576102618l3j.png"></a>

開始建立任務

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_1357610262CLf8.png"></a>

名稱:Desktop

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_1357610262IrPA.png"></a>

切換到觸發器選項--建立----開始任務類型---登陸時

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_13576102633fst.png"></a>

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_13576102639gob.png"></a>

切換到--操作标簽---建立---程式或腳本---選擇C槽根目錄下建立的命名為Desktop.scf

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_1357610264veLi.png"></a>

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_13576102646us6.png"></a>

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_1357610265FlRM.png"></a>

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_1357610265f3of.png"></a>

确認後,測試結果,将計算機重新開機

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_1357610266en4x.png"></a>

重新開機後登陸後,正常顯示桌面

<a href="http://gaowenlong.blog.51cto.com/attachment/201301/8/451336_1357610266ND1a.png"></a>

本文轉自 高文龍 51CTO部落格,原文連結:http://blog.51cto.com/gaowenlong/1111301,如需轉載請自行聯系原作者