✴︎

✴︎ ,

Mastering Windows administration is important in the early stages of any IT career. Today, I’m excited to share a Windows Admin Cheat Sheet that covers essential tips and tricks for effective system management. Whether you’re running a small business network or streamlining your home setup as a tech lover, these insights will simplify your tasks and enhance efficiency. Get ready to make your tech life a lot easier with these practical tips!

Resetting an Active Directory User Password Using PowerShell

When managing Active Directory with Windows Admin PowerShell, resetting a user password is straightforward.

  1. First, open PowerShell with admin privileges.
  2. Type the following command:
Set-ADAccountPassword -Identity [username] -Reset -NewPassword (ConvertTo-SecureString -AsPlainText "newpassword" -Force)

Replace [username] with the actual username and "newpassword" with the new password. It’s quick and efficient!

Resetting Network Settings in Windows 10

Another powerful capability of Windows Admin PowerShell is managing network settings efficiently. As network issues can really disrupt your day. Here’s my go-to method for resetting network settings to fix connectivity problems:

  1. Open Command Prompt as Admin.
  2. Enter the following commands one by one, hitting Enter after each:
ipconfig /flushdns
netsh winsock reset
netsh winhttp reset proxy
netsh int ipv4 reset
netsh int ipv6 reset

These commands will flush the DNS, reset Winsock, and reset your IP stack for both IPv4 and IPv6. It’s a quick fix that often solves connectivity issues.

Testing Network Connection with Ping

When your network is acting up, the ping command is your best friend. Here’s how to use it:

  1. Open Command Prompt as Admin.

To ping an IP address, type:

ping 192.168.100.1

To ping a hostname, type:

ping dc1.ad.activedirectorypro.com

This will test the connectivity to the specified IP address or hostname. For more options, type ping /? to see all the available commands.

Deleting Temporary Files

Temporary files can clutter your system and slow it down. Here’s a quick way to clean them up:

  1. Press Windows + R on your keyboard to open the Run dialog box.
  2. Type %temp% and hit Enter.
  3. Select all folders and files in the temp folder, then press Delete to remove them permanently.

Your system will run more smoothly without all that extra clutter.

Setting a Static IP Address

Setting a static IP address can help avoid network conflicts and ensure consistent connectivity.

Here’s how to do it:
  1. Open Command Prompt as Admin.
  2. Type ipconfig /all to list all your network information.
  3. Note the following details for your network card:
    • IPv4 address
    • Subnet mask
    • Default gateway
    • DNS servers
To set the static IP, type:
netsh interface ip set address name="Ethernet" static [IPv4 address] [Subnet mask] [Default gateway]

Replace [IPv4 address], [Subnet mask], and [Default gateway]with your noted information.

To set DNS servers, type:
netsh interface ip set dns name="Ethernet" static [DNS server]
netsh interface ip add dns name="Ethernet" [Secondary DNS server] index=2

Replace [DNS server] and [Secondary DNS server] with your DNS server addresses. And there you have it, a static IP setup!

Enjoy!

These have been incredibly useful throughout my career. Whether you’re managing a small business network or just enjoy tinkering with tech at home, these tips will definitely come in handy. Stay tuned for more insights and guides from the tech world!


Leave a Reply

Your email address will not be published. Required fields are marked *


Alyssa Pomerleau Avatar

About the author




Search the website