Category: Windows(2003/2008/2012)

Windows Password Reset

Instructions:

• 1 Insert the BartPE disk.

•2 Restart your PC. Immediately start tapping “F8” or “Delete” until you get the BIOS screen. It will have a black background with white text.

•3 Highlight the “Boot” option with your arrow keys and press “Enter.” Select “Disc Drive” as the boot option and then press “F10.”

•4 Press “Yes” if it asks you to confirm the selection and then press “Enter” to reboot the PC.

•5 Click on the “Go” button when BartPE appears on the screen.

•6 Click on “Programs” > “Password Renew” > “Select Target Windows.”

•7 Select “My Computer” > “C” > “Windows” > “Renew Existing User Password” > “Administrator.” This instructs the program to reset the Admin password.

•8 Enter in a new Administrator password. Click on “Install” to set it. Remember this password and store it in a safe location.

•9 Press the “Eject” button on your disc drive and take out the disc.

•10 Restart your Windows Operating System computer. Your password is now reset.

Filed under: Windows(2003/2008/2012)Tagged with: , ,

Windows Commands

Control Panel

•CONTROL: opens the control panel window
•CONTROL ADMINTOOLS: opens the administrative tools
•CONTROL KEYBOARD: opens keyboard properties
•CONTROL COLOUR: opens display properties.Appearance tab
•CONTROL FOLDERS: opens folder options
•CONTROL FONTS: opens font policy management
•CONTROL INTERNATIONAL or INTL.CPL: opens Regional and Language option
•CONTROL MOUSE or MAIN.CPL: opens mouse properties
•CONTROL USERPASSWORDS: opens User Accounts editor
•CONTROL USERPASSWORDS2 or NETPLWIZ: User account access restrictions
•CONTROL PRINTERS: opens faxes and printers available
•APPWIZ.CPL: opens Add or Remove programs utility tool
•OPTIONALFEATURES: opens Add or Remove Windows component utility
•DESK.CPL: opens display properties. Themes tab
•HDWWIZ.CPL: opens add hardware wizard
•IRPROPS.CPL: infrared utility tool
•JOY.CP: opens game controllers settings
•MMSYS.CPL: opens Sound and Audio device Properties. Volume tab
•SYSDM.CPL: opens System properties
•TELEPHON.CPL: Opens phone and Modem options
•TIMEDATE.CPL: Date and Time properties
•WSCUI.CPL: opens Windows Security Center
•ACCESS.CPL: opens Accessibility Options
•WUAUCPL.CPL: opens Automatic Updates
•POWERCFG.CPL: opens Power Options Properties
•AZMAN.MSC: opens authorisation management utility tool
•CERTMGR.MSC: opens certificate management tool
•COMPMGMT.MSC: opens the Computer management tool
•COMEXP.MSC or DCOMCNFG: opens the Computer Services management tool
•DEVMGMT.MSC: opens Device Manager
•EVENTVWR or EVENTVWR.MSC: opens Event Viewer
•FSMGMT.MSC: opens Shared Folders
•NAPCLCFG.MSC: NAP Client configuration utility tool
•SERVICES.MSC: opens Service manager
•TASKSCHD.MSC or CONTROL SCHEDTASKS: opens Schedule Tasks manager
•GPEDIT.MSC: opens Group Policy utility tool
•LUSRMGR.MSC: opens Local Users and Groups
•SECPOL.MSC: opens local security settings
•CIADV.MSC: opens indexing service
•NTMSMGR.MSC: removable storage manager
•NTMSOPRQ.MSC: removable storage operator requests
•WMIMGMT.MSC: opens (WMI) Window Management Instrumentation
•PERFMON or PERFMON.MSC: opens the Performance monitor
•MMC: opens empty Console
•MDSCHED: opens memory diagnostics tools
•DXDIAG: opens DirectX diagnostics tools
•ODBCAD32: opens ODBC Data source Administrator
•REGEDIT or REGEDT32: opens Registry Editor
•DRWTSN32: opens Dr. Watson
•VERIFIER: opens Driver Verifier Manager
•CLICONFG: opens SQL Server Client Network Utility
•UTILMAN: opens Utility Manager
•COLORCPL: opens color management
•CREDWIZ: back up and recovery tool for user passwords
•MOBSYNC: opens Synchronization center
•MSCONFIG: opens System Configuration Utility
•SYSEDIT: opens System Configuration Editor (careful while using this command)
•SYSKEY: Windows Account Database Security management (careful while using this command)

