Tuesday, March 1, 2011

Windows 7 Boot Issues

(This helps when you replace hard drive with new one and write old image of windows onto it - in this situation you will not have any boot sector or master boot record on the system partition so windows will not boot)


1: Boot from Windows 7 Installation disk

2: Click next on language option window

3: Click Repair your computer on Install Now screen

4: choose your installation of windows and click Next

5: Click Command Prompt on System Recovery Options screen

6: type bootrec /fixmbr - to fix master boot record

7: type bootrec /fixboot - to write new boot sector onto the system partition

8: clocse command prompt window and reboot

Monday, February 28, 2011

Slipstream Drivers to Windows XP installation Disk

1: Download and install nLite from http://www.nliteos.com/download.html

2: Download SATA Drivers for the hard drive

3: Put windows XP disk in CD/DVD Drive and start nLite

4: Click Browse and select CD Rom Drive of your XP CD and select destination folder to save files

5: click next

6: Click next to Import other or load previous settings

7: Click on Drivers and Bootable ISO buttons on Task Selection and Click Next

8: Click Insert and Select Multiple Drivers Folder on Drivers Tab

9: Browse to the folder where you have extracted sata drivers

10: click on Drivers folder path and click OK

11: Select all the drivers and click ok

12: click Next on Drivers tab

13: Click yes when asked about Apply Changes?

14: Click Next when process finishes

15: Click Make ISO on Bootable ISO page

16: Burn ISO to cd for installation

.

Tuesday, April 27, 2010

Install Windows 7 from USB flash drive

1. Remove all data from USB flash drive

2. On Vista or Windows 7 PC
Open Command Prompt with Admin rights
(Start -> All Programs -> Accessories -> right click Command Prompt and select Run as administrator)

3. On Command Prompt windows, execute follwing commands in capital letters in exact sequence they are listed

DISKPART

LIST DISK (To identify disk number of USB stick, for this example we will assume that USB stick is Disk 1)

SELECT DISK 1

CLEAN

CREATE PARTITION PRIMARY

SELECT PARTITION 1

ACTIVE

FORMAT FS=NTFS QUICK

ASSIGN (this will assign drive letter to USB stick, we will assume that USB stick drive letter is H:
you can find out drive letter from windows explorer)

EXIT (do not close command prompt window yet, we need to execute following three more commands)

(Insert your windows 7 DVD into the optical drive and check drive letter of DVD drive, we will assume that
drive letter of DVd drive is D:. Continue with following commands)

D:

CD BOOT

BOOTSECT.EXE /NT60 H: (this will update BOOTMGR compatible code on USB drive)

4. Copy everything from Windows 7 DVD to USB stick.

Done.... (Boot from USB drive and install Windows 7 like you do from optical drive)

Friday, April 23, 2010

Power Down (Shutdown) & Restart a EMC Clariion Disk Array.

Shut Down Procedure

1. Shut down the hosts

2. Power off the FC switches (Not required unless you want to restart switches too)

3. Turn off the power switches on the Standby Power Supplies (SPS).

This will force the array to flush any data in the write cache out to the vault area on the first five drives. The array will then turn itself off after that has finished - it can take up to 2 minutes.

4. Power off any disk expansion cabinets (DAEs)

Done!

Power On Procedure

1. Power on FC Switches (Takes around 10 minutes to start, so do this first)

2. Power on DAEs

3. Power on SPS

4. Power on Hosts

Done!

Note: There is no way of shutting down or restarting array from Navisphere.

Thursday, April 15, 2010

Create Desktop Shortcut for Windows Explorer

1.Right click an empty area of the desktop and choose New --> Shortcut

2.In the Command line box insert this line: C:\WINDOWS\EXPLORER.EXE /n,/e,d:\

Change the d:\ in the line above to the directory you wish to open.
As an example if you had a folder named data in c:\ you would change the line to C:\WINDOWS\EXPLORER.EXE /n,/e,c:\data

3.Click Next.

4.Choose a name for the shortcut and click Finish.

Done.

Thursday, January 21, 2010

Solve Problems like - NTLDR missing, Windows can not find hal.dll and other windows boot issues

Following procedure will fix boot issues on windows, where these issues are related to partition structure change on hard drive. Typical example of this is when you put image of windows partition on a different hard drive with different partition structure then original hard drive where image was created.

Follow these steps to fix this errors.

1. Boot into recovery console from any windows installation disk or multiboot cds.

