Friday, July 17, 2009

block site by host file download [advance user ]


I want to block some websites that my kids go to. I use Firefox

how to block sites in xp

Sure it does.

You're running Windows XP.

Be logged in as a privileged user.

Open a DOS command window, type:
notepad C:\WINDOWS\system32\drivers\etc\hosts

Put the following line in hosts:
127.0.0.1 www.google.com

File > Save.

Now try to open http://www.google.com with any web browser on the PC.

Remove the line you added from hosts to restore access to the Googl;e
web site

Thursday, July 16, 2009

DISEBLE AUTORUN.INF BY REGISTRY [NO NEED TO GO IN REGEDIT]


The easiest and most effective means to truly disable autorun can be done via this simple autorun registry hack:

DOWNLOAD THIS REGISTRY & CLICK

http://rapidshare.com/files/256368794/DISEBLEAUTORUNINFFILE.REG

OR MICROSOFT AUTO RUN DISABLE PATCH

CLICK HERE TO DOWNLOAD

DOUBLE CLICK AND RUN THE APPLICATION

C'ant see hidden files [Show hidden file Issue / Problem due to virus]


Question : I got a problem concerning my hidden files, i can't see them anymore and when i enter in tools, folder options so as to click and see my hidden folders...it returns back to "do not show" any clue????

Download this tool from rapidshare



click on this link

http://rapidshare.com/files/256337660/WORMREMOVE2dotnet.exe


100% Virus Free
tested by Kaspersky 2010
created by mIKKImAX

Wednesday, July 15, 2009

Description of the Windows XP Recovery Console for advanced users

When you use the Windows Recovery Console, you can obtain limited access to the NTFS file system, FAT, and FAT32 volumes without starting the Windows graphical user interface (GUI). In the Windows Recovery Console, you can perform the following actions:
  • Use, copy, rename, or replace operating system files and folders
  • Enable or disable service or device startup the next time that you start your computer
  • Repair the file system boot sector or the master boot record (MBR)
  • Create and format partitions on drives
Note Only an administrator can obtain access to the Windows Recovery Console. This prevents unauthorized users from using any NTFS volume.

Option 1: If you have already installed the Recovery Console

If you have already installed the Recovery Console, you can select it during your usual Windows Startup. To run the Recovery Console:
  1. During Startup, select Recovery Console from the startup options menu.
  2. If you have a dual-boot or multiboot system, select the installation that you want to access from the Recovery Console.
  3. When you are prompted, type the Administrator password.
  4. At the command prompt, type Recovery Console commands, and then you can refer to the commands that are listed in the "Available commands within Windows Recovery Console" section.
  5. At any time, you can type Help for a list of available commands.
  6. At any time, you can type Help commandname for help on a specific command.For example, you can type help attrib to display the help on the attributes command.
  7. At any time, you can exit Windows Recovery Console by typing Exit at the command line.

Option 2: Starting the Windows Recovery Console from the Windows XP CD-ROM

If you have not preinstalled the Windows Recovery Console, you can start the computer and use the Recovery Console directly from your original Windows XP installation disc. If your computer is already in Windows and you want to add the Windows Recovery Console as a startup option, go to the next section "Adding the Windows Recovery Console as a startup option."
  1. Insert the Windows XP CD into your CD drive and restart your computer. If you are prompted, select any options required to start (boot) from the CD.
  2. When the text-based part of Setup begins, follow the prompts. Select the repair or recover option by pressing R.
  3. If you have a dual-boot or multiboot system, select the installation that you want to access from the Recovery Console.
  4. When you are prompted, type the Administrator password.
  5. At the command prompt, type Recovery Console commands, and then you can refer to the commands that are listed in the "Available commands within Windows Recovery Console" section.
  6. At any time, you can type Help for a list of available commands.
  7. At any time, you can type Help commandname for help on a specific command. For example, you can type help attrib to display the help on the attributes command.
  8. At any time, you can exit Windows Recovery Console by typing Exit at the command line.

Option 3: Adding the Windows Recovery Console as a startup option

If your computer starts Windows, you can add the Windows XP Recovery Console as a startup option from the Windows environment. To install the Recovery Console as a startup option, follow these steps:
  1. With Windows running, insert the Windows CD into your CD drive.
  2. Click Start and clickRun.
  3. Type the following commands (where X: is the CD Drive letter), and then press ENTER on your keyboard.
    X:\i386\winnt32.exe /cmdcons
    Note There is a space before /cmdcons.
  4. Click OK and follow the instructions to finish Setup.

    Note This adds the Windows Recovery Console to the Windows Startup folder.
  5. Restart your computer and select the Recovery Console option from the list of available operating systems.