Windows utility and applications

•EPLORER: Opens windows Explorer
•IEXPLORER: Opens Internet explorer
•WAB: opens Contacts
•CHARMAP: opens Character Map
•WRITE: opens WordPad
•NOTEPAD: opens Notepad
•CALC: opens Calculator
•CLIPBRD: opens Clipbook Viewer
•WINCHAT: opens Microsoft Chat Interface
•SOUNDRECORDER: opens sound recording tool
•DVDPLAY: run CD or DVD
•WMPLAYER: opens Windows Media Player
•MOVIEMK: Opens untitled Windows Movie Maker
•OSK: opens on-screen Keyboard
•MAGNIFY: opens Magnifier
•WINCAL: opens Calendar
•DIALER: opens phone Dialer
•EUDCEDIT: opens Private Character Editor
•NDVOL: opens the mixer volume
•RSTRUI : opens Tool System Restore (For Vista only)
•%WINDIR%\SYSTEM32\RESTORE\rstrui.exe: opens Tool System Restore (for XP only).
•MSINFO32: Opens the System Information
•MRT : launches the utility removal of malware.
•Taskmgr : Opens the Windows Task Manager
•CMD: opens a command prompt
•MIGWIZ: Opens the tool for transferring files and settings from Windows (Vista only)
•Migwiz.exe: Opens the tool for transferring files and settings from Windows (for XP only)
•SIDEBAR: Open the Windows (Vista only)
•Sigverif : Opens the tool for verification of signatures of files
•Winver : Opens the window for your Windows version
•FSQUIRT: Bluetooth Transfer Wizard
•IExpress opens the wizard for creating self-extracting archives. Tutorial HERE
•MBLCTR: opens the mobility center (Windows Vista only)
•MSRA : Opens the Windows Remote Assistance
•Mstsc : opens the tool connection Remote Desktop
•MSDT: opens the diagnostic tools and support Microsoft
•WERCON: opens the reporting tool and solutions to problems (for Vista only)
•WINDOWSANYTIMEUPGRADE: Enables the upgrade of Windows Vista
•WINWORD : opens Word (if installed)
•PRINTBRMUI : Opens migration wizard printer (Vista only)

Disk management

•DISKMGMT.MSC: opens disk management utility
•CLEANMGR: opens disk drive clean up utility
•DFRG.MSC: opens disk defragmenter
•CHKDSK: complete analysis of disk partition
•DISKPART: disk partitioning tool

Connection management

•IPCONFIG: list the configuration of IP addresses on your PC (for more information type IPCONFIG/? in the CMD menu)
•INETCPL.CPL: opens internet properties
•FIREWALL.CPL: opens windows firewall
•NETSETUP.CPL: opens network setup wizard

Miscellaneous commands

