Archive for the 'Microsoft Windows' Category



How to Disable/Enable the Windows XP Welcome Screen?

Friday 19 September 2008 @ 11:35 pm

Windows XP gives the user a couple ways to log into the computer. You can use the traditional or classic method of typing in the username and password to login or you can use what’s called the Welcome Screen to login.

What if you want to change the way your computer logs in, can you disable or enable this Welcome Screen?

The Windows XP Welcome Screen is tied to another feature called “Fast User Switching”. This feature lets a user leave all his programs running if another user needs to use the computer. The first user can Log Off the session and Switch User back to the Welcome Screen so that another person can use the computer. When the second person is done, the user can switch back to his profile with all the programs still running where they left off. In order to use this feature, you have to use the Welcome Screen. However, if you dont need or want this feature, follow the instructions below to remove the Welcome Screen.

Remove the Welcome Screen

If you dont want to use “Fast User Switching”, you may want to disable the Welcome Screen. You must be logged in as an Administrator to do this. Note:To do this follow the directions below:

1) Click on Start
2) Click on Control Panel
3) Double-click on User Accounts
4) Click on “Change the way users log on or off”
5) Uncheck “Use the Welcome Screen” (note: this will also disable “Fast User Switching”)
6) Click on Apply Options
7) Close the User Accounts window and the Control Panel
8) The next time you reboot your computer, the classic login prompt will be used


What if I dont want the Welcome Screen OR the classic prompt? Can I disable both?

To Login automatically to a user account, follow the instructions below:

1) Click on Run
2) Type in the following command and click OK

control userpasswords2

3) Highlight the user you want to log into automatically, then uncheck the box for

“Users must enter a username and password to use this computer”

4) Click on Apply and you’ll be asked to verify the username and password to log in automatically
5) Click OK and the next time you restart your computer, you’ll automatically be logged in without having the classic prompt or Welcome Screen.


Is there a utility I can use to accomplish this?

You can download a utility for Windows XP called TweakUI that will allow you to change the way you log into Windows XP, along with allowing you to change alot of other features.

You can download TweakUI for Windows XP from the Microsoft Powertoys web page at

http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

Share



Microsoft Private Folder 1.0

Thursday 7 August 2008 @ 11:05 am

It looks like Microsoft is pulling this down. The reason being that in a corporate environment it would be way to easy for people to hide stuff in this password protected folder. There also is no recovery options. I personnaly like it and if you can’t remember the password then don’t use it!!!

Microsoft has released Private Folder 1.0 for Windows XP SP2. This free product (that is not supported) allows users to lock a folder with a password to a folder called My Private Folder. Passwords for this folder must be 6 – 16 characters long and can only contain letters and numbers…for some weird reason symbols are not included.

The folder remains unlocked for 5 minutes of idle time before you must enter your password again. That threshold can be configured from 3 minutes of idle time to never (thus you would have to manually lock it).

Using Microsoft Private Folder

After your reboot you will have an icon on your desktop called “My Private Folder”

Microsoft Private Folder

If you double click this icon you will be prompted for your My Private Folder password. Once you enter the password you can view the contents of the Microsoft Private Folder.

Download Microsoft Private Folder

You will also be provided with an icon for Microsoft Private Folder in the lower right corner by your clock. It looks like an unlocked padlock.

Private Folder Download

If you right click this icon you can lock your Microsoft Private Folder when you are done using it.

Microsoft Private Folders 1.0


You can download Private Folder 1.0 directly from Microsoft’s website.

Share



รวมคำสั่ง Run ใน Windows

Monday 17 December 2007 @ 11:20 pm

เรียกโปรแกรม Accessibility Options —> access.cpl

เรียกโปรแกรม Add Hardware —> hdwwiz.cpl

เรียกโปรแกรม Add/Remove Programs —> appwiz.cpl

เรียกโปรแกรม Administrative Tools control —> admintools

ตั้งค่า Automatic Updates —> wuaucpl.cpl

เรียกโปรแกรม Bluetooth Transfer Wizard —> fsquirt

เรียกโปรแกรม เครื่องคิดเลข (Calculator) —> calc

เรียกโปรแกรม Certificate Manager —> certmgr.msc

เรียกโปรแกรม Character Map —> charmap

เรียกโปรแกรม ตรวจสอบดิสก์ (Check Disk Utility) —> chkdsk

