command III……REGISTRY

•December 25, 2009 • Leave a Comment

Registry is the most powerful tool in windows operating system, any errors occurs in our machine we try to solve it through the regedit first….even now a days we try to fix the viruses through registry.we may not able to access our GUI mode of Registry when our machine get infected by virus so through this blog I am trying to share my knowledge of CUI mode edit and operation of Regedit.Hope you will enjoy this.

Here the command line goes….

REG Operation [Parameter List]

Operation [ QUERY | ADD | DELETE | COPY | SAVE | LOAD | UNLOAD | RESTORE | COMPARE | EXPORT | IMPORT ]

Return Code: (Except of REG COMPARE)

0 – Succussful
1 – Failed

REG QUERY

REG QUERY KeyName [/v ValueName | /ve] [/s]

KeyName
[\Machine\]FullKey

Machine
Name of remote machine, omitting defaults to the current machine
Only HKLM and HKU are available on remote machines

FullKey
in the form of ROOTKEY\SubKey name
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey – The full name of a registry key under the selected ROOTKEY

/v
query for a specific registry key

ValueName
The name, under the selected Key, to query if omitted, all values under the Key are queried

/ve
query for the default value or empty value name <no name>

/s
queries all subkeys and values

REG ADD

REG ADD KeyName [/v ValueName | /ve] [/t Type] [/s Separator] [/d Data] [/f]

KeyName
[\\Machine\]FullKey

Machine
Name of remote machine – omitting defaults to the current
machine Only HKLM and HKU are available on remote machines

FullKey
ROOTKEY\SubKey
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key under the selected ROOTKEY

/v
The value name, under the selected Key, to add

/ve
adds an empty value name <no name> for the key

/t RegKey
data types
[ REG_SZ | REG_MULTI_SZ | REG_DWORD_BIG_ENDIAN | REG_DWORD | REG_BINARY | REG_DWORD_LITTLE_ENDIAN | REG_NONE | REG_EXPAND_SZ ]
If omitted, REG_SZ is assumed

/s
Specify one charactor that you use as the separator in your data
string for REG_MULTI_SZ. If omitted, use "" as the separator

/d
The data to assign to the registry ValueName being added

/f
Force overwriting the existing registry entry without prompt

REG DELETE

REG DELETE KeyName [/v ValueName | /ve | /va] [/f]

KeyName
[\\Machine\]FullKey

Machine
Name of remote machine – omitting defaults to the current machine
Only HKLM and HKU are available on remote machines

FullKey
ROOTKEY\SubKey
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key under the selected ROOTKEY

ValueName
The value name, under the selected Key, to delete
When omitted, all subkeys and values under the Key are deleted

/ve
delete the value of empty value name <no name>

/va
delete all values under this key

/f
Forces the deletion without prompt

REG COPY

REG COPY KeyName1 KeyName2 [/s] [/f]

KeyName
[\\Machine\]FullKey

Machine
Name of remote machine – omitting defaults to the current machine
Only HKLM and HKU are available on remote machines

FullKey
ROOTKEY\SubKey
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key under the selected ROOTKEY

/s
Copies all subkeys and values

/f
Forces the copy without prompt

REG SAVE

REG SAVE KeyName FileName

KeyName
ROOTKEY\SubKey
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key under the selected ROOTKEY

FileName
The name of the disk file to save. If no path is specified, the file is created in the current folder of the calling process

REG RESTORE

REG RESTORE KeyName FileName

KeyName
ROOTKEY\SubKey (local machine only)
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key to restore the hive file into.
Overwriting the existing key’s values and subkeys

FileName
The name of the hive file to restore
You must use REG SAVE to create this file

REG LOAD

REG LOAD KeyName FileName

KeyName
ROOTKEY\SubKey (local machine only)
ROOTKEY [ HKLM | HKU ]
SubKey The key name to load the hive file into. Creating a new key

FileName
The name of the hive file to load
You must use REG SAVE to create this file

REG UNLOAD

REG UNLOAD KeyName