•JAVAWS: View the cover of JAVA software (if installed)
•AC3FILTER.CPL: Opens the properties AC3 Filter (if installed)
•FIREFOX: Mozilla launches Firefox (if installed)
•NETPROJ: allow or not connecting to a network projector (For Vista only)
•LOGOFF: closes the current session
•SHUTDOWN: shut down Windows
•SHUTDOWN-A: to interrupt Windows shutdown
•%WINDIR% or %SYSTEMROOT%: opens the Windows installation
•%PROGRAMFILES%: Opens the folder where you installed other programs (Program Files)
•%USERPROFILE%: opens the profile of the user currently logged
•%HOMEDRIVE%: opens the browser on the partition or the operating system is installed
•%HOMEPATH%: opens the currently logged user C: \ Documents and Settings \ [username]
•%TEMP%: opens the temporary folder
•VSP1CLN: deletes the cache for installation of the service pack 1 for Vista
•System File Checker (Requires Windows CD if the cache is not available):
•SFC / scannow: immediately scans all system files and repairs damaged files
•SFC / VERIFYONLY: scans only those files system
•SFC / Scanfil = “name and file path”: scans the specified file, and repaired if damaged
•SFC / VERIFYFILE = “name and file path”: Scans only the file specified
•SFC / scanonce: scans the system files on the next restart
•SFC / REVERT: return the initial configuration (For more information, type SFC /? In the command prompt CMD.

Filed under: Windows(2003/2008/2012)Tagged with: ,

Remote Desktop Protocol

Developed by Microsoft, which concerns providing a user with a graphical interface to another computer. By default the server listens on TCP port 3389.

Switch to connect to server console via RDP.

on RDP Client v5, use mstsc /Console
on RDP Client v6, use mstsc /admin

Here is the screenshot showing the difference between RDP Client v5 & v6

This is RDP Client v5
RDP Client Version 5

This is RDP Client v6
RDP Client Version 6

Filed under: Windows(2003/2008/2012)Tagged with: , , ,

Physical Address Extension (PAE) in Windows:

PAE switch is the added ability of the IA32 processor to address more than 4 GB of physical memory. The following operating systems can use PAE to take advantage of physical memory beyond 4 GB:

Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows Server 2003, Enterprise Edition
Microsoft Windows Server 2003, Datacenter Edition
To enable PAE, use the /PAE switch in the Boot.ini file.

The following is an example of a Boot.ini file where the PAE switch has been added:

[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="Windows Server 2003, Enterprise" /fastdetect /PAE

Note: In Windows Server 2003, PAE is automatically enabled only if the server is using hot-add memory devices.

Filed under: Windows(2003/2008/2012)

Windows Registry

The Registry is a central location for unique user and machine configuration data. In basic terms, it is a big database that holds all of the Windows configuration information – settings relative to user accounts, machine hardware and applications. The registry was brought about to replace the old .INI files.

To open the Registry Editor, click Start > Run… and type “regedit.exe”.

The structure of the registry, which is made up of five subtrees.

=> HKEY_CLASSES_ROOT -> This subtree contains data that associates file types with applications and configuration for COM objects.

=> HKEY_LOCAL_USER -> Also known to have the common abbreviation HKCU, the HKEY_LOCAL_USER subtree contains settings and preferences for the user currently logged on to the system. These settings are dynamic and unique to each user.

=> HKEY_LOCAL_MACHINE -> Also known to have the common abbreviation HKLM, the HKEY_LOCAL_MACHINE subtree contains information about the hardware currently installed, and the settings for systems running on the machine. These are normally static for all users until a change is made.

=> HKEY_USERS -> This subtree simply contains a pointer to HKEY_LOCAL_USER and the DEFAULT user profile (a template used when assigning a profile to new users).

=> HKEY_CURRENT_CONFIG -> This subtree stores configuration data for the current hardware profile and points to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles

Data Types defined by the Registry

=> REG_SZ -> A simple string value. Would usually contain a URL, Path, or port number for example.

=> REG_BINARY -> Raw binary data represented in hexadecimal format.

=> REG_DWORD -> Another type of REG_BINARY but this one is 4 bytes long.

=> REG_MULTI_SZ -> A character string of variable size that allows you to enter a number of parameters in this single value entry.

=> REG_EXPAND_SZ -> This is a character string of variable size that can contain dynamic information which will change at startup (such as %username% which is of a different size for every name).

Remote Registry Configuration

Regedit.exe allows you to remotely configure another machine’s registry quickly and easily. All you need is the right permissions (Administrator permissions) to do so.

Open regedit.exe and from the File menu select “Connect Network Registry…”. Type the computer name, or press [Advanced…] and search for one, and press OK. After entering the correct credentials, the registry of the remote machine is loaded into the console, as if it was that of the local machine.

When you connect to a registry remotely, you will only be able to edit the HKEY_LOCAL_MACHINE and HKEY_USERS keys.

Registry Backup

From the Backup tab, expand My Computer and select the System State check box. On a domain controller, backing up the System State will also backup Active Directory, Boot Files, Certificate Server (if installed), COM object class registries, and SYSVOL, apart from the full Registry.

Register website for Rs: 240 Only

Filed under: Windows(2003/2008/2012)

Keyboard Shortcuts within Remote Desktop

When you are in a remote desktop window the keyboards shortcuts you have become familiar with change slightly. Here are a few of the more common ones:

ALT+PAGE UP – Switches between programs from left to right.
CTRL+ESC – Switches the client between a window and full screen.
ALT+HOME – Displays the Start menu.
CTRL+ALT+MINUS (–) – Places a snapshot of the active window in the Remote Desktop session on the clipboard.
CTRL+ALT+PLUS (+) – Places a snapshot of the entire Remote Desktop session window on the clipboard.
CTRL+ALT+END – Displays the Task Manager

Filed under: Windows(2003/2008/2012)

Troubleshoot DNS

1. Check for network connectivity.

2. Verify your DNS server IP addresses are correct and in order.

3. Ping the IP address of the host you are trying to get to (if it is known).

4. Find out what DNS server is being used with nslookup.

5. Check your DNS suffix.

6. Make sure that your DNS settings are configured to pull the DNS IP from the DHCP server.

7. Release and renew your DHCP Server IP address (and DNS information).

8. Check the DNS Server and restart services or reboot if necessary.

9. Reboot your small office / home DNS router.

10. Contact your ISP.

Summary:

DNS resolution is a critical piece of our network infrastructure and it must work properly for our network applications to function.

Filed under: Windows(2003/2008/2012)Tagged with: ,

Windows Utilities

1. ListDLLs

List all the DLLs that are currently loaded, including where they are loaded and their version numbers. Version 2.0 prints the full path names of loaded modules.

http://technet.microsoft.com/en-us/sysinternals/bb896656.aspx

2. Process Explorer v12.04

Ever wondered which program has a particular file or directory open? Now you can find out. Process Explorer shows you information about which handles and DLLs processes have opened or loaded.

http://download.sysinternals.com/Files/ProcessExplorer.zip

3. PsExec v1.98

Execute processes on remote systems.

http://download.sysinternals.com/Files/PsTools.zip

4. LogonSessions

List the active logon sessions on a system.

http://download.sysinternals.com/Files/LogonSessions.zip

5. AdRestore v1.1

Windows Server 2003 introduces the ability to restore deleted ("tombstoned") objects.

http://download.sysinternals.com/Files/AdRestore.zip

6. RAMMap

An advanced physical memory usage analysis utility that presents usage information in different ways on its several different tabs.

http://download.sysinternals.com/Files/RAMMap.zip

Filed under: Windows(2003/2008/2012)

Windows Command (Handy)

Handy command for Windows

=> shutdown -r -t 60 -c “Rebooting computer”
Reboot in 60 seconds, with a comment to the popup
=> shutdown -a
To abort shutdown.

=> NET VIEW
This command’s output lists each computer on the network, first by network name and second by description.

=> GETMAC
Quickly and diligently, your PC’s MAC address appears.

=> Start.
Open explorer from command prompt.

=> CACLS
Displays or modifies access control lists (ACLs) of files.

=> SET L
To view your logon server name.

=> netdom query /domain:dpetri fsmo
=> dsquery server -hasfsmo schema
To view the FSMO roles in a domain.

=> Net start
View the services up and running

=> F7 (In DOS command prompt)
For a history of commands.

=> net statistics workstation / net statistics server
One way of finding out how long the box has been up for.

=> WMIC OS get /all /format:htable
Find whatever you want from remote machine, local machine… multiple machines.
Nicely filled out HTML page with all data related to OS.

=> wmic bios get serialnumber

Displays the Serial number for the current machine.

=> SET

Displays, sets, or removes Windows environment variables. Type SET without parameters to display the current environment variables. (Ex: Used to find the number of processor and type).

var _gaq = _gaq || [];
_gaq.push([‘_setAccount’, ‘UA-19388546-1’]);
_gaq.push([‘_trackPageview’]);

(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
})();

Filed under: Windows(2003/2008/2012)

Basic Vs Dynamic Disk

Basic Vs Dynamic Disk

Basic Disk supported by all Windows Operating Systems.
Dynamic Disk supported by later version of windows including 2000, XP, 2003, etc.

Volume changes can be done on dynamic disk without reboot.
Any file system can be used for both the disks.
One can convert basic disk to dynamic. However, if you’ve converted the disk to dynamic, you cant revert to basic without first wiping and recreating the volume.

Basic disks contains primary partitions, extended partition and logical drives. Primary partition in Windows NT can support stripping and software RAID sets. However, in 2000, XP and 2003 dont support stripping and software RAID.

Dynamic Disks can create different type of volumes with dynamic disks.
Simple Volume -> Use space from single disk or hardware array volume.
Spanned Volume -> Non fault tolerant disk sets that use free space from multiple disk.
Striped Volume -> Non fault tolerant disk that stripe data across multiple disks.
Mirrored Volume -> Fault tolarent disk set that mirror data from one to another disk.
RAID 5 Volume -> Fault tolarent disk that stipes data across three or more disks including parity.

Filed under: Storage (EMC/NetApp), Windows(2003/2008/2012)