Posts

Showing posts from September, 2025

Basic's of Windows\AD & commands

  #🔹 Basic Server & System Commands =========================== 1️⃣ hostname – Display the server name 🖥️ 2️⃣ whoami – Display the logged-in user 👤 3️⃣ net stats srv – Show last reboot time ⏱️ 4️⃣ diskmgmt.msc – Manage and view existing disks 💽 5️⃣ ncpa.cpl – Show network connections 🌐 6️⃣ secpol.msc – Open Security Policies 🔐 7️⃣ dsa.msc – Open Active Directory console 🗂️ 8️⃣ services.msc – Manage Windows Services ⚙️ 9️⃣ ipconfig /all – Display NIC & MAC info 📡 🔟 mmc – Microsoft Management Console 🧰 1️⃣1️⃣ repadmin /showrepl – AD replication details 🔄 1️⃣2️⃣ shutdown /r – Restart the server 🔁 1️⃣3️⃣ shutdown /s – Shutdown the server 📴 1️⃣4️⃣ repadmin /replsum – AD replication summary 📊 1️⃣5️⃣ regedit.msc – Open Registry Editor 📝 #🔹 Active Directory Ports (Server ↔ Client) ============================== 🔹 25 – TCP/SMTP 📧 🔹 53 – UDP/DNS 🌍 🔹 67 – DHCP 📦 🔹 80 – HTTP 🌐 🔹 443 – HTTPS 🔒 🔹 88 – Kerberos 🔑 🔹 3389 – RDP 🖥️ #🔹 Networking Commands =====...