เรียกดูคลิปบอร์ด (Clipboard Viewer) —> clipbrd

เรียกหน้าต่างดอส (Command Prompt) —> cmd

เรียกโปรแกรม Component Services —> dcomcnfg

เรียกโปรแกรม Computer Management —> compmgmt.msc

เรียกดู/ตั้ง เวลาและวันที่ —> timedate.cpl

เรียกหน้าต่าง Device Manager —> devmgmt.msc

เรียกดูข้อมูล Direct X (Direct X Troubleshooter) —> dxdiag

เรียกโปรแกรม Disk Cleanup Utility —> cleanmgr

เรียกโปรแกรม Disk Defragment —> dfrg.msc

เรียกโปรแกรม Disk Management —> diskmgmt.msc

เรียกโปรแกรม Disk Partition Manager —> diskpart

เรียกหน้าต่าง Display Properties control desktop —> desk.cpl

เรียกหน้าต่าง Display Properties เพื่อปรับสีวินโดวส์ —> control color

เรียกดูโปรแกรมช่วยแก้ไขปัญหา (Dr. Watson) —> drwtsn32

เรียกโปรแกรมตรวจสอบไดร์ฟเวอร์ (Driver Verifier Utility) —> verifier

เรียกดูประวัติการทำงานของเครื่อง (Event Viewer) —> eventvwr.msc

เรียกเครื่องมือตรวจสอบไฟล์ File Signature Verification Tool —> sigverif

เรียกหน้าต่าง Folders Options control —> folders

เรียกโปรแกรมจัดการ Fonts —> control fonts

เปิดไปยังโฟลเดอร์ Fonts (Fonts Folder) —> fonts

เรียกเกม Free Cell —> freecell

เปิดหน้าต่าง Game Controllers —> joy.cpl

เปิดโปรแกรมแก้ไข Group Policy (ใช้กับ XP Home ไม่ได้) —> gpedit.msc

เรียกโปรแกรมสร้างไฟล์ Setup (Iexpress Wizard) —> iexpress

เรียกโปรแกรม Indexing Service —> ciadv.msc

เรียกหน้าต่าง Internet Properties —> inetcpl.cpl

เรียกหน้าต่าง Keyboard Properties —> control keyboard

แก้ไขค่าความปลอดภัย (Local Security Settings) —> secpol.msc

แก้ไขผู้ใช้ (Local Users and Groups) —> lusrmgr.msc

คำสั่ง Log-off —> logoff

เรียกหน้าต่าง Mouse Properties control mouse main.cpl

เรียกหน้าต่าง Network Connections control netconnections —> ncpa.cpl

เรียกหน้าต่าง Network Setup Wizard —> netsetup.cpl

เรียกโปรแกรม Notepad —> notepad

เรียกคีย์บอร์ดบนหน้าจอ (On Screen Keyboard) —> osk

เรียกหน้าต่าง Performance Monitor —> perfmon.msc

เรียกหน้าต่าง Power Options Properties —> powercfg.cpl

เรียกโปรแกรม Private Character Editor —> eudcedit

เรียกหน้าต่าง Regional Settings —> intl.cpl

เรียกหน้าต่าง Registry Editor —> regedit

เรียกโปรแกรม Remote Desktop —> mstsc

เรียกหน้าต่าง Removable Storage —> ntmsmgr.msc

เรียกหน้าต่าง Removable Storage Operator Requests —> ntmsoprq.msc

เรียกดู Policy ที่ตั้งไว้ (ใช้กับ XP Home ไม่ได้) —> rsop.msc

เรียกหน้าต่าง Scanners and Cameras —> sticpl.cpl

เรียกโปรแกรม Scheduled Tasks control —> schedtasks

เรียกหน้าต่าง Security Center —> wscui.cpl

เรียกหน้าต่าง Services —> services.msc

เรียกหน้าต่าง Shared Folders —> fsmgmt.msc

คำสั่ง Shuts Down —> shutdown

เรียกหน้าต่าง Sounds and Audio —> mmsys.cpl

เรียกเกม Spider Solitare —> spider

แก้ไขไฟล์ระบบ (System Configuration Editor) —> sysedit

แก้ไขการตั้งค่าระบบ (System Configuration Utility) —> msconfig

ตรวจสอบระบบด้วย System File Checker Utility (เริ่มทันที) —> sfc /scannow

