Posts

Showing posts with the label Windows troubleshooting

How to extend a logical volume in Windows 2003

Image
Scenario

You have a single vmdk file of 200 GB and it has two logical volumes C & D with 100 GB each. Suppose you need to add another 100 GB to the D drive making it 200 GB. What would you do ?

The steps are simple and straight forward.

BSOD on Windows 2008 R2 - DRIVER_IRQL_NOT_LESS_OR_EQUAL

Image
Issue
When you boot your Windows 2008 R2 OS, the machine gets halted with a blue screen error. The error will have the below information:
DRIVER_IRQL_NOT_LESS_OR_EQUAL
Technical Information:
*** STOP: 0x000000D1 (Some address values) *** tcpip.sys – Address information

DHCP not getting authorized in Windows 2008

Symptom
After creating a new DHCP server in Windows 2008 server ,failed to authorize the DHCP server. The server was throwing the below error while trying to authorize.
‘The specified servers are already present in the directory service’

Cannot set folder permissions to AD groups in Windows 2003

Scenario

I've an environment with Windows 2003 & Windows 2008 servers in Windows 2000 Native mode. If I try to add any AD group in a folder security group of a Windows 2008 server, the AD group name won't get resolved.

How to stop a service in 'Stopping' state

Find the PID of the affected service using the below query.
sc queryex SPTimerV3


Will receive the below output on execution:

SERVICE_NAME: SPTimerV3
TYPE : 10 WIN32_OWN_PROCESS
STATE : 3 STOP_PENDING
(STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x1
WAIT_HINT : 0x4e20
PID : 1696
FLAGS :


Kill the PID of the service
taskkill /PID 1696 /F

Useful commands for windows admin

To query ntp server of a server Net Time /querysntp
To sync time of member servers with domain controller w32tm /resync /nowait
To query FSMO roles in an environment netdom query fsmo
To query the details of currently logged in users qwinsta -server servername
To log off a currently logged in user using his session id rwinsta -server servername sessionid
To query the membership details of a domain user DSQUERY USER -samid loginname | DSGET USER -memberof -expand
To query the sharing & security details of a folder showacls
To check whether an account is locked out NET USER loginname /DOMAIN | FIND /I "Account active"
To unlock a domain user NET USER loginname /DOMAIN /ACTIVE:YES
To query members in a domain net view
To query the member DCs of a domain NETDOM QUERY DC
To collect network statistics pathping ipaddress
To query the current running tasks tasklist -svc
To kill a currently running task using its pid number
taskkill -pid pidnumber