Author Archives: devonenote

How to make your machine think it has less memory than it really does

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:

[boot loader]

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

Recover deleted mail in outlook

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

Disable standby/sleep

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

Activating Server Core

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
Global Options:
-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