ตรวจสอบระบบด้วย System File Checker Utility (เริ่มเมื่อบู๊ต) —> sfc /scanonce

เรียกหน้าต่าง System Properties —> sysdm.cpl

เรียกหน้าต่าง Task Manager —> taskmgr

เรียกหน้าต่าง User Account Management —> nusrmgr.cpl

เรียกโปรแกรม Utility Manager —> utilman

เรียกโปรแกรม Windows Firewall —> firewall.cpl

เรียกโปรแกรม Windows Magnifier —> magnify

เรียกหน้าต่าง Windows Management Infrastructure —> wmimgmt.msc

เรียกหน้าต่าง Windows System Security Tool —> syskey

เรียกตัวอัพเดตวินโดวส์ (Windows Update) —> wupdmgr

เรียกโปรแกรม Wordpad —> write

Share



How to start the System Restore tool at a command prompt in Windows XP

Monday 26 November 2007 @ 10:19 am

System restore not working well for you. You’ll have much better success running it from the command line.

Running System Restore from the command line is often the only way to get a system back up and running. I’ll describe it from the initial boot.

    1. Restart your system
    2. When the system first boots, type F8 to bring up the boot menu
    3. Select the Safe Mode with Command Prompt option
    4. Log-on as administrator if needed
    5. At your command prompt type

    %systemroot%system32restorerstrui.exe

    6. Hit Enter
    6. This will open the system restore wizard…

Share



Autopatcher is Back!

Saturday 24 November 2007 @ 10:34 pm

Hi all,

After the shocking news from few months ago, we all know that the famous Windows Offline patcher program called “Autopatcher” has been taken down by Microsoft. However, they are now alive again with the new name and operation called “Autopatcher Updater”. We all know that the reason Microsoft used to taken down Autopatcher is because they have many patches packed in their program. However, with this new version you will be able to update via their server instead.

Here is some more screenshots for the new Autopatcher Updater (Thanks Ghacks for the news)

The program can be downloaded from here:

http://www.autopatcher.com/forums/index.php?showforum=19

Share



23 โปรมแกรมลับใน วินโดวส์ เอ็กซ์พี : Hidden application on Windows XP

Monday 3 September 2007 @ 12:24 pm


คุณรู้ไหมครับ ว่า Windows XP มีโปรแกรมซ่อนอยู่ตั้ง 23 โปรแกรม

ซึ่งถ้าเราไม่รู้จักมันมาจากการที่จำเป็นต้องใช้มันนั้น เราจะไม่มีทางได้ใช้มันเลย
เพราะบางโปรแกรม มันไม่อยู่ใน Start Menu ให้เรากด บางโปรแกรมถึงติดตั้งมาโดยที่เอาออกไม่ได้ บางโปรแกรมเป็นโปรแกรมที่มาจากวินโดว์รุ่นก่อน (ทั้งๆที่ XP ก็มีโปรแกรมนั้นแล้ว)

มาดูกันว่า 23 โปรแกรมนั้นมีอะไรบ้าง
วิธีการใช้ก็เข้าที่ Start -> Run -> พิมพ์คำสั่งต่อไปนี้

