🚀 L2 Server Management – Advanced Troubleshooting Guide (Part 2) 🚀
Here’s Part 2 of the ultimate L2 server troubleshooting guide! If you missed Part 1, go back and check it for critical troubleshooting steps on disk space issues, RDP failures, and Active Directory problems.
Now, let’s dive into more advanced issues and real-world solutions every L2 Engineer must know!
🔹 Advanced L2 Server Issues & Fixes
1️⃣ DNS Resolution Failing – Websites & Internal Apps Not Loading 🌍
✅ Clear local DNS cache:
ipconfig /flushdns
✅ Check DNS forwarding settings:
Get-DnsServerForwarder
✅ If Active Directory DNS is failing, check:
repadmin /syncall
2️⃣ Hyper-V / VMware VM Boot Failures 💽
✅ If a VM fails to start, check event logs for VMMS (Hyper-V Virtual Machine Management Service) errors.
✅ Fix corrupt VM configurations:
Get-VM | Where-Object {$_.State -eq "Off"} | Start-VM
✅ In VMware, check if the VM is locked due to file corruption or snapshot issues.
3️⃣ Windows Defender ATP Blocking Services 🔥
✅ Check Defender logs:
Get-MpThreatDetection
✅ Exclude necessary services from ATP blocking:
Set-MpPreference -ExclusionPath "C:\Program Files\MyApp"
4️⃣ Kerberos Authentication Failures – Users Cannot Log In 🔑
✅ Check Kerberos tickets:
klist
✅ If tickets are expired, refresh:
klist purge
✅ Verify time synchronization between servers using:
w32tm /query /status
Windows Basic Troubleshooting with CMD Commands
As IT professionals, we often rely on Command Prompt (CMD) for quick and effective troubleshooting in Windows. Here are some essential CMD commands that can help diagnose and fix common issues:
1️⃣ Check Network Issues
🔹 ping google.com – Check internet connectivity
🔹 ipconfig /all – View IP details
🔹 ipconfig /flushdns – Clear DNS cache
2️⃣ Fix Connectivity Problems
🔹 netsh winsock reset – Reset network adapter
🔹 netsh int ip reset – Reset TCP/IP stack
3️⃣ Check and Repair System Files
🔹 sfc /scannow – Scan and repair corrupted system files
🔹 chkdsk /f – Fix disk errors
4️⃣ Monitor System Performance
🔹 tasklist – View running processes
🔹 taskkill /F /PID <PID> – Force close a process
5️⃣ Check Windows Startup Issues
🔹 msconfig – Open System Configuration
🔹 bcdedit /enum – Check boot configuration
CMD is a powerful tool that can save time and effort in troubleshooting. What are your go-to CMD commands for quick fixes? Share in the comments!
🚀 Top Windows Troubleshooting Commands Every System Admin Must Know!
🔹 Tired of clicking through menus to fix issues?
🔹 Want to troubleshoot like a pro in seconds?
Use these powerful CMD commands to diagnose and fix common Windows issues FAST!
📌 System & Performance Issues
🔹 Check system uptime:
wmic os get lastbootuptime
🔹 View system logs for errors:
eventvwr.msc
🔹 Scan and repair system files:
sfc /scannow
🔹 Check for corrupted Windows files:
dism /online /cleanup-image /scanhealth
🔹 Fix Windows Update issues:
net stop wuauserv
net stop bits
net start wuauserv
net start bits
📌 Network Troubleshooting
🔹 Check IP configuration:
ipconfig /all
🔹 Release and renew IP address:
ipconfig /release
ipconfig /renew
🔹 Test network latency:
ping 8.8.8.8 -t
🔹 Trace network route:
tracert google.com
🔹 List active network connections:
netstat -ano
🔹 Find which process is using a port:
netstat -ano | find "80"
📌 Disk & Storage Issues
🔹 Check disk for errors:
chkdsk C: /f /r
🔹 Show detailed disk usage:
wmic logicaldisk get size,freespace,caption
🔹 Check disk performance:
winsat disk
🔹 List all partitions:
diskpart
list disk
📌 User & Access Issues
🔹 Reset a local user password:
net user AdminUser NewPassword
🔹 Find locked-out users in Active Directory:
net user /domain | find "Lockout"
🔹 Force logout a user session remotely:
logoff /server:RemotePCName
🔹 List all user sessions on a server:
qwinsta
📌 Remote Management & Services
🔹 Check running services:
sc query state= all
🔹 Restart a service:
net stop spooler && net start spooler
🔹 Enable RDP remotely:
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
🔹 Reboot a remote PC:
shutdown /r /m \\RemotePCName /t 0
💡 Why Use These Commands?
✅ Fix issues faster – No need to dig through GUI menus
✅ Improve efficiency – Get things done in seconds
✅ Be a pro – Handle any system issue with confidence
🔹 Which command do you use the most? Comment below!
Comments
Post a Comment