Khoi dong va tat Windows theo y ban

Tags: Create Shortcut, tren may tinh, rat de dang, thu muc, tap tin, ung dung, chung ta, chuong trinh, co the, ban, chay, WINDOWS, chon, dong


(2K, XP, 98, ME) Ban muon chay ung dung moi khi Windows bat dau? Rat de dang de thuc hien dieu nay, chi can keo bang chuot phai tap tin .exe cua ung dung do, hoac shortcut cua tap tin nay vao trong thu muc Startup va chon Create Shortcut(s) Here. Lan sau khi ban khoi dong Windows, chuong trinh nay se tu dong duoc chay.

Nhung co mot so ung dung ban khong muon phai cho chung chay xong moi khi bat dau Windows nhu cac ung dung kiem tra virus tren may tinh, tao cac bang sao luu du lieu, chuong trinh chong phan manh dia cung, hay cac chuong trinh bao tri khac. Chuc nang Scheduled Tasks trong Windows giup ban co the chay ung dung tren may tinh voi thoi gian xac dinh do ban quy dinh ngay ca khi ban khong o tren may tinh. Neu ban khong cho may tinh chay lien tuc thi Scheduled Task khong giup duoc nhieu neu muon chay ung dung luc ban khong phai lam gi tren may, hay bat Windows chay cac ung dung do truoc khi tat may. Cach tot nhat la giong cach cua thu muc Startup, tao ra mot thu muc shutdown trong do chua tat ca cac chuong trinh ban muon chay truoc khi tat may, va ban co the de dang thay doi bang cach them vao hay xoa di cac ung dung theo cach ban muon.

Cach nay cho phep ban loai bo cac ung dung ban khong muon no tu chay tren may nhat la cac ung dung chay o khay he thong nhung chung ta it khi dung den, bang cach sua Registry. Truoc tien chung ta se tim hieu lam the nao de tu them thu muc shutdown vao trong Windows. Sau do se la cach tao mot tap tin Registry de loai bo cac ung dung chung ta khong muon chay tu dong trong he thong.

Chu y rang tao thu muc chua cac ung dung de chay moi khi tat may chi co the duoc thuc hien voi Windows 2000 va XP. De giu cho thu muc shutdown nam chung voi thu muc startup, ban nhap chuot phai len nut Start, chon Open. Nhap dup chuot len thu muc Programs, sau do chon File / New / Folder. Dat ten cho thu muc do la Shutdown roi nhan Enter. Sau do nhan Enter lan nua de mo thu muc nay, va chen vao trong thu muc nay cac shortcut cua nhung chuong trinh ban muon chay moi khi tat may bang cach keo cac bieu tuong tu bat ky trinh don hay cua so thu muc nao bang chuot phai vao trong thu muc Shutdown va chon Create Shortcut(s) Here (neu la Windows XP) hoac Copy Here (neu la Windows 2000).

Cac chuong trinh do chi bat dau chay truoc khi nguon trong may tinh tat, vi the chi dua vao do cac chuong trinh tien ich hoac cac tap tin .bat de chung tu dong tat hoac ngung cac nhiem vu cua chung khi da hoan thanh. Thuc hien dieu nay voi tien ich bao tri dia, co the ban can dung mot so lenh dac biet. Co the them vao thu muc do mot tap tin .bat de sao luu cong viec hoac mot shortcut de thuc hien viec kiem tra virus tren may.

Ten cua cac shortcut trong thu muc Shutdown khong the chua bat ky khoang trang nao. Neu co mot shortcut nao chua khoang trang trong do, chon no, nhan F2, sau do bo di cac khoang trang roi nhan Enter. Lam dieu nay voi tat ca cac shortcut co ky tu trang trong thu muc nay.

Shutdown Maintenance

Truoc tien chung ta se tao mot tap tin .bat de chay cac ung dung trong thu muc Shutdown. Chon Start, Programs (All Programs neu la XP), Accessories, Notepad. Ba dong dau tien trong tap tin nay duoc mo ta o day chi co the chay duoc tren Windows 2000 va XP. Dong dau tien la dir /b va duong dan cua thu muc Shutdown vua tao, duong dan nay phai duoc bo vao giua 2 dau ngoac kep neu no co bat ky khoang trang nao. Cung tren dong nay, tiep theo duong dan se la mot khoang trang va dau lon hon (>), tiep theo do la duong dan va thu muc chua tap tin nay, cuoi cung la ten cua no. Vi du no co the giong nhu the nay dir /b “C:Documents and SettingsAdministratorStart MenuProgramsShutdown” >”c:atch un_it.bat” (tren may cua ban no co the khac).