Type following commands and follow instructions shown on the screen for each commands

2. fixboot c:

3. fixmbr \device\harddisk0

4. bootcfg /rebuild

reboot computer and it should boot fine into windows.

Friday, November 13, 2009

Edit hosts file on Vista or Windows 7

Non-frequent Edit

1. All Programs --> Accessories --> right-click Notepad --> open as Administrator.

2. browse and open C:\Windows\System32\drivers\etc\hosts file

Now you can edit and save the hosts file.

Frequent Editing

1. All Programs --> Accessories --> right-click Notepad --> send to desktop

2. Right-click the shortcut on Desktop --> properties

3. Click the advanced button --> Select Run as administrator --> OK

4. Replace %SystemRoot%\system32\notepad.exe with %SystemRoot%\system32\notepad.exe C:\Windows\System32\drivers\etc\hosts in the target box

5. Click OK in the properties window

Now all you have to do is open that shortcut to open your hosts file with Notepad with administrative privileges to edit and Save.

Wednesday, August 26, 2009

Logon failure: the user has not been granted the requested logon type at this computer

On the computer containing the shared files:

Download the following and install it

Windows Server 2003 Resource Kit Tools
http://go.microsoft.com/fwlink/?LinkId=4544

after installation is complete,
click on: Start --> All Programs --> Windows Resource Kit Tools --> Command Shell

Then enter the following commands. (Attention: they are case sensitive.)

net user guest /active:yes
ntrights +r SeNetworkLogonRight -u Guest
ntrights -r SeDenyNetworkLogonRight -u Guest


The first command enables network access for Guest, the two subsequent ones change two different policies to allow network access for Guest.

.

Monday, June 1, 2009

Install Windows Vista or Windows 7 from Bootable USB Flash Drive

1. Run CMD

2. Put Vista or Win7 DVD in CD/DVD Drive (D:)

3. D:

4. cd boot

5. diskpart

6. list disk (Find out disk number for your USB Drive) (ie. disk 1)

7. select disk 1 (Make sure USB Drive is disk 1, or next command will erase your hard drive) (very very very important)

8. clean

9. create partition primary

10. select partition 1

11. active

12. format fs=fat32

13. assign

14. exit

15. xcopy d:\*.* /s/e/f e:\
Here d is your CD/DVD Drive with vista or win7 CD in it and e is your USB Drive

.

Friday, April 3, 2009

EMC Clariion Storage Array Default Passwords and Procedures

Logon to CX300 or Logon to Navisphere

Type IP address of Storage Processor in browser.
Default Username: admin Password: password

Logon to Windows XP Embedded on Storage Processor

Start EMCDialer (EMCRemoteDialer)
Type IP address of Storage Processor in IP Field
User: clariion
Password: clariion!
Click IP
On EMCRemoteDialer Window Click Options --> Send Ctrl+Alt_Del
Again Type above Username and Passwords

Enter Engineering Mode (Expert Mode)

1. Log on to Navisphere as above
2. Click anywhere on enterprise Storage 1 Window (or click Storage Systems)
3. Press Ctrl+Shift+F12
4. Enter password: messner

Collect Storage Processor Log Data
Note -- These steps vary based on different version of flare software
     -- Repeate follwoing steps for each storage processor (SPA and SPB)

From web  
1.  Log into navisphere as explained above.
2.  Expand the array and right click on the SP A icon.
3.  Select SP collect from the menu.  You should get a success prompt.
4.  Right click on SP A again and in the menu select File Manager.
5.  In the window that opens select the serial number of the array, today's date and latest time stamp with an extension of data.zip on the end.
6.  Hit the transfer button.  The collects will transfer to the location listed in the location window.

From Console
1. Install Navisphere client or Logon to XP Embedded on Storage Processor as explained above
2. Open Command Prompt at Navisphere installation directory
3. Execute navicli -h xxx.xx.xx.xx spcollect -messner (here xxx.xx.xx.xx is ip address of Storage Processor SPA or SPB)
   -- This will take some time so go and get a new cup of Coffee for yourself
4. Execute navicli -h xxx.xx.xx.xx managefiles -list
   -- Look for the file called serialnumber_SPx_Date_*_data.zip 
   -- While it is processing you will see many zip files but eventually all those zip files will be combined in above file
5. navicli -h xxx.xx.xx.xx managefiles -retrieve
6. Specify file number associated with the newly created zip file