Important If you are using software mirroring, see the following article in the Microsoft Knowledge Base:
229077 (http://support.microsoft.com/kb/229077/ ) Mirroring prevents pre-installing the Recovery Console
222478 (http://support.microsoft.com/kb/222478/ ) Creating a template to run Recovery Console using a remote install server

Restrictions and limitations of the Recovery Console

When you use the Windows Recovery Console, you can use only the following items:
  • The root folder
  • The %SystemRoot% folder and the subfolders of the Windows installation that you are currently logged on to
  • The Cmdcons folder
  • The removable media drives such as the CD drive or the DVD drive
Note If you try to access other folders, you may receive an "Access Denied" error message. This does not necessarily mean that data that is contained in those folders is lost or corrupted. It only means that the folder is unavailable while you are running the Windows Recovery Console. Also, when you are using the Windows Recovery Console, you cannot copy a file from the local hard disk to a floppy disk. However, you can copy a file from a floppy disk or from a CD-ROM to a hard disk, and you can copy a file from one hard disk to another hard disk.

Using the Command Console within Windows Recovery Console

The Recovery Console gives you limited access to the NTFS file system, FAT, and FAT32 volumes. Recovery Console prevents the familiar Windows Graphical User Interface (GUI) from loading in order to repair and recover Windows functionality.

After you start the Windows Recovery Console, you receive the following message:
Microsoft Windows(R) Recovery Console

The Recovery Console provides system repair and recovery functionality.
Type EXIT to exit the Recovery Console and restart the computer.

1: C:\WINDOWS

Which Windows Installation would you like to log on to ?
(To cancel, press ENTER)
Enter the number for the appropriate Windows installation. In this example, you would press 1. Then, Windows prompts you to enter the Administrator account password.

Note If you use an incorrect password three times, the Windows Recovery Console closes. Also, if the Security Accounts Manager (SAM) database is missing or damaged, you cannot use the Windows Recovery Console because you cannot be authenticated correctly. After you enter your password and the Windows Recovery Console starts, type Exit to restart the computer.

When you use Windows XP Professional, you can set group policies to enable automatic administrative logon. For more information about how to set Recovery Console to enable automatic administrative logon, click the following article number to view the article in the Microsoft Knowledge Base:
312149 (http://support.microsoft.com/kb/312149/ ) How to enable an administrator to log on automatically in Recovery Console

Available commands within Windows Recovery Console

The following commands are available within the Windows Recovery Console. The commands are not case-sensitive.

Warning Some of these commands can make your system inoperable. Read the whole explanation of any command before you enter it onto the command line. Seek the advice of a support professional if you have any questions or concerns about a particular command.

HELP

Use the help command to list all the following supported commands:
   attrib    del        fixboot   more     set
batch delete fixmbr mkdir systemroot
bootcfg dir format more type
cd disable help net
chdir diskpart listsvc rd
chkdsk enable logon ren
cls exit map rename
copy expand md rmdir

ATTRIB

Use the attrib command together with one or more of the following parameters to change the attributes of a file or a folder:
-R
+R
-S
+S
-H
+H
-C
+C
Notes
+ Sets an attribute
- Resets an attribute
R Read-only file attribute
S System file attribute
H Hidden file attribute
C Compressed file attribute

You must set or clear at least one attribute.

To view attributes, use the dir command.

BATCH

batch inputfile [outputfile]
Use this command to run commands that are specified in a text file. In the command syntax, inputfile specifies the text file that contains the list of commands to be run, and outputfile specifies the file that contains the output of the specified commands. If you do not specify an output file, the output appears on the screen.

BOOTCFG

Use this command for boot configuration and recovery. This command has the following options:
bootcfg /add
bootcfg /rebuild
bootcfg /scan
bootcfg /list
bootcfg /disableredirect
bootcfg /redirect [portbaudrate] | [useBiosSettings]
Examples:
bootcfg /redirect com1 115200
bootcfg /redirect useBiosSettings
You can use the following options:
/add Adds a Windows installation to the boot menu list.
/rebuild Iterates through all Windows installations so that you can specify which installations to add.
/scan Scans all disks for Windows installations and displays the results so that you can specify which installations to add.
/default Sets the default boot entry.
/list Lists the entries already in the boot menu list.
/disableredirect Disables redirection in the boot loader.
/redirect Enables redirection in the boot loader, with the specified configuration.

CD and CHDIR

Use the cd and chdir commands to change to a different folder. For example, you can use the following commands:
Type cd .. to change to the parent folder.
Type cd drive: to display the current folder in the specified drive.
Type cd without parameters to display the current drive and folder.
The chdir command treats spaces as delimiters. Because of this, you must put quotation marks ("") around a folder name that contains a space.The following is an example:
cd "\windows\profiles\username\programs\start menu"
The chdir command works only in the system folders of the current installation of Windows, in removable media, in the root folder of any hard disk partition, or in the local installation sources.

CHKDSK

chkdsk drive /p /r
The chkdsk command checks the specified drive and repairs or recovers the drive if the drive requires it. The command also marks any bad sectors and it recovers readable information.

You can use the following options:
/p Does an exhaustive check of the drive and corrects any errors.
/r Locates bad sectors and recovers readable information.
Note If you specify the /r option, the /p option is implied. When you specify the chkdsk command without arguments, the command checks the current drive with no options in effect.

When you run the chkdsk command, you must use the Autochk.exe file. CHKDSK automatically locates this file in the startup folder. If the Command Console was preinstalled, the startup folder is typically the Cmdcons folder. If CHKDSK cannot find Autochk.exe in the startup folder, CHKDSK tries to locate the Windows installation disc. If it cannot find the installation media, CHKDSK prompts you for the location of the Autochk.exe file.

CLS

Use this command to clear the screen.

COPY

copy source destination
Use this command to copy a file. In the command syntax, source specifies the file to copy and destination specifies the folder or file name for the new file. You cannot use wildcard characters indicated by an asterisk (*), and you cannot copy a folder. If you copy a compressed file from the Windows installation disc, the file is automatically decompressed while it is copied.

The source of the file can be removable media, any folder in the system folders of the current Windows installation, the root of any drive, the local installation sources, or the Cmdcons folder.

If destination is unspecified, the default destination is the current folder. If the file already exists, you are prompted whether you want the copied file to overwrite the existing file. The destination cannot be removable media.

DEL and DELETE

del drive: path filename
delete drive: path filename
Use this command to delete a file. In the command syntax, drive: path filename specifies the file that you want to delete. The delete command works only in the system folders of the current Windows installation, in removable media, in the root folder of any hard disk partition, or in the local installation sources. The delete command does not accept wildcard characters.

DIR

dir drive: path filename
Use this command to display a list of files and subfolders in a folder. In the command syntax, drive: path filename specifies the drive, folder, and files to list. The dir command lists all files, including hidden files and system files. Files can have the following attributes:
D Directory
H Hidden file
S System file
E Encrypted
R Read-only file
A Files ready for archiving
C Compressed
P Reparse point
The dir command works only in the system folders of the current Windows installation, in removable media, in the root folder of any hard disk partition, or in the local installation sources.

DISABLE

disable servicename
Use this command to disable a Windows system service or a driver. In the command syntax, servicename specifies the name of the service or driver that you want to disable.

Use the listsvc command to display all services or drivers that are eligible to be disabled. The disable command prints the old start type of the service before resetting the start type to SERVICE_DISABLED. Record the old start type if you must enable the service again.

The disable command displays the following start_type values:
SERVICE_DISABLED
SERVICE_BOOT_START
SERVICE_SYSTEM_START
SERVICE_AUTO_START
SERVICE_DEMAND_START

DISKPART

diskpart /add/deletedevice_name drive_name partition_name size
Use this command to manage the partitions on your hard disk volumes. You can use the following options:
/add Creates a new partition.
/delete Deletes an existing partition.
device_name The name of the device that is used to create a new partition.
drive_name A drive-letter-based name, for example D:.
partition_name The partition-based name for deleting an existing partition.
size The size of the new partition in megabytes.
You can determine the device name from the output of the MAP command, for example, \Device\HardDisk0. You can use the partition name instead of the drive name argument, for example, \Device\HardDisk0\Partition1. If you use no arguments, a user interface for managing your partitions appears.

Warning If you use this command on a disk that has a dynamic disk configuration, you may damage the partition table. Do not modify the structure of dynamic disks unless you are using the Disk Management tool.

ENABLE

enable servicename start_type
You can use the enable command to enable a Windows system service or a driver.

Use the listsvc command to display all eligible services or drivers to enable. The enable command prints the old start type of the service before it is reset to the new value. It is a good idea to note the old value, in case you have to restore the start type of the service.

Valid options for start_type are as follows:
SERVICE_BOOT_START
SERVICE_SYSTEM_START
SERVICE_AUTO_START
SERVICE_DEMAND_START
If you do not specify a new start type, the enable command prints the old start type for you.

EXIT

Use the exit command to exit the Recovery Console and restart your computer.

EXPAND

expand source [/F:filespec] [destination] [/y]
expand source [/F:filespec] /D
Use this command to expand a file. In the command syntax, source specifies the name of the file to be expanded and destination specifies the folder for the new file. If you do not specify a destination, the command uses the current folder by default. You cannot include wildcard characters.

You can use the following options:
/y Do not prompt before overwriting an existing file.
/f:filespec Identifies the files to be expanded.
/d Do not expand; display only a directory of the files in the source.
If the source contains more than one file, you must use the /f:filespec parameter to find the specific files to be expanded. You can include wildcard characters.

The destination can be any folder in the system folders of the current Windows installation, in the root of the drive, in the local installation sources, or in the Cmdcons folder. The destination cannot be removable media, and the destination file cannot be read-only. Use the attrib command to remove the read-only attribute.

Unless you use the /y option, the expand command prompts you if the destination file already exists.

FIXBOOT

fixboot drive name:
Use this command to write the new Windows boot sector code on the system partition. In the command syntax, drive name is the drive letter where the boot sector will be written. This command fixes damage in the Windows boot sector. This command overrides the default setting, which writes to the system boot partition. The fixboot command is supported only on x86-based computers.

FIXMBR

fixmbr device name
Use this command to repair the MBR of the boot partition. In the command syntax, device name is an optional device name that specifies the device that requires a new MBR. Use this command if a virus has damaged the MBR and Windows cannot start.

Warning This command can damage your partition tables if a virus is present or if a hardware problem exists. If you use this command, you may create inaccessible partitions. We recommend that you run antivirus software before you use this command.

You can obtain the device name from the output of the map command. If you do not specify a device name, the MBR of the boot device is repaired, for example:
fixmbr \device\harddisk2
If the fixmbr command detects an invalid or non-standard partition table signature, fixmbr command prompts you for permission before it rewrites the MBR. The fixmbr command is supported only on x86-based computers.

FORMAT

format drive: /Q /FS:file-system
Use this command to format the specified drive to the specified file system. In the command syntax, /Q performs a quick format of the drive, drive is the drive letter of the partition to format, and /FS:file-system specifies the type of file system to use such as FAT, FAT32, or NTFS. If you do not specify a file system, the existing file system format is used if it is available.

LISTSVC

The listsvc command lists all available services, drivers, and their start types for the current Windows installation. This command is useful together with the disable and enable commands.

The list is extracted from the %SystemRoot%\System32\Config\System hive. If the System hive is damaged or missing, the results are unpredictable.

LOGON

logon
The logon command lists all detected installations of Windows and then requests the local administrator password for the copy of Windows that you want to log on to. If your first three tries to log on fail, the console closes, and your computer restarts.

MAP

map arc
Use this command to list drive letters, file system types, partition sizes, and mappings to physical devices. In the command syntax, the arc parameter tells the map command to use ARC paths instead of Windows Device paths.

MD and MKDIR

The md and mkdir commands create new folders. Wildcard characters are not supported. The mkdir command works only in the system folders of the current installation of Windows, in removable media, in the root folder of any hard disk partition, or in the local installation sources.

MORE

more filename
Use this command to display a text file to the screen.

NET

Although the Help file states otherwise, the net command is not usable from the Recovery Console. The protocols stack is not loaded for the Recovery Console. Therefore, there is no networking function available.

RD and RMDIR

Use rd and rmdir commands to delete a folder. These commands work only in the system folders of the current Windows installation, in removable media, in the root folder of any hard disk partition, or in the local installation sources.

REN and RENAME

Use the ren and rename commands to rename a file.

Note You cannot specify a new drive or path for the renamed file. These commands work only in the system folders of the current Windows installation, in removable media, in the root folder of any hard disk partition, or in the local installation sources.

SET

You can use the set to display or modify four environment options.
AllowWildCards = FALSE AllowAllPaths = FALSE AllowRemovableMedia = FALSE NoCopyPrompt = FALSE
For more information about how to use the set command, click the following article number to view the article in the Microsoft Knowledge Base:
235364 (http://support.microsoft.com/kb/235364/ ) Description of the SET command in Recovery Console

SYSTEMROOT

The systemroot command sets the current working folder to the %SystemRoot% folder of the Windows installation that you are currently logged on to.

TYPE

type filename
Use the type command to display a text file.

Tuesday, July 14, 2009

Change the Product Key in Visual Studio Installer

I just want to point out how to change the default product key in Visual Studio installer.

You know that by default, Visual Studio installer doesn't allow the change in the product key and you just can view it.

You can't change the product key

While you can upgrade your trial editions easily (as Scott has outlined), you may be interested to have a single installer with your product key to use everywhere when you want. This may be helpful for those who weren't able to download the Visual Studio 2008 at first days and downloaded the 90 days trial edition.

Changing the product key in Visual Studio installer is very simple. First you need to copy your installer files to your hard drive or any device that lets you apply changes because when you're working on these files from DVD drive or virtual drives, they don't let modifications by nature.

After doing this, go to Setup folder and open the setup.sdb file in a text editor like Notepad. The text content has [Product Key] section where you can replace the previous product key with your own and save your changes.

Replace the Product Key

After this, if you run the setup, it uses your new product key for installation!


Monday, July 13, 2009

How can I loop or start a batch file over after it has completed?

Using the goto command within a batch easily allows a user to loop or restart a batch file after it has been completed. Below are some examples of how this command can be used. This page was created with the easiest, but not necessarily recommended solution first, to the most difficult solution but recommended method last.

@echo off
cls
:start
echo This is a loop
goto start

In this first example, the computer will print "This is a loop" over and over until you terminate the file. To cancel this example press: CTRL + C.

@echo off
cls
:start
echo This is a loop
pause
goto start

Next, adding the pause statement before the goto line will prompt the user to press any key before looping the batch file. This is helpful and recommended to help prevent the computer from utilizing all or most of its resources in having to continuously rerun the loop and will allow the user to rerun the batch when they're ready.

@echo off
cls
:start
echo This is a loop
set choice=
set /p choice="Do you wish to restart? Press 'y' and enter for Yes: "
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='y' goto start

Finally, in this last example and most recommend method, the user would be prompted if they wish to rerun the batch file. Pressing "y" would use the goto command and go back to start and rerun the batch file. Pressing any other key would exit the batch file. This example is for Windows 2000, XP and later users if you're running earlier Windows 98 or earlier you'd need to use the choice command.

BAT FILE COMMANDS

   ADDUSERS Add or list users to/from a CSV file
ARP Address Resolution Protocol
ASSOC Change file extension associations•
ASSOCIAT One step file association
AT Schedule a command to run at a later time
ATTRIB Change file attributes
b
BOOTCFG Edit Windows boot settings
BROWSTAT Get domain, browser and PDC info
c
CACLS Change file permissions
CALL Call one batch program from another•
CD Change Directory - move to a specific Folder•
CHANGE Change Terminal Server Session properties
CHKDSK Check Disk - check and repair disk problems
CHKNTFS Check the NTFS file system
CHOICE Accept keyboard input to a batch file
CIPHER Encrypt or Decrypt files/folders
CleanMgr Automated cleanup of Temp files, recycle bin
CLEARMEM Clear memory leaks
CLIP Copy STDIN to the Windows clipboard.
CLS Clear the screen•
CLUSTER Windows Clustering
CMD Start a new CMD shell
COLOR Change colors of the CMD window•
COMP Compare the contents of two files or sets of files
COMPACT Compress files or folders on an NTFS partition
COMPRESS Compress individual files on an NTFS partition
CON2PRT Connect or disconnect a Printer
CONVERT Convert a FAT drive to NTFS.
COPY Copy one or more files to another location•
CSCcmd Client-side caching (Offline Files)
CSVDE Import or Export Active Directory data
d
DATE Display or set the date•
DEFRAG Defragment hard drive
DEL Delete one or more files•
DELPROF Delete NT user profiles
DELTREE Delete a folder and all subfolders
DevCon Device Manager Command Line Utility
DIR Display a list of files and folders•
DIRUSE Display disk usage
DISKCOMP Compare the contents of two floppy disks
DISKCOPY Copy the contents of one floppy disk to another
DISKPART Disk Administration
DNSSTAT DNS Statistics
DOSKEY Edit command line, recall commands, and create macros
DSADD Add user (computer, group..) to active directory
DSQUERY List items in active directory
DSMOD Modify user (computer, group..) in active directory
DSRM Remove items from Active Directory
e
ECHO Display message on screen•
ENDLOCAL End localisation of environment changes in a batch file•
ERASE Delete one or more files•
EXIT Quit the current script/routine and set an errorlevel•
EXPAND Uncompress files
EXTRACT Uncompress CAB files
f
FC Compare two files
FIND Search for a text string in a file
FINDSTR Search for strings in files
FOR /F Loop command: against a set of files•
FOR /F Loop command: against the results of another command•
FOR Loop command: all options Files, Directory, List•
FORFILES Batch process multiple files
FORMAT Format a disk
FREEDISK Check free disk space (in bytes)
FSUTIL File and Volume utilities
FTP File Transfer Protocol
FTYPE Display or modify file types used in file extension associations•
g
GLOBAL Display membership of global groups
GOTO Direct a batch program to jump to a labelled line•
h
HELP Online Help
i
iCACLS Change file and folder permissions
IF Conditionally perform a command•
IFMEMBER Is the current user in an NT Workgroup
IPCONFIG Configure IP
k
KILL Remove a program from memory
l
LABEL Edit a disk label
LOCAL Display membership of local groups
LOGEVENT Write text to the NT event viewer.
LOGOFF Log a user off
LOGTIME Log the date and time in a file
m
MAPISEND Send email from the command line
MBSAcli Baseline Security Analyzer.
MEM Display memory usage
MD Create new folders•
MKLINK Create a symbolic link (linkd)
MODE Configure a system device
MORE Display output, one screen at a time
MOUNTVOL Manage a volume mount point
MOVE Move files from one folder to another•
MOVEUSER Move a user from one domain to another
MSG Send a message
MSIEXEC Microsoft Windows Installer
MSINFO Windows NT diagnostics
MSTSC Terminal Server Connection (Remote Desktop Protocol)
MUNGE Find and Replace text within file(s)
MV Copy in-use files
n
NET Manage network resources
NETDOM Domain Manager
NETSH Configure network protocols
NETSVC Command-line Service Controller
NBTSTAT Display networking statistics (NetBIOS over TCP/IP)
NETSTAT Display networking statistics (TCP/IP)
NOW Display the current Date and Time
NSLOOKUP Name server lookup
NTBACKUP Backup folders to tape
NTRIGHTS Edit user account rights
p
PATH Display or set a search path for executable files•
PATHPING Trace route plus network latency and packet loss
PAUSE Suspend processing of a batch file and display a message•
PERMS Show permissions for a user
PERFMON Performance Monitor
PING Test a network connection
POPD Restore the previous value of the current directory saved by PUSHD•
PORTQRY Display the status of ports and services
POWERCFG Configure power settings
PRINT Print a text file
PRNCNFG Display, configure or rename a printer
PRNMNGR Add, delete, list printers set the default printer
PROMPT Change the command prompt•
PsExec Execute process remotely
PsFile Show files opened remotely
PsGetSid Display the SID of a computer or a user
PsInfo List information about a system
PsKill Kill processes by name or process ID
PsList List detailed information about processes
PsLoggedOn Who's logged on (locally or via resource sharing)
PsLogList Event log records
PsPasswd Change account password
PsService View and control services
PsShutdown Shutdown or reboot a computer
PsSuspend Suspend processes
PUSHD Save and then change the current directory•
q
QGREP Search file(s) for lines that match a given pattern.
r
RASDIAL Manage RAS connections
RASPHONE Manage RAS connections
RECOVER Recover a damaged file from a defective disk.
REG Registry: Read, Set, Export, Delete keys and values
REGEDIT Import or export registry settings
REGSVR32 Register or unregister a DLL
REGINI Change Registry Permissions
REM Record comments (remarks) in a batch file•
REN Rename a file or files•
REPLACE Replace or update one file with another
RD Delete folder(s)•
RMTSHARE Share a folder or a printer
ROBOCOPY Robust File and Folder Copy
ROUTE Manipulate network routing tables
RUNAS Execute a program under a different user account
RUNDLL32 Run a DLL command (add/remove print connections)
s
SC Service Control
SCHTASKS Create or Edit Scheduled Tasks
SCLIST Display NT Services
SET Display, set, or remove environment variables•
SETLOCAL Control the visibility of environment variables•
SETX Set environment variables permanently
SHARE List or edit a file share or print share
SHIFT Shift the position of replaceable parameters in a batch file•
SHORTCUT Create a windows shortcut (.LNK file)
SHOWGRPS List the NT Workgroups a user has joined
SHOWMBRS List the Users who are members of a Workgroup
SHUTDOWN Shutdown the computer
SLEEP Wait for x seconds
SLMGR Software Licensing Management (Vista/2008)
SOON Schedule a command to run in the near future
SORT Sort input
START Start a program or command in a separate window•
SU Switch User
SUBINACL Edit file and folder Permissions, Ownership and Domain
SUBST Associate a path with a drive letter
SYSTEMINFO List system configuration
t
TASKLIST List running applications and services
TASKKILL Remove a running process from memory
TIME Display or set the system time•
TIMEOUT Delay processing of a batch file
TITLE Set the window title for a CMD.EXE session•
TLIST Task list with full path
TOUCH Change file timestamps
TRACERT Trace route to a remote host
TREE Graphical display of folder structure
TYPE Display the contents of a text file•
u
USRSTAT List domain usernames and last login
v
VER Display version information•
VERIFY Verify that files have been saved•
VOL Display a disk label•
w
WHERE Locate and display files in a directory tree
WHOAMI Output the current UserName and domain
WINDIFF Compare the contents of two files or sets of files
WINMSD Windows system diagnostics
WINMSDP Windows system diagnostics II
WMIC WMI Commands
x
XCACLS Change file and folder permissions
XCOPY Copy files and folders
:: Comment / Remark•

Reference number: CH000321 How to shut down / restart the computer with a batch file.

Issue:

How to shut down / restart the computer with a batch file.

Reasoning:

It may be necessary after a batch file is completed its copying or installing process to restart the computer to complete that installation. Below are steps that can be used to restart a computer through a batch file.

Solution:

MS-DOS Users

Windows 95, Windows 98 and Windows ME Users

Restarting the computer

START C:\Windows\RUNDLL.EXE user.exe,exitwindowsexec
exit

Shut down the computer

C:\Windows\RUNDLL32.EXE user,exitwindows
exit

NOTE: When typing the above two lines, spacing is important. It is also very important that the exit line be placed into the batch file as many times Windows may be unable to restart the computer because of the open MS-DOS window.

Microsoft Windows 98, and Windows ME users may also perform the below command to perform different types of rebooting or shutting down.

rundll32.exe shell32.dll,SHExitWindowsEx n

Where n is equal to one of the below numbers for the proper action.

  • 0 - LOGOFF
  • 1 - SHUTDOWN
  • 2 - REBOOT
  • 4 - FORCE
  • 8 - POWEROFF

Windows XP users

Microsoft Windows XP includes a new shutdown command that will enable a user to shutdown the computer through the command line and/or batch files.

Syntax

Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]

No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without warning
-d [u] [p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)

Examples

shutdown -r -c "Rebooting for latest updates."

This would display a Windows System Shutdown window for 30 seconds, warning the user that the computer is going to shutdown and then restart the computer.

shutdown -i

Ran from either the command line or from the Windows run line this option would open the remote shutdown dialog Window.

Deleting files in MS-DOS without a prompt.

Deleting files in MS-DOS without a prompt.

Cause:

To help prevent files from becoming accidentally deleted Microsoft will warn you before deleting files or folders.

Solution:

By default Microsoft Windows will not prompt a user or give a user a prompt or warning when deleting files on a computer using the del command. However, when attempting to delete a directory using the deltree or rmdir command on a directory that is not empty you will receive a warning and/or error message about deleting the directory.

To suppress the prompting use the deltree command and add the tag /y. Here is an example of how the whole command would look, deltree c:\windows\temp\*.* /y However, this does not work in all versions of Windows and or DOS.

If this command does not work we would recommend that you create a batch file with the below command in the batch file.

echo y | del %1\*.*

Once created, you can type the name of the batch file then the name of the directory that you wish to delete.

Microsoft Windows 2000 and Windows XP users

Users who wish to delete a directory containing files in a MS-DOS session running under Microsoft Windows 2000 or Windows XP can also use the rmdir or rd command with the /S option.

Please remember that when you delete files or directories from the computer they are permanently removed, so be careful! Microsoft Windows 95, Windows 98, Windows ME, Windows NT, Windows 2000, Windows XP, and later versions of Windows users deleting files through MS-DOS should realize that all deleted files will not be sent to the recycle bin.

Other users using MS-DOS through Windows

Users running MS-DOS through later versions of Microsoft Windows can also utilize the erase command to delete files without a prompt. Microsoft Windows 95, Windows 98, Windows ME, Windows NT, Windows 2000, Windows XP, and later versions of Windows users deleting files through MS-DOS should realize that all deleted files will not be sent to the recycle bin.

Creating a batch file

Creating a batch file

MS-DOS users
Microsoft Windows and other users

MS-DOS users

To create a basic batch file in MS-DOS, follow the below steps that give you an example of how to create a basic batch file.

  1. Open an MS-DOS command window or get to MS-DOS. Additional information about doing this can be found on document CHDOS.
  2. At the MS-DOS prompt, type: edit test.bat and press enter.
  3. If typed properly, you should now be in a blue screen. Within the screen, type:

    pause
    dir c:\windows
    dir c:\windows\system

  4. Once the above three lines have been typed in, click File and choose exit; when prompted to save, click "Yes." Users who do not have a mouse cursor can accomplish this same task by pressing ALT+F to access the file menu, then pressing "X" to exit, and pressing enter to save changes.
  5. Once you are back at the MS-DOS prompt, type: test and press enter. This will execute the test.bat file and begin running the file. Because the first line is pause, you will first be prompted to press a key. Once you press a key the batch file will run line-by-line; in this case, listing the files in the windows and windows\system directories.

If you wish to add more lines to this batch file you would simply type "edit test.bat" to edit the file again.

Additional information about the MS-DOS edit command can be found on our edit command page. Some versions of MS-DOS and bootable diskettes may not have the edit command; if this is the case, you would either need to obtain the edit.com file to access this file or use the copy con command.

Microsoft Windows and other users

A Windows user can still use the above MS-DOS steps if they wish to create a batch file. If, however, you're more comfortable using Microsoft Windows or your operating system, you can use any text editor, such as Notepad or Wordpad, to create your batch files, as long as the file extension ends with .bat. In the below example we use the Windows notepad to create a batch file.

  1. Click Start
  2. Click Run
  3. Type: notepad and press enter.
  4. Once notepad is open, type the below lines in the file or copy and paste the below lines into notepad.

    @echo off
    echo Hello this is a test batch file
    pause
    dir c:\windows

  5. Click File and click Save; browse to where you want to save the file. For the file name, type "test.bat", and if your version of Windows has a "Save as type" option, choose "All files", otherwise it will save as a text file. Once all of this has been done click the Save button and exit notepad.
  6. Now, to run the batch file, simply double-click or run the file like any other program. Once the batch file has completed running it will close the window automatically.

WHAT IS Batch file

WHAT IS Batch file

Batch files allow MS-DOS and Microsoft Windows users to create a lists of commands to run in sequence once the batch file has been executed. For example, a batch file could be used to run frequently run commands, deleting a series of files, moving files, etc. A simple batch file does not require any special programming skills and can be done by users who have a basic understanding of MS-DOS commands.

A good example of a batch file for someone who is more familiar with Windows or the MacOS is to think of a batch file as a shortcut in Windows or an icon on the MacOS. Much like a shortcut, batch files could be used to run one or more commands and/or programs through the command line.

Another example of a very well known batch file is the autoexec.bat, which is a simple boot file loaded each time the computer is loaded on MS-DOS and early Windows computers. This batch file contained all the necessary commands and programs used to run MS-DOS and Windows each time the computer booted.

Aishwarya & Abhishek Bachchan to play Ram & Sita in Mani Ratnam's Ramayan

Ramayan will see an interesting cast of actors. Comedy king Govinda is slated to play the role of Hanuman.

Evil Lord Ravana is to be played by Tamil actor Vikram. However in the Tamil version Vikram plays the role of Rama. Mani Ratnam is on a high as the Aishwarya and Abhishek are starring in his next project after ‘Guru’, which was based on the life of industrialist Dhiru Bhai Ambani that saw this off-screen couple playing the lead role.

The modernized version of Ramayan that Mani Ratnam is attempting is generating a lot of buzz in the industry. Like all classic love stories like Laila Majnu, Jodha Akbar, the theme of Mani Ratnam’s movie will be the love of Ram- Sita. The film is to be made under Ratnam’s banner Madras Talkies and will be produced by his sister Sharda


SONGS, MOVIE, CLIP

Enable Hidden Folder Option with Registry Editor

Enable Hidden Folder Option with Registry Editor

To show/enable hidden Folfer Options please do the following:
1. Click on the Start > Run
2. Type “regedit” on the field and click on OK.
3. Navigate to: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows
\CurrentVersion\Policies\Explorer
4. In the right pane, delete the entry “NoFolderOption”.

If “NoFolderOption” is visible:
1. Right click on the right pane
2. Click New > DWORD Value
3. Name it “NoFolderOption” (without the quotes)
4. Set the value to 0 (zero) or double click on the “NoFolderOption” type 0 at “Value data” field

You may reboot your computer to see the effect of this registry modification.

Enable Hidden Folder Options Using Free Tool
RRT or Remove Restrictions Tool is a free tool to enable access to different Windows process disbaled by virus infections.

This tool is used to enable access to:
- Registry Tools (regedit)
- Ctrl+Alt+Del
- Folder Options
- Show Hidden Files

Download RRT: click here to donwload

Sunday, July 12, 2009

How to remove autorun.inf from USB Drive

Worms spreads by creating a copy of itself and starts by autorun.inf files. It is essential to remove the malicious and autorun.inf files not only from computers but also from the source, and that is the USB Drive. PreciseSecurity have created a procedure to delete the malicious files on infected drives.

PROCEDURE:
1. While the computer is still off;
2. Plugin the USB Drive
3. Insert the Windows XP CD-ROM into the CD-ROM drive. It must be the bootable Windows XP Installer
4. Start the computer from the CD-ROM drive. It will start Windows Setup screen
5. When the “Welcome to Setup” prompt appears.Press “R” to start the Recovery Console
6. If asked “Which Window installation would you like to logon to” select the number. Type “1? then Enter, if only one installation of Windows is present
7. Enter the administrator password, press Enter
8. It will bring you to command prompt, C:\Windows>
9. Proceed with the following command:
- Type d: (This is the drive letter of USB. It can be e: or f: defending on how many hard disk or cd drive is installed)
- Type attrib -h -r -s autorun.inf
- Type “edit autorun.inf” it will open DOS Editor and display contents as follows
==========================
[autorun]
open=file.exe
shell\Open\Command=file.exe
shell\open\Default=1
shell\Explore\Command=file.exe
shell\Autoplay\command=file.exe
==========================
Take note on the file that it called to open (in above example it is file.exe)

10. Exit DOS Editor and return to command prompt, D:\>
11. Delete the file that was called to open on DOS Editor
- Type del /f /a file.exe

12. Delete autorun.inf file
- Type del /f /a autorun.inf

13. Exit Recovery Console by typing exit.

How to remove Autorun.inf Virus

Ever wonder why your Anti Virus detects a virus in your autorun.inf whenever you insert your removable disk (USB, flash drive, et.) but it can’t disinfect it nor delete it or if you’re having a hard time accessing drives? Tried deleting it manually but you can’t find the file?

Autorun.inf is hidden and it can’t be remove or disinfected by Anti virus. And you try finding the autorun.inf file but failed even if you select to show all files from folder option?


Here’s what you need to do…

1. Boot your system in Safemode
2. Open your flash drive via Command Prompt (do this via Start->Run->cmd.exe).
3. Change your logged drive to your USB flash drive (e.g. if your flash drive is at drive E: then type E: on the command prompt then press enter)
4. Type ATTRIB -H -R -S AUTORUN.INF then press enter
5. type in “del autorun.inf” then press [Enter]

After reboot, you can now access your drive.

How to remove Autorun.inf Virus mannualy


Ever wonder why your Anti Virus detects a virus in your autorun.inf whenever you insert your removable disk (USB, flash drive, et.) but it can’t disinfect it nor delete it or if you’re having a hard time accessing drives? Tried deleting it manually but you can’t find the file?

Autorun.inf is hidden and it can’t be remove or disinfected by Anti virus. And you try finding the autorun.inf file but failed even if you select to show all files from folder option?


Here’s what you need to do…

1. Boot your system in Safemode
2. Open your flash drive via Command Prompt (do this via Start->Run->cmd.exe).
3. Change your logged drive to your USB flash drive (e.g. if your flash drive is at drive E: then type E: on the command prompt then press enter)
4. Type ATTRIB -H -R -S AUTORUN.INF then press enter
5. type in “del autorun.inf” then press [Enter]

After reboot, you can now access your drive.

Zihale-Masti Maqam Branjis .... means

Ooo....
ho..o...

(Jeehale muskin main kun baranjis)
Is gareeb ke dil ko itni ranjish (gusse) se na dekho
Behaal hijra bechaara dil hai) -2
Yeh bechara abhi bhi (mehboob ki) judaai se behaal hai
(Sunai deti hai jiski dhadkan
tumhaara dil ya hamaara dil hai)-2
(Vo aake pahlu main aise baithe) -2
Ki shyaam aur rangeen ho gayi hai
Ki shyaam rangeen ho gayi hai
Ki shyaam rangeen ho gayi hai
(Zara zara si khili tabiyat
zara si gumgeen ho gayi hai)-2

Zihaale muskin ....
sunai deti hai ....

(Ajeeb hai dil ke dard)-2 yaaron
(Na ho to mushkil hai jeena iska) -2
(Jo hon to har dard ek heera
Har ek gam hai nageena iska)-2

Zihaale muskin ....
sunai deti hai ....

(Kabhi kabhi shaam aise dhalti hai
Jaise ghoonghat utar raha hai, utar raha) -2
(Tumahre seene se uthta dhuaan
hamaare seene se guzar raha hai) -2

Zihaale muskin ....
sunai deti hai ....

Yeh sharm hai ya haya hai, kya hai
(Nazar uthate hi jhuk gayi hai) -2
(Tumhari palkon se gir ke shabnam
hamari aakhon main ruk gayi hai) -2

Zihaale muskin ....
sunai deti hai ....

Zihale-Masti Maqam Branjis .... means

Zihale-Masti Maqam Branjis .... means



In Hindi:
Is gareeb ke dil ko itni ranjish (gusse) se na dekho
Yeh bechara abhi bhi (mehboob ki) judaai se behaal hai

In English:
Don't look at my heart with such a hatred and anger, My heart is poor soul who is still in agony and pain because my beloved has departed.

4 common PC problems you can fix yourself

Computer problems may seem immensely complicated at first glance. But some are relatively easy to fix.

That doesn't mean they will be cheap if someone else does the job. Replacing a hard drive is probably a minimum $250-$300 job at a computer shop.

However, some jobs can be done by the average Joe or Jane. On a scale of 1 to 10 (where 10 should only be performed by certified technicians who have no less than three electronic gadgets on their belt), replacing memory is usually about a 4. Installing a new hard drive

is tougher (about 6 or 7), but still do-able. Replacing a video card or internal modem is no more than a 2.

A word of caution: Static electricity can kill the circuitry inside your computer. Before you reach for anything inside that box, ground yourself by touching the metal computer frame.

Here are four common PC problems you may be able to fix by yourself:

1. You turn on the computer and nothing happens. No lights, no beeps, no fan noise. What is the first thing you do? Be sure the darn thing is plugged in! Even if you're absolutely certain that it is connected, double check.Assuming that it is plugged in, you probably have a bad power supply. This is a metal box located in the top and back of the computer. It is usually held in by four screws and the power cable connects to it. A fan blows air out the back.A wiring harness exits the power supply inside the computer. Numerous power connectors are attached to the ends of the wires. These plug into drives, fans and possibly other gizmos. The harness also will have connectors to the motherboard. It doesn't matter which wire connects where, as long as the connector fits.When you open the computer, this mess of wiring can be very intimidating. Study it, and you'll find it less mysterious. Note the connections in writing, if necessary. Disconnect the wires and remove the power supply. Take it to the computer store and get a replacement with the same wattage. Figure on spending $50-$70.

2. The computer comes on, but nothing appears on your monitor.

In other words, Windows never shows up. You may have a monitor problem. Try using another known-good monitor on the computer and see if anything shows up on the screen. If the second monitor works, the first one is bad. Monitors are not worth repairing. Just buy a new one. Never open the back of a monitor to fix it. The capacitors inside monitors store electricity. You could be injured or even killed.If the screen is dark, it could be a video card problem. First, find the video card. This is a circuit board that fits into a slot in the motherboard. The cable from the monitor connects to the VGA (video graphics adapter) port, which sticks out through the back of the computer. If the VGA port is part of the motherboard, the video is built-in. You can't fix that. Otherwise, it will be part of the video card.Assuming you have a separate card, be sure it is firmly seated. The front end of the card can rise out of the slot inadvertently when the back end is screwed down to the computer frame.If you have a computer that is working perfectly, turn it off and remove the video card. Put the card that works in the problem computer. If the system works, you need a new card. If you don't have an extra card to test your system, buy a cheap one ($30-$50). If it doesn't solve the problem, take it back.You can spend hundreds of dollars on a video card. But if you're running business applications and surfing the Web, buy on price. The expensive stuff is for serious gamers.

3. If you regularly get the "Blue Screen of Death," you may

have a random access memory (RAM) problem. Note the message on the blue screen, especially the numbers. Check it in Microsoft's Help and Support Knowledge Base. Also, put the text of the error message in a search engine and check the Internet.Assuming you can diagnose it, a memory problem is easy to fix. If you can't find the diagnosis information you need online, you can try swapping out memory sticks from another computer. But that memory must be the same type. If all else fails, take the old memory to a computer store. The people there may be willing to test it.Sticks of memory go in slots near the microprocessor. They're about four inches long. Remove the old memory and match it at the store. Memory prices are all over the map, depending on type and speed. Be sure you get the same type.When you press the new memory into the slot, you will probably have to use some force. The clips on each end will snap into place when the memory is seated properly.

4. If you boot up, and the computer cannot find the C: drive, you might have a bad hard drive. If you have another computer, swap hard drives to diagnose the problem. If your computer boots with the other drive, yours is probably bad.Sometimes, a reboot will work. Your drive might have enough life to spin up occasionally. If this works, transfer your data to another drive, pronto.According to techie lore, you can seal a nonworking drive in a bag and put it in a freezer overnight. That could shrink things enough to free them up. I've used this trick a few times and it's worth a try.A regular backup regimen will save you in case of hard-drive failure, assuming you aren't backing up to the same hard drive. If the drive is dead and you don't have a backup, a computer shop may be able to save your data.Hard drives are cheap. You can get a replacement for less than $100. Get one boxed for retail, which will include instructions and any hardware needed.Your hard drive is in the front of your machine. It will be about the size of a paperback book and is probably held in by four screws, two on each side. Power and ribbon cables connect to the back.Put the new drive in and install it as the master. Reconfigure the old drive as the slave. The instructions that come with the new drive should explain that. Boot the computer and install Windows on the new drive. If you're lucky, the computer will see the old drive (it will be D:). You can then transfer your data to the new drive.Replacing a hard drive is more difficult than the other operations. However, if you pay to have the work done, it may not be cost effective. You might be better off buying a new machine. So if you are adventuresome, and you have the time, changing the hard drive may be worthwhile.

Know your limitations

Some things may be beyond your ability. For instance, upgrading a microprocessor can be dicey. Even if a faster microprocessor will fit in your motherboard, you probably need to upgrade the BIOS (Basic Input Output System). This is done through a process called "flashing," in which information is downloaded to change the BIOS. If flashing isn't done correctly, the computer can be rendered useless. Leave that to the experts. There are times when fixing a computer just isn't worthwhile. New machines can be had for less than $500. That might be all you need for business purposes. So, if you're facing a $300 repair, maybe it's time to look around. That repair probably won't be the last. After this column first appeared, I received a helpful note from a computer technician. He said businesspeople should be careful about buying inexpensive home machines. Business buyers probably need a better warranty, including next-day service and maybe a loaner. Also, you need some kind of backup mechanism -- perhaps a CD burner, a DVD burner, a second hard drive, and so on. Saving money is good, but be sure you get what you need. Thanks, Sam!

How to prevent from virus?



These are best practices to protecting your computer/laptop:
Perform monthly updates of Microsoft patches
Perform daily updates of your Anti-Virus/Firewall program(s)
Perform daily updates to your Anti-Spyware and Adware program(s)
Perform a weekly scan of your hard-disk for viruses/spyware
Best of all know your computer. When you are connecting on a wireless network

- You see your hard-drive flashing solid green and you are not doing anything. Your computer/laptop may be infected.

Have two separate logins on your computer. One with admin rights and another with regular rights. Always use the login with the regular rights. If someone hacks in during your session. The hacker is limited to the account with regular rights and can't do much.

Always have a backup of your computer/laptop for restore purposes.

At the end it is up to you. Never visit sites that you don't recognized and don't trust your Emails. Always take it with a grain of salt.

How to remove recycle bin from your desktop Tip:

How to remove recycle bin from your desktop Tip:

Open Regedit by going to START - RUN and type Regedit and hit enter. Then you should navigate to following entry in registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E} and delete it. This action should remove recycle bin from your desktop.

Display Your Quick Launch ToolbarTip:

Display Your Quick Launch ToolbarTip:


Is your Quick Launch toolbar missing from the taskbar?
To display your familiar Quick Launch toolbar:
Right-click an empty area on the taskbar, click Toolbars, and then click Quick Launch.

Easy as that your Quick Launch bar appears. To add items to your Quick Launch toolbar, click the icon for the program you want to add, and drag it to the Quick Launch portion of the taskbar.

Protection on system files

Protection on system files

To enable protection on system files such as the KnownDLLs list, add the following value;

1. Open RegEdit
2. HKEY_LOCAL_MACHINE\System\CurrentControlSet\ Control\ SessionManager
3. Create the a Dword value and name it "ProtectionMode "
4. Set the Value to1

Turn Off Window Animation

Turn Off Window Animation

You can shut off the animation displayed when you minimize and maximize Windows.
1. Open RegEdit
2. Go to HKEY_CURRENT_USER\Control panel \Desktop\ WindowMetrics
3. Create a new string value "MinAnimate".
4. Set the value data of 0 for Off or 1 for On

Removing the Shortcut Icon Arrows

Removing the Shortcut Icon Arrows

1.Open RegEdit
2.Open the Key HKEY_CLASSES_ROOT
3.Open the Key LNKFILE
4.Delete the value IsShortcut
5.Open the next Key PIFFILE
6.Delete the value IsShortcut
7.Restart the Windows

Changing the caption on the Title Bar

Changing the caption on the Title Bar

Change the Caption on the Title Bar for OutLook Express or the Internet Explorer:
For Outlook Express:
1. Open RegEdit
2. Go to
HKEY_CURRENT_USER\Software\Microsoft\OutLook Express
For IE5 and up use:
HKEY_CURRENT_USER\IDENTITIES \{9DDDACCO-38F2-11D6-93CA-812B1F3493B}\ SOFTWARE\ MICROSOFT\ OUTLOOK EXPRESS\5.0
3. Add a string value "WindowTitle" (no space)
4. Modify the value to what ever you like.

For no splash screen, add a dword value "NoSplash" set to 1
The Key {9DDDACCO-38F2-11D6-93CA-812B1F3493B} can be any key you find here. Each user has his own Key number.
The Key 5.0 is whatever version of IE you have

For Internet Explorer:
1. Open RegEdit
2. Go to HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main
3. Add a string value "Window Title" (use a space)
4. Modify the value to what ever you like.

Disabling Drives in My Computer

Disabling Drives in My Computer

To turn off the display of local or networked drives when you click on My Computer:
1.Open RegEdit
2.Go to
HKEY_CURRENT_USER\Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer
3.Add a New DWORD item and name it NoDrives
4.Give it a value of 3FFFFFF
5.Now when you click on My Computer, none of your drives will show.

Remove Open, Explore & Find from Start Button

Remove Open, Explore & Find from Start Button

When you right click on the Start Button, you can select Open, Explore or Find.
Open shows your Programs folder. Explore starts the Explorer and allows access to all drives.
Find allows you to search and then run programs. In certain situations you might want to disable this feature.
To remove them:
1.Open RegEdit
2.Go to HKEY_CLASSES_ROOT\Directory\Shell\Find
3.Delete Find
4.Scroll down below Directory to Folder
5.Expand this section under shell
6.Delete Explore and Open
Caution: - When you remove Open, you cannot open any folders.

Adding Items to the Start Button

Adding Items to the Start Button

To add items when you right-click on the Start Button:
1.Open RegEdit
2.Go to HKEY_CLASSES_ROOT\Directory\Shell
3.Right-click on Shell and select New Key
4.Type in the name of the key and press the Enter key
5.In the Default name that shows in the right hand panel, you can add a title with a "&" character in front of the letter for a shortcut
6.Right-click on the key you just created and create another key under it called command
7.For the value of this command, enter the full path and program you want to execute
8.Now when you right click on the Start Button, your new program will be there.
9.For example, if you want Word to be added, you would add that as the first key, the default in the right panel would be &Word so when you right click on the Start Button, the W would be the Hot Key on your keyboard. The value of the key would be C:\Program Files\Office\Winword\Winword.exe

Automatic Screen Refresh

Automatic Screen Refresh

When you make changes to your file system and use Explorer, the changes are not usually displayed until you press the F5 key
To refresh automatically:
1. Open RegEdit
2. Go to
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Update
3. Set the value name "UpdateMode" to 1

Change/Add Restrictions And Features

Change/Add Restrictions And Features

If you want to make restrictions to what users can do or use on their computer without having to run Poledit, you can edit the Registry. You can add and delete Windows features in this Key shown below.

Zero is Off and the value 1 is On. Example: to Save Windows settings add or modify the value name NoSaveSettings to 0, if set to1 Windows will not save settings. And NoDeletePrinter set to 1 will prevent the user from deleting a printer.

The same key shows up at:
HKEY_USERS\(yourprofilename)\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer so change it there also if you are using different profiles.

1.Open RegEdit
2.Go to
HKEY_CURRENT_USER\Software\Microsoft\ CurrentVersion\ Policies
3.Go to the Explorer Key (Additional keys that can be created under Policies are System, Explorer, Network and WinOldApp )
4.You can then add DWORD or binary values set to 1 in the appropriate keys for ON and 0 for off.
NoDeletePrinter - Disables Deletion of Printers
NoAddPrinter - Disables Addition of Printers
NoRun - Disables Run Command
NoSetFolders - Removes Folders from Settings on Start Menu
NoSetTaskbar - Removes Taskbar from Settings on Start Menu
NoFind - Removes the Find Command
NoDrives - Hides Drives in My Computers
NoNetHood - Hides the Network Neighborhood
NoDesktop - Hides all icons on the Desktop
NoClose - Disables Shutdown
NoSaveSettings - Don't save settings on exit
DisableRegistryTools - Disable Registry Editing Tools
NoRecentDocsMenu - Hides the Documents shortcut at the Start button
NoRecentDocsHistory- Clears history of Documents
NoFileMenu _ Hides the Files Menu in Explorer
NoActiveDesktop - No Active Desktop
NoActiveDesktopChanges- No changes allowed
NoInternetIcon - No Internet Explorer Icon on the Desktop
NoFavoritesMenu - Hides the Favorites menu
NoChangeStartMenu _ Disables changes to the Start Menu
NoFolderOptions _ Hides the Folder Options in the Explorer
ClearRecentDocsOnExit - Empty the recent Docs folder on reboot
NoLogoff - Hides the Log Off .... in the Start Menu

And here are a few more you can play with
ShowInfoTip
NoTrayContextMenu
NoStartMenuSubFolders
NoWindowsUpdate
NoViewContextMenu
EnforceShellExtensionSecurity
LinkResolveIgnoreLinkInfo
NoDriveTypeAutoRun
NoStartBanner
NoSetActiveDesktop
EditLevel
NoNetConnectDisconnect
RestrictRun - Disables all exe programs except those listed in the RestrictRun subkey
This key has many other available keys, there is one to even hide the taskbar, one to hide the control panel and more. I'm not telling you how, as someone may want to play a trick on you. The policies key has a great deal of control over how and what program can run and how one can access what feature.

In the System key you can enter:
NoDispCPL - Disable Display Control Panel
NoDispBackgroundPage - Hide Background Page
NoDispScrSavPage - Hide Screen Saver Page
NoDispAppearancePage - Hide Appearance Page
NoDispSettingsPage - Hide Settings Page
NoSecCPL - Disable Password Control Panel
NoPwdPage - Hide Password Change Page
NoAdminPage - Hide Remote Administration Page
NoProfilePage - Hide User Profiles Page
NoDevMgrPage - Hide Device Manager Page
NoConfigPage - Hide Hardware Profiles Page
NoFileSysPage - Hide File System Button
NoVirtMemPage - Hide Virtual Memory Button

In the Network key you can enter:
NoNetSetup - Disable the Network Control Panel
NoNetSetupIDPage - Hide Identification Page
NoNetSetupSecurityPage - Hide Access Control Page
NoFileSharingControl - Disable File Sharing Controls
NoPrintSharing - Disable Print Sharing Controls

In the WinOldApp key you can enter:
Disabled - Disable MS-DOS Prompt
NoRealMode - Disables Single-Mode MS-DOS

Deleting Registry Keys from the Command Line

Deleting Registry Keys from the Command Line

There are two ways to delete a key from the Registry from the Command line. At the Windows Command line:

RegEdit /l location of System.dat /R location of User.dat /D Registry key to delete
You cannot be in Windows at the time you use this switch.

Or you can create a reg file as such:
REGEDIT4

[-HKEY_LOCAL_MACHINE\the key you want to delete]
Note the negative sign just behind the[
Then at the Command line type:
1. RegEdit C:\Windows\(name of the regfile).

Creating a Default File Opener

Creating a Default File Opener

If you have a un-registered file type and want to view it instead of having to select Open With. Use Explorer's Right-click and add your program to the right-click options by:
1. Open RegEdit
2. Go to HKEY_CLASSES_ROOT\Unknown\Shell
3. Right click on "Shell" and create a New Key and name it "Open "
4. Create a New Key under the "Open" key you just created and name it "Command"
5. Set the (Default) value to the path and filename of the program you want to use to open the file type
6. For example: C:\Windows\NOTEPAD.EXE %1
You must use the "%1" for this to work.and a space between the exe and the %1

Creating a Logon Banner

Creating a Logon Banner

If you want to create a Logon Banner: A message box to appear below your logon on.

1.Open RegEdit
2.Go To
For Windows 9x and ME -
HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Winlogon

For Windows 2000 XP 2003 Vista -
HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Winlogon


3.Create a new String value"LegalNoticeCaption "
4. Enter the Title of the window. What is displayed in the Title Bar.
5. Create a new string value "LegalNoticeText"
6. Enter the text for your message box that will appear even before the Logon window.

Fwd: Adding Explore From Here to Every Folder


Adding Explore From Here to Every Folder

When you want to right click on any folder and want to open up an Explorer window of that folder.

1. Open RegEdit
2. Go to HKEY_CLASSES_ROOT\Folder\shell
3. Add a new Key "RootExplore " under the "Shell" Key
4. Set the (Default) value to "E&xplore From Here "
5. Right Click the "RootExplore " Key and add a new Key "Command"to the RootExplore
6. Set the (Default) value of Explorer.exe /e,/root,/idlist,%i

Add/Remove Sound Events from Control Panel

Add/Remove Sound Events from Control Panel

You can Add and delete sounds events in the Control Panel. In order to do that:

1. Open RegEdit
2. Go to HKEY_CURRENT_USER\AppEvents\Schemes\Apps and HKEY_CURRENT_USER\AppEvents\Schemes\Eventlabels. If this key does not exist you can create it and add events.
3. You can add/delete any items you want to or delete the ones you no longer want.

Opening a DOS Window to either the Drive or Directory in Explorer

Opening a DOS Window to either the Drive or Directory in Explorer

Add the following Registry Keys for a Directory:
HKEY_CLASSES_ROOT\Directory\shell\opennew
@="Dos Prompt in that Directory"

HKEY_CLASSES_ROOT\Directory\shell\opennew\command
@="command.com /k cd %1"

Add or Edit the following Registry Keys for a Drive:
HKEY_CLASSES_ROOT\Drive\shell\opennew
@="Dos Prompt in that Drive"

HKEY_CLASSES_ROOT\Drive\shell\opennew\command
@="command.com /k cd %1"

These will allow you to right click on either the drive or the directory and the option of starting the dos prompt will pop up.