This useful command lets you wait for signals from other command windows or even across the network.
waitfor.exe is in windowssystem32 directory.
The simple case for the tool is in one command window you do a “waitfor foobar” and it’ll block until in another window you do a “waitfor /SI foobar”.
There’s a hidden, system, read-only file called boot.ini in system boot drive.
Here’s a sample to run 1 GB dual as a 128 MB uniprocessor:
timeout=30 default=multi(0)disk(0)rdisk(0)partition(2)WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(2)WINDOWS=”Microsoft Windows XP Professional” /fastdetect /numproc=1 /maxmem=128
Have you ever deleted an email, emptied your deleted items folder and then realized one day or two later that you need them? Well you can recover them in outlook using the following easy steps:
Select the ‘Delete Items’ folder
Go to Tools->Recover Deleted Items…
You will see a nice list of all the email that you have deleted. However, you’ll need to know either the sender or the subject since you can’t search or open the items but you could always recover everything and then re-empty the Deleted Items Folder.
Update: In Outlook 2010, its Folder –> Recover Deleted Items
powercfg.exe is a windows built in tool to config power management. powercfg.exe is a command line utility, it’s easy to integrate powercfg.exe into scripts.
Turn hibernation off
powercfg -hibernate OFF
Set the power configuration to High Performance
powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
Set the absentia power scheme (the scheme used when no one is logged in)
powercfg.exe -setabsentia 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
Enabling the built-in administrator account:
net user administrator /active:yes
Disabling the built-in administrator account:
net user administrator /active:no
Note: Must use an elevated command prompt for this command to work.
shutdown /s /t 0
shutdown /r /t 0
netdom.exe renamecomputer %computername% /NewName:<new name> /userd:domainuser /passwordd:*
wmic.exe computersystem where name="%computername%" rename name="<new name>"
Bring up the Regional and Language Settings dialog box
Slmgr.vbs is the tool that designed to be used to activate Server Core.
Windows Software Licensing Management Tool
Usage: slmgr.vbs [MachineName User Password] <One of the Options>
MachineName: if machine name is not provided, slmgr.vbs runs on local machine (do not require User/Password)
Note, this management tool is only for Windows
-did , Display product GUIDs and descriptions
-ilc <License File> , Install license
-ipk <Product Key> , Install product key
-upk <Product GUID> , Uninstall specified product key
-ato [Product GUID] , Activate specified product
, (activate all products if parameter not provided)
-atp <Product GUID> <Confirmation ID>, Activate specified product with user-provided confirmation ID
-dli [Product GUID] , Display license information for specified product
, (all licenses are displayed if parameter not provided)
Volume Licensing: Key Management Service (KMS) Options:
-dbi , Display KMS and client license information
-skms <KMS Machine Name> , Set name of KMS Computer to be used
-ckms , Clear name of KMS computer used
-sai <ActivationInterval> , Set how often client connects to KMS computer (in minutes) before computer is activated
-sri <RenewalInterval> , Set how often client connects to KMS computer (in minutes) after computer is activated
-bmc , Immediately attempt to connect client to KMS computer
-ekms <Product Key> , Enable Key Management Service on this machine