KeyName
ROOTKEY\SubKey (local machine only)
ROOTKEY [ HKLM | HKU ]
SubKey The key name of the hive to unload

REG COMPARE

REG COMPARE KeyName1 KeyName2 [/v ValueName | /ve] [Output] [/s]

KeyName
[\\Machine\]FullKey
Machine Name of remote machine – omitting defaults to the current machine
Only HKLM and HKU are available on remote machines
FullKey ROOTKEY\SubKey
If FullKey2 is not specified, FullKey2 is the same as FullKey1
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key under the selected ROOTKEY

ValueName
The value name, under the selected Key, to compare
When omitted, all values under the Key are compared

/ve
compare the value of empty value name <no name>

/s
Compare all subkeys and values

Output
[/oa | /od | /os | /on]
When omitted, output only differences

/oa Output all of differences and matches
/od Output only differences
/os Output only matches
/on No output

Return Code:

0 – Succussful, the result compared is identical
1 – Failed
2 – Successful, the result compared is different

REG EXPORT

REG EXPORT KeyName FileName

Keyname
ROOTKEY\SubKey (local machine only)
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key under the selected ROOTKEY

FileName
The name of the disk file to export

REG IMPORT

REG IMPORT FileName

FileName
The name of the disk file to import (local machine only)

Examples

Each of the below examples are the examples Microsoft has listed in each of the command help menus available through the /? switch on this command.

Reg query examples:

REG QUERY HKLM\Software\Microsoft\ResKit /v Version

Displays the value of the registry value Version

REG QUERY HKLM\Software\Microsoft\ResKit\Nt\Setup /s

Displays all subkeys and values under the registry key Setup

Reg add Examples:

REG ADD file://abc/HKLM/Software/MyCo

Adds a key HKLM\Software\MyCo on remote machine ABC

REG ADD HKLM\Software\MyCo /v Data /t REG_BINARY /d fe340ead

Adds a value (name: Data, type: REG_BINARY, data: fe340ead)

REG ADD HKLM\Software\MyCo /v MRU /t REG_MULTI_SZ /d faxmail

Adds a value (name: MRU, type: REG_MUTLI_SZ, data: faxmail)

REG ADD HKLM\Software\MyCo /v Path /t REG_EXPAND_SZ /d %%systemroot%%

Adds a value (name: Path, type: REG_EXPAND_SZ, data: %systemroot%)
Notice: Use the double percentage ( %% ) inside the expand string

Reg delete examples:

REG DELETE HKLM\Software\MyCo\MyApp\Timeout

Deletes the registry key Timeout and its all subkeys and values

REG DELETE \\ZODIAC\HKLM\Software\MyCo /v MTU

Deletes the registry value MTU under MyCo on ZODIAC

Reg copy examples:

REG COPY HKLM\Software\MyCo\MyApp HKLM\Software\MyCo\SaveMyApp /s

Copies all subkeys and values under the key MyApp to the key SaveMyApp

REG COPY \\ZODIAC\HKLM\Software\MyCo HKLM\Software\MyCo1

Copies all values under the key MyCo on ZODIAC to the key MyCo1
on the current machine

Reg save examples:

REG SAVE HKLM\Software\MyCo\MyApp AppBkUp.hiv

Saves the hive MyApp to the file AppBkUp.hiv in the current folder

Reg restore examples:

REG RESTORE HKLM\Software\Microsoft\ResKit NTRKBkUp.hiv

Restores the file NTRKBkUp.hiv overwriting the key ResKit

Reg load examples:

REG LOAD HKLM\TempHive TempHive.hiv

Loads the file TempHive.hiv to the Key HKLM\TempHive

Reg unload examples:

REG UNLOAD HKLM\TempHive

Unloads the hive TempHive in HKLM

Reg compare examples:

REG COMPARE HKLM\Software\MyCo\MyApp HKLM\Software\MyCo\SaveMyApp

Compares all values under the key MyApp with SaveMyApp

