Author: WintelAdmin

Troubleshoot startup problems in Windows Server 2003.

A successful Windows startup includes of the following four phases:

1. Initial phase
2. Boot loader phase
3. Kernel phase
4. Logon phase

If a problem occurs during one of these phases, Windows may not start correctly and you may experience one of the following problems:

The computer stops responding (hangs).
You receive an error message.

If a startup problem occurs after you click Microsoft Windows Server 2003 from boot loader menu, files that the operating system needs may be missing or damaged.

Windows provides a variety of options that you can use to troubleshoot this issue, including Safe mode, the Recovery Console, and an Automated System Recovery. You may opt for the below listed options to recover your windows:

• The Last Known Good Configuration.

• Start the Computer in Safe Mode.

• Use Event Viewer to Identify the Cause of the Startup Problem.

• Use System Information to Identify the Cause of the Startup Problem.

• View the Safe Mode Boot Log File.

• Use Device Manager to Identify the Cause of the Startup Problem.

• Use System Configuration Utility (msconfig.exe).

• Isolate Problems by Using System Startup Options.

• Troubleshoot the System.ini File.

• Use the Microsoft Windows Recovery Console.

• Confirm That Your Hard Disk or File System Is Not Damaged.

• Use Automated System Recovery.

• Create an ASR Disk Set by Using Backup.

• Repair Your Installation of Windows.

• Use the Microsoft Product Support Services Web Site to Find a Solution.

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

High Percentage Interrupt Time

We’ve been receiving a number of alerts for high Percentage Interrupt Time.

One possibility is that the Virtual Server is running the wrong HAL (Hardware Abstraction Layer). This will usually only occur when we convert a physical device to a virtual device and change the number of processors. Our server was built virtual from the ground up so this didn’t apply to us.

For our situation, the server with the high % interrupt time had only 1 other process that was using up CPU time and that was the HealthService process. After digging through numerous articles and watching perfmon tick away for hours it dawned on me that since this is a multi-processor system, I should be looking at the interrupt time on each individual processor. Sure enough, only Processor 0 was having an issue.

To resolve (or work-around) the issue I set the processor affinity for the HealthService process to Processor 1 ONLY and that immediately cleared up all resource issues on the server and dropped our average CPU utilization to under 10%.

I don’t understand why Windows here was not automatically spreading the load out between the two processors but obviously the HealthService process was in contention for CPU time with the system Interrupts on Processor 0. Your mileage may vary but this issue isn’t all that uncommon on VMs and there is more that you can do to resolve the underlying causes if you’re willing to dig a bit deeper.

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

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: ,

McAfee AutoUpdate Failed – Update Manually

How to manually update the DAT files for VirusScan Enterprise 8.5i and 8.7i

To manually update the DAT files for VirusScan Enterprise 8.5i and VirusScan Enterprise 8.7i, follow the steps below:

Step 1 – Obtain the latest DAT files
1.Using Windows Explorer, create a temporary folder C:\DAT.
2.Using Internet Explorer, browse to: ftp://ftp.nai.com/commonupdater/
3.Download avvdat-xxxx.zip (where xxxx is the latest DAT version). Example: avvdat-5165.zip.

Step 2 – Allow changes to McAfee services

1.Click Start, Programs, Mcafee, VirusScan Console.
2.Double-click Access Protection, deselect Prevent McAfee services from being stopped and click OK.
3. If it is greyed out then unlock the application using “Tools-> Unlock User Interface”.
4.Exit the VirusScan Console.

Step 3 – Stop McAfee services

1.Click Start, Run, type services.msc, then press ENTER.
2.Right-click each of the following services and select Stop:

•McAfee McShield
•McAfee Framework

3.Exit the Services screen.

Step 4 – Extract the DAT file
1.Using WinZip or a similar file compression utility, extract the .DAT file. Example: avvdat-5165.zip.
2.Hold the Ctrl key and select the following extracted files:

avvclean.dat
avvnames.dat
avvscan.dat

3.Right-click on one of the selected files and click Copy.
4.Browse to C:\Program Files\Common Files\McAfee\Engine.
5.Right-click the Engine directory and select Paste.
6.When prompted to replace the existing files, select Yes to All.

Step 5 – Verify the DAT version has been updated
1.Click Start, Programs, McAfee, and select VirusScan Console.
2.Select Help, About.
3.The virus definitions should now indicate the latest DAT version is installed.

Step 6 – Restart McAfee services
1.Click Start, Run, type services.msc, then press ENTER.
2.Right-click each of the services below and select Start:

McAfee McShield
McAfee Framework
3.Exit the Services screen.

Step 7 – Prevent changes to McAfee services
1.Click Start, Programs, Mcafee, VirusScan Console.
2.Double-click Access Protection, select Prevent McAfee services from being stopped and click OK.
3.Exit the VirusScan Console.

Filed under: McAfee (Antivrus/ePO)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: , , ,

HP SUM (System Update Manager)

HP SUM (System Update Manager) utility is used to install the latest available updates for firmware and softwares installed on HP servers. On excecuting the HPsum.exe it will ask for the location of the updated available. Browse the desired location and choose the available options as mentioned below:

1. Both

2. Firmware Only

3. Software Only

Click on "Start Inventory" and on next screen choose "local host or remote host".

Utility will check for the latest updates and will show the results with the options for Bundle filter as displyed below:

1. Allow non-bundle versions

2. Allow non-bundle products

3. Force All bundle updates

You can force reboot after installation. Once, done your server is update with latest software and firmware updates.

Filed under: HP (Servers/products)

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)