Sunday, December 11, 2011

Domain Administrator account got disabled

What you do if Domain administrator account is disabled & unable to login.
1. Try login with an alternate domain admin account if you have.
2. Else restart DC in safe mode with networking, login with same administrator ( it allows you with same password), open Command prompt & execute below command

net user administrator /active:yes

3. Now restart & verify

Friday, November 4, 2011

How to perform Checkdisk on a clustered disk


1. install KB903650 for extended maintenance mode if its not windows 2003 SP2.
2. If quorum - change the quorum drive destination ( KB280353)
3. Bring entire cluster group offline
4. Only bring corresponding drive resource onlne.
5. run command - cluster.exe . res "%disk_name%" /maint:on
6. perform chkdsk for specified %disk_name%
7. run command to bring the disk out of extended maintenance mode - cluster.exe . res "%disk_name%" /maint:off
instead of on you can use 1, for off 0.

Tuesday, August 23, 2011

SERVER CORE – HOW YoU Manage ??


Limited functionality for specific scenarios
Time zone, to change
Control timedate.cpl
Keyboards and/or language, to change
Control intl.cpl
Set Administrator Password
CTRL+ALT+DEL and click Change password
net user administrator *

If cluster issues due to disk level problems


1. Use default tools (disk management, perfmon,eventviwer,chkdsk etc) to analyze if any disk issues
2. Verify if any multipath issues - use disk management,MPIO drivers,iSCSI configuration
3. Disable cluster disk driver from device manager ,restart server & verify if disk visible in disk management.Restart server & re-enable cluster disk driver to troubleshoot further.
4. If disk signature specific errors in eventviewer ,Note down the signature for each disk,Restore it using DumpCFG ( windows 2003) or Diskpart - device ID (in windows 2008)

Thursday, March 3, 2011

How you script an FTP access ?

Do you wanna access FTP within a script ??? may be to copy an output file ?

Use below steps

ftp -s:up.txt
The following is a listing of the contents of the text file (UP.TXT).Sample

Log parser to analyze IIS Logs

Hey You can use Log parser to analyze IIS logs..

But how do you find the local time

To find local time format for IIS logs
LogParser "SELECT TO_TIMESTAMP(date, time) AS utc-timestamp, TO_LOCALTIME(utc-timestamp) AS local-timestamp, c-ip, cs-username, EXTRACT_TOKEN(cs-uri-stem,-1,'/') AS filename INTO DATAGRID FROM \\WEBSERVER\admin$\system32\logfiles\w3svc1\ex07*.log"

Do You Face issues with Service pack installation in windows 2008 ?

Do You Face issues with Service pack installation in windows 2008 ?

USE SYSTEMUPDATE-READYNESS TOOL

http://support.microsoft.com/kb/947821