REG COMPARE HKLM\Software\MyCo HKLM\Software\MyCo1 /v Version

Compares the value Version under the key MyCo and MyCo1

REG COMPARE \\ZODIAC\HKLM\Software\MyCo \\. /s

Compares all subkeys and values under HKLM\Software\MyCo on ZODIAC
with the same key on the current machine

Reg export examples:

REG EXPORT HKLM\Software\MyCo\MyApp AppBkUp.reg

Exports all subkeys and values of the key MyApp to the file AppBkUp.reg

Reg import examples:

REG IMPORT AppBkUp.reg

Imports registry entrys from the file AppBkUp.reg

 

Enjoy testing…..

Windows 7 Product Guide.

•November 2, 2009 • 1 Comment

As I am interested in the New Product of Microsoft Windows 7 I started to get a material to learn more about it, when i completely get released. and now while searching i got that Microsoft has released an official Windows 7 product guide which is available in PDF and XPS formats for download.

Windows 7 Product Guide has three major sections:

  • Introduction - Describes how Microsoft designed Windows 7, what editions of Windows 7 are available and what is new.
  • Windows 7 for You - Goes over features in Windows 7 that, simplify everyday tasks, works the way you want, and makes new things possible.
  • Windows 7 for IT Professionals - Explains how Windows 7 can make people productive anywhere, manage risk though enhanced security and control, and reduce costs by streamlining PC management.  This section also has an overview of the Microsoft Desktop Optimization Pack to help you learn about how this set of applications can help you get to a more managed and optimized desktop.

To Download Click HERE

Adjust time on Aero peek on windows 7

•October 21, 2009 • 2 Comments

"Aero Peek" is a new feature in Windows 7 which has replaced the old "Show Desktop" shortcut. It can be found as a small rectangle present at the end of Taskbar. When you hover the mouse cursor over it, it allows you to peek behind all open windows by hiding all windows and showing only outlines of all windows.

The default delay time to preview Desktop is set to 1 second by default but sometimes it gets annoying when you accidentally hover your mouse over it.

Today we are sharing a small registry trick which can be used to adjust this delay time. You can set the delay time to 2,3 or more seconds according to your requirements.

aero_peak1

So here I do have a procedure.

1. Type regedit in RUN or Startmenu Searchbox and press Enter. It’ll open Registry Editor.

2. Now go to following key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

3. In right-side pane, create a new DWORD value DesktopLivePreviewHoverTime

DesktopLivePreviewHoverTime

4. Now you’ll need to set its value to your desired delay time. Double-click on it and select "Base" as Decimal and enter the desired value. Remember the value should be given in milliseconds, so if you want to set the delay time to 4 seconds, set the value to 4000

Adjust_DesktopLivePreviewHoverTime

5. That’s it. Log off or restart your system to take effect.

Tips:- If you want to restore default settings, simply delete "DesktopLivePreviewHoverTime" DWORD value created in Step 3.

Download Regedit here.

For Detail:-

Bing Wallpaper….Download

•October 19, 2009 • Leave a Comment

Bing a decision search engine……View rate of Bing and use of it is been increasing rapidly….. It is a awesome search engine….not only search engine as i have mentioned before a awesome decision engine also……and I am one of the fan of it…..When ever I visit to www.bing.com ,I first see the wallpaper of it…..Awesome wallpaper with ultimate  view…..not only this much also the description of the picture attracts me. And i believe not only me but most of the people too like the wallpaper of it and make a download, beside making a search on Bing. As i am interested on collecting the wallpaper everyday I visit at least once on Bing to see the new wallpaper as I say beside binging to download that wallpaper…..but what happen if i miss a day i will miss that wallpaper. so i start to search a solution and i got an application that can download the wallpaper of Bing, and I succeed….. and sharing with you guys….with the help of this application you guys can download a several day before of wallpaper, also and the great thing is it is automatic. I think you guys will enjoy it.

Here you can download the application

Hello world!

•October 14, 2009 • 1 Comment

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

 
Follow

Get every new post delivered to your Inbox.