O dong thu hai co lenh sau: cd /d va duong dan den thu muc Shutdown giong nhu o dong

1. Vi du, dong 2 trong tap tin .bat se trong nhu the nay: cd /d “C:Documents and SettingsAdministratorStart MenuProgramsShutdown”.

Dong ke tiep se chay tap tin .bat. Nhap vao lenh sau: call c:atch un_it.bat (neu tap tin ban muon chay la run_it.bat).

Trong tat ca cac phien ban cua Windows, chen mot dong vao tap tin nay tuong ung voi mot tien ich ban muon Windows chay nhung khong co shortcut tuong ung trong thu muc Shutdown. Trong Windows 9x va ME, ban co the co mot dong nhu the nay c:windowsscandskw.exe c: d: /n. Neu ban muon cac tien ich cua Windows se tu dong dong khi chay xong, them start /w vao bat dau moi dong, dac biet doi voi cac tac vu mat thoi gian. Lua chon /w se lam cho tap tin batch khong chay tiep cac dong ke cho den khi ung dung dang chay hoan thanh.

Them dong cuoi cung vao trong tap tin do de tat Windows. Neu ban muon su dung Windows XP va 2000 de chay cac ung dung bang cach dua chung vao trong thu muc Shutdown cua ban, dieu chinh lua chon –t (timeout), tiep theo la khoang trang va nhap vao so giay ban muon cho de dong tien trinh nay. Vi du, lenh –t 9999 se yeu cau Windows cho khoang 3 gio truoc khi tat may. Khi ban thuc hien xong, cua so Notepad se trong giong nhu hinh 2.

Tiep theo chon File, Save, chon thu muc noi muon luu tru cac tap tin .bat, nhap vao ten cho no, voi phan mo rong se la bat, vi du shutdwn.bat. Ke tiep, mo thu muc trong Explorer va keo bieu tuong cua tap tin nay vao trong nut trinh don Start. Nhan chon nut Start, nhap chuot phai tren bieu tuong moi duoc tao, va chon Rename (neu ban muon thay doi ten) hoac Properties (neu muon thay doi bieu tuong). Lan sau khi ban muon thoat khoi windows va tu dong chay cac ung dung yeu cau, chon bieu tuong nay tren trinh don Start thay vi thuc hien cac buoc nhu thong thuong.

Tat cac ung dung tu chay

(2K, XP, 98, ME) Mot diem tien loi khi su dung thu muc shutdown la khi ban muon xoa mot so thu vo van trong Registry. Co nhieu ung dung thuong dua chuong trinh hoac cac chuc nang dang chay cua chung vao trong khay he thong, ngay ca khi ban chang bao gio su dung chung. Phan lon cac muc Startup nay thuong duoc vao ngay khi ban cai dat chuong trinh lan dau tien. Neu ban khong thuong dung chung, co the ngan chan chung chay bang cach su dung cac cong cu tien ich mien phi nhu Mike Lin’s Startup Control Panel.
Khong may, mot so ung dung (nhu QuickTime for Windows) se tu phuc hoi cac lenh khoi dong chung moi lan ban nang cap hoac ngay ca chi khi chay cac ung dung nay. Truoc khi co the xoa chung tu dong, ban can thay doi cac muc trong Registry. Chon Start/Run, va nhap vao regedit, sau do nhan Enter. Di chuyen den thu muc chua lenh de bat dau ung dung. Startup Control Panel co the chi cho ban thay chung o dau, nhung cac noi chung thuong hay ton tai la HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun va HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRun.

Voi muc duoc lua o cay ben trai, chon Registry, Export hoac File, Export (phu thuoc vao phien ban Windows dang su dung). Chon thu muc ban muon sao luu no, chu y rang lua chon Selected branch phai duoc chon, nhap vao ten tap tin de luu va nhan nut Save.