charmap.exe = Character Map (มีประโยชน์มากสำหรับใช้พิมพ์อักขระพิเศษ)
cleanmgr.exe = Disk Cleanup (เอาไว้ทำความสะอาดหรือ Clear พื้นที่)
clipbrd.exe = Clipboard Viewer (ดูข้อมูล ในคลิปบอร์ด)
drwtsn32.exe = Dr Watson (โปรแกรมที่ใช้ตัวสอบว่าวินโดว์มีปัญหาเพราะอะไร)
dxdiag.exe = DirectX diagnosis (โปรแกรมตรวจสอบอุปกรณ์ว่า สนับสนุน DirectX หรือไม่ และแสดงรายชื่อไฟล์ที่เกี่ยวข้อง)
eudcedit.exe = Private character editor (โปรแกรมที่อนุ*าตให้เราแก้ไขฟอนต์ หรือทำฟอนต์เองได้)
iexpress.exe = IExpress Wizard (โปรแกรมที่สร้างไฟล์ Setup ของวินโดว์ เอาไว้สำหรับคนที่เขียนโปรแกรมบนวินโดว์)
mobsync.exe = Microsoft Synchronization Manager (โปรแกรมที่คอยเก็บหน้าเว็บ หรือไฟล์บนเครือข่าย เอาไว้ดูตอน offline ได้)
mplay32.exe = Windows Media Player 5.1 (โอ้ Windows Media Player รุ่นคุณปู่)
odbcad32.exe = ODBC Data Source Administrator (โปรแกรมไว้จัดการกับดาต้าเบต)
packager.exe = Object Packager (โปรแกรมที่ใส่พวก Objects ต่างๆ ลงในไฟล์)
perfmon.exe = System Monitor (โปรแกรมนี้ มีประโยชน์มาก ไว้ตัวสอบประสิทธิภาพของวินโดว์)
progman.exe = Program Manager (เชลล์ไฟล์ของวินโดว์ 3.11)
rasphone.exe = Remote Access phone book (โปรแกรมที่เอาไว้ ติดต่อหรือเข้าถึงข้อมูลของสมุดที่อยู่ ในเครื่องอื่น)
regedt32.exe = Registry Editor [เหมือนกับ regedit.exe] (ไว้ใช้สำหรับแก้ไข Registry ของวินโดว์)
shrpubw.exe = Network shared folder wizard (สร้างแชร์โฟดเดอร์บนเครือข่าย)
sigverif.exe = File signature verification tool (โปรแกรมตรวจสอบ signature ของไฟล์)
sndvol32.exe = Volume Control (โปรแกรมไว้ปรับระดับเสียงไง อันเดียวกับรูปลำโพงตรง tray icon)
sysedit.exe = System Configuration Editor (โปรแกรมแก้ไข system.ini กะ win.ini)
syskey.exe = Syskey (Secures XP Account database – เป็นโปรแกรมที่ใช้ เข้ารหัส รหัสผ่านของวินโดว์ กรุณาใช้อย่างระมัดระวัง)
telnet.exe = Microsoft Telnet Client (โปรแกรม telnet)
verifier.exe = Driver Verifier Manager (โปรแกรมตรวจสอบ driver ต่างของวินโดว์ ใช้สำหรับคนที่มีปัญหาเรื่องไดร์เวอร์)
winchat.exe = Windows for Workgroups Chat (โปรแกรม chat รุ่นคุณปู่ มีเฉพาะในวินโดว์ ตระกูล

Share



100 Keyboard Shortcuts

Monday 25 June 2007 @ 12:28 am


100 วิธีลัดในการกด Keyboard

CTRL+C (Copy) คัดลอก

CTRL+X (Cut) ตัด

CTRL+V (Paste) วาง

CTRL+Z (Undo)

DELETE (Delete) ลบ

SHIFT+DELETE (Delete the selected item permanently without placing the item
in the Recycle Bin) ลบอย่างถาวร ไฟล์ที่ลบจะไม่ไปอยู่ในถังขยะ Recycle Bin

CTRL while dragging an item (Copy the selected item) คัดลอกไฟล์ที่เลือกไว้

CTRL+SHIFT while dragging an item (Create a shortcut to the selected item) สร้างชอร์ตคัดไฟล์ที่เลือกไว้

F2 key (Rename the selected item) เปลี่ยนชื่อไฟล์ที่เลือกไว้

CTRL+RIGHT ARROW (Move the insertion point to the beginning of the next
word) ย้ายเคอร์เซอร์ไปที่คำต่อไป

CTRL+LEFT ARROW (Move the insertion point to the beginning of the previous
word) ย้ายเคอร์เซอร์ไปที่คำก่อนหน้า

CTRL+DOWN ARROW (Move the insertion point to the beginning of the next
paragraph) ย้ายเคอร์เซอร์ไปที่ย่อหน้าต่อไป

CTRL+UP ARROW (Move the insertion point to the beginning of the previous
paragraph) ย้ายเคอร์เซอร์ไปที่ย่อหน้าก่อนหน้านี้

CTRL+SHIFT with any of the arrow keys (Highlight a block of text) ไฮไลท์ข้อความ

SHIFT with any of the arrow keys (Select more than one item in a window or
on the desktop, or select text in a document) เลือกไฟล์มากกว่าหนึ่งไฟล์

CTRL+A (Select all) เลือกทั้งหมด

F3 key (Search for a file or a folder) ค้นหา

ALT+ENTER (View the properties for the selected item) ดู Properties ของไฟล์ที่เลือก

ALT+F4 (Close the active item, or quit the active program) ปิดหน้าต่าง

ALT+ENTER (Display the properties of the selected object)

ALT+SPACEBAR (Open the shortcut menu for the active window) เปิดเมนูลัดของหน้าต่างที่ใช้งานอยู่

CTRL+F4 (Close the active document in programs that enable you to have
multiple documents open simultaneously)

ALT+TAB (Switch between the open items)

ALT+ESC (Cycle through items in the order that they had been opened)

F6 key (Cycle through the screen elements in a window or on the desktop)

F4 key (Display the Address bar list in My Computer or Windows Explorer)

SHIFT+F10 (Display the shortcut menu for the selected item)

ALT+SPACEBAR (Display the System menu for the active window)

CTRL+ESC (Display the Start menu)

ALT+Underlined letter in a menu name (Display the corresponding menu)

Underlined letter in a command name on an open menu (Perform the
corresponding command)

F10 key (Activate the menu bar in the active program)

RIGHT ARROW (Open the next menu to the right, or open a submenu)

LEFT ARROW (Open the next menu to the left, or close a submenu)

F5 key (Update the active window)

BACKSPACE (View the folder one level up in My Computer or Windows Explorer)

ESC (Cancel the current task)

SHIFT when you insert a CD-ROM into the CD-ROM drive (Prevent the CD-ROM
from automatically playing)

Dialog Box Keyboard Shortcuts

CTRL+TAB (Move forward through the tabs)

CTRL+SHIFT+TAB (Move backward through the tabs)

TAB (Move forward through the options)

SHIFT+TAB (Move backward through the options)

ALT+Underlined letter (Perform the corresponding command or select the
corresponding option)

ENTER (Perform the command for the active option or button)

SPACEBAR (Select or clear the check box if the active option is a check
box)

Arrow keys (Select a button if the active option is a group of option
buttons)

F1 key (Display Help)

F4 key (Display the items in the active list)

BACKSPACE (Open a folder one level up if a folder is selected in the Save
As or Open dialog box)

Microsoft Natural Keyboard Shortcuts

Windows Logo (Display or hide the Start menu)

Windows Logo+BREAK (Display the System Properties dialog box)

Windows Logo+D (Display the desktop)

Windows Logo+M (Minimize all of the windows)

Windows Logo+SHIFT+M (Restore the minimized windows)

Windows Logo+E (Open My Computer)

Windows Logo+F (Search for a file or a folder)

CTRL+Windows Logo+F (Search for computers)

Windows Logo+F1 (Display Windows Help)

Windows Logo+ L (Lock the keyboard)

Windows Logo+R (Open the Run dialog box)

Windows Logo+U (Open Utility Manager)

Accessibility Keyboard Shortcuts

Right SHIFT for eight seconds (Switch FilterKeys either on or off)

Left ALT+left SHIFT+PRINT SCREEN (Switch High Contrast either on or off)

Left ALT+left SHIFT+NUM LOCK (Switch the MouseKeys either on or off)

SHIFT five times (Switch the StickyKeys either on or off)

NUM LOCK for five seconds (Switch the ToggleKeys either on or off)

Windows Logo +U (Open Utility Manager)

Windows Explorer Keyboard Shortcuts

END (Display the bottom of the active window)

HOME (Display the top of the active window)

NUM LOCK+Asterisk sign (*) (Display all of the subfolders that are under
the selected folder)

NUM LOCK+Plus sign (+) (Display the contents of the selected folder)

NUM LOCK+Minus sign (-) (Collapse the selected folder)

LEFT ARROW (Collapse the current selection if it is expanded, or select the
parent folder)

RIGHT ARROW (Display the current selection if it is collapsed, or select
the first subfolder)

Shortcut Keys for Character Map

After you double-click a character on the grid of characters, you can move
through the grid by using the keyboard shortcuts:

RIGHT ARROW (Move to the right or to the beginning of the next line)

LEFT ARROW (Move to the left or to the end of the previous line)

UP ARROW (Move up one row)

DOWN ARROW (Move down one row)

PAGE UP (Move up one screen at a time)

PAGE DOWN (Move down one screen at a time)

HOME (Move to the beginning of the line)

END (Move to the end of the line)

CTRL+HOME (Move to the first character)

CTRL+END (Move to the last character)

SPACEBAR (Switch between Enlarged and Normal mode when a character is
selected)

Microsoft Management Console (MMC) Main Window Keyboard Shortcuts

CTRL+O (Open a saved console)

CTRL+N (Open a new console)

CTRL+S (Save the open console)

CTRL+M (Add or remove a console item)

CTRL+W (Open a new window)

F5 key (Update the content of all console windows)

ALT+SPACEBAR (Display the MMC window menu)

ALT+F4 (Close the console)

ALT+A (Display the Action menu)

ALT+V (Display the View menu)

ALT+F (Display the File menu)

ALT+O (Display the Favorites menu)

MMC Console Window Keyboard Shortcuts

CTRL+P (Print the current page or active pane)

ALT+Minus sign (-) (Display the window menu for the active console window)

SHIFT+F10 (Display the Action shortcut menu for the selected item)

F1 key (Open the Help topic, if any, for the selected item)

F5 key (Update the content of all console windows)

CTRL+F10 (Maximize the active console window)

CTRL+F5 (Restore the active console window)

ALT+ENTER (Display the Properties dialog box, if any, for the selected
item)

F2 key (Rename the selected item)

CTRL+F4 (Close the active console window. When a console has only one
console window, this shortcut closes the console)

Remote Desktop Connection Navigation

CTRL+ALT+END (Open the Microsoft Windows NT Security dialog box)

ALT+PAGE UP (Switch between programs from left to right)

ALT+PAGE DOWN (Switch between programs from right to left)

ALT+INSERT (Cycle through the programs in most recently used order)

ALT+HOME (Display the Start menu)

CTRL+ALT+BREAK (Switch the client computer between a window and a full
screen)

ALT+DELETE (Display the Windows menu)

CTRL+ALT+Minus sign (-) (Place a snapshot of the active window in the
client on the Terminal server clipboard and provide the same functionality
as pressing PRINT SCREEN on a local computer.)

CTRL+ALT+Plus sign (+) (Place a snapshot of the entire client window area
on the Terminal server clipboard and provide the same functionality as
pressing ALT+PRINT SCREEN on a local computer.)

Microsoft Internet Explorer Navigation

CTRL+B (Open the Organize Favorites dialog box)

CTRL+E (Open the Search bar)

CTRL+F (Start the Find utility)

CTRL+H (Open the History bar)

CTRL+I (Open the Favorites bar)

CTRL+L (Open the Open dialog box)

CTRL+N (Start another instance of the browser with the same Web address)

CTRL+O (Open the Open dialog box, the same as CTRL+L)

CTRL+P (Open the Print dialog box)

CTRL+R (Update the current Web page)

CTRL+W (Close the current window)

Share



วิธีปิด Autorun

Friday 15 June 2007 @ 1:06 pm

คลิกปุ่ม Start –> Run ปรากฏไดอะล็อกบ็อก Run พิมพ์คำสั่ง gpedit.msc กดปุ่ม OK
ปรากฏไดอะล็อกบ็อก Group Policy
คลิกเลือก User Configuration –> Administrative Templates –> System –> Double Click ไฟล์ Turn Off Autoplay ปรากกฎไดอะล็อกบ็อก Turn Off Autoplay Properties
1)คลิกเลือก Enabled
2)คลิกเลือก All drives
3)คลิก OK

หรือ

กด Shift ค้างไว้ ตอนเสียบ (ใช้กับ cd ก็ได้ตอนใส่แผ่น ) กดค้างไว้จนแน่ใจว่ามันไม่ autorun แล้วจึงปล่อย

หรือ

กด run แล้ว copy คำสั่งนี้ไปวาง แล้วกด Enter นะครับ

reg add HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v NoDriveTypeAutoRun /t REG_DWORD /d 255 /f

Share



วิธีทำ shortcut shutdown และ restart

Saturday 9 June 2007 @ 12:25 am

คลิ๊กขวาแล้วเลือก New -> Shortcut จากนั้นให้ใส่
%windir%System32shutdown.exe -r -f -t 00 สำหรับ Restart

%windir%system32shutdown.exe -s -t 0 สำหรับ Shutdown


r คือ restart
f คือ ขณะที่กำลังรันโปรแกรมอื่นอยู่จะปิดโดยไม่มีการเตือน
s คือ shutdown
t คือ เวลา หน่วยเป็นวินาที

แถมครับ อันนี้สำหรับ Hibernate
%windir%system32rundll32.exe powrprof.dll,SetSuspendState Hibernate

Share