Quay lai man hinh Registry, chon lenh Export lan nua, nhung ky nay chung ta se luu no thanh phien ban de sua doi nham xoa di cac muc cua cac chuong trinh chung ta khong muon khoi dong. Neu ban muon su thay doi nay duoc thuc hien vao cac lan truoc khi tat may giong nhu da de cap o tren, ban co the luu phien ban nay vao trong cung thu muc voi tap tin .bat da tao nhu o phan huong dan dau tien. Va giong nhu lan truoc, Selected branch phai duoc chon, nhap ten de luu tap tin nay, nhan nut Save.

Mo cua so Explorer, di chuyen den tap tin vua luu o tren. Nhap chuot phai len tren bieu tuong cua no va chon Edit. Dung sua bat ky thu gi o dong dau tien, dong trong ke tiep hay dong tieu de hien thi duong dan Registry trong dau ngoac vuong ([,]). Ben duoi dong duong dan cua Registry, mot hoac nhieu ung dung se duoc liet ke trong dau ngoac kep.

Tim dong mo ta cho ung dung ma chung ta khong muon no tu dong khoi dong. Xoa tat ca cac ky tu hien thi tu sau dau bang (=) den het dong, con phia truoc dau bang chung ta van giu nguyen. Va thay the chung bang mot dau gach noi (-). Vi du neu chung ta khong muon cho chuong trinh QuickTime chay va hien thi o khay he thong nua, trong muc mo ta no trong Registry, chung ta se thay doi nhu sau “QuickTime Task”=-. Lap lai cac buoc giong nhu tren neu ban muon chan khoi dong cua mot so ung dung khac nua.
Cuoi cung, chung ta se xoa tat ca cac dong khac (nhung dong chung ta khong muon thay doi) ben duoi dong tieu de, ban chi nen de lai 2 dong tieu de (mot la dong phien ban Registry, dong kia la duong dan Registry trong ngoac vuong), va voi moi ung dung muon hieu chinh chung ta co mot dong cho no (xem hinh 4). Chon File, Save de luu no thanh tap tin .reg.

Nhap dup chuot len bieu tuong cua tap tin Registry vua duoc export, khi do cac lenh trong tap tin .reg nay se phuc hoi lai cac gia tri cua muc trong registry nhu khi bat dau Windows. De tao shortcut tuong ung cho tap tin nay trong thu muc chung ta muon no chay (nhu trong thu muc shutdown duoc tao o tren), chung ta nhap chuot phai ben trong thu muc do va chon New, Shortcut. Trong hop thoai dau tien Create Shortcut wizard, nhap vao regedit /s va sau do la mot khoang trang, tiep tuc voi mot duong dan den tap tin .reg vua hieu chinh. Neu nhu tap tin do duoc luu trong thu muc c:WindowsBatch, dong nay se la regedit /s “c:WindowsBatchStartup Stopper.reg”. Nho su dung dau ngoac kep neu nhu duong dan co chua ky tu khoang trang hoac ten tap tin dai. Nhan Next, nhap vao ten cho shortcut va chon Finish.

BAO TOAN

Viet Bao
Thích và chia sẻ bài viết này trên facebook Theo dõi vietbao.vn trên facebook

Tìm hiểu: Create Shortcut, tren may tinh, rat de dang, thu muc, tap tin, ung dung, chung ta, chuong trinh, co the, ban, chay, WINDOWS, chon, dong

Xem Bản Tiếng Việt Có Dấu: Khởi động và tắt Windows theo ý bạn

Ban co the doc ban tieng Viet co dau cua bai viet Khởi động và tắt Windows theo ý bạn bang cach nhan chuot vao duong dan tren.

Lien he ve tin Khoi dong va tat Windows theo y ban

Nhan xet, hay lien he ve tin Khoi dong va tat Windows theo y ban co the gui bang duong dan o duoi. Ban nen gui kem tieu de bai viet Khoi dong va tat Windows theo y ban de lam tham khao. Bai viet nay thuoc chuyen de Kinh nghiem trong chuyen muc Cong nghe.

Cac tin khac:

Xem tiep ... Kinh nghiem
Kenh Tin RSS Kenh Tin RSS | Du Bao Thoi Tiet | Lich Xem TV | Lien He - Contact | Quang Cao | Viec Lam | Dieu Kien Su Dung | Bao Ve Tinh Rieng Tu | Sitemap

Copyright©2008 VietBao.vn, Thu Vien Thong Tin Tong Hop Viet Nam va The Gioi, phien ban thu nghiem phan mem Viet Bao Viet Nam, beta 1.0