Posts tagged with "Windows"
Automated IIS Application Pool Restart with PowerShell
A PowerShell script for safely restarting IIS application pools with comprehensive logging, including pre and post-restart process details and error handling.
Published: October 16, 2024 | Last Modified: May 13, 2025Troubleshooting Group Policy Objects (GPOs)
A collection of useful commands and steps for troubleshooting Group Policy Objects (GPOs) in a Windows Active Directory environment.
Published: May 31, 2024 | Last Modified: May 13, 2025Windows ACL Management with PowerShell
A comprehensive collection of PowerShell scripts for managing Windows Access Control Lists (ACLs), including permission enumeration, modification, and analysis tools with detailed permission descriptions.
Published: May 2, 2023 | Last Modified: May 13, 2025Managing Global Address List (GAL) Visibility with PowerShell
A comprehensive guide to managing user visibility in the Global Address List (GAL) using PowerShell, covering both on-premises Active Directory and Exchange Online environments with detailed scripts for checking and modifying the msExchHideFromAddressLists attribute.
Published: April 5, 2023 | Last Modified: May 13, 2025Windows Defender Firewall Management Guide
A comprehensive guide to managing Windows Defender Firewall via command line, covering firewall state management, program exceptions, Remote Desktop configuration, and port forwarding.
Published: March 3, 2023 | Last Modified: May 13, 2025Microsoft LAPS (Local Administrator Password Solution) Guide
Microsoft LAPS (Local Administrator Password Solution) is a tool designed to securely manage local administrator account passwords on Windows domain-joined computers. It automates password generation and rotation, and stores passwords in a secure manner, providing greater control and security over local accounts.
Published: February 23, 2023 | Last Modified: May 13, 2025Managing Windows User Accounts with net user Command
The “net user” command is a Command Prompt (Shell) command used to manage user accounts on a Windows operating system. It can be used to create, modify, or delete user accounts, as well as to change passwords and manage group memberships.
Syntax
net user [username [password | *] [options]] [/DOMAIN]
net user username {password | *} /ADD [options] [/DOMAIN]
net user username [/DELETE] [/DOMAIN]
net user username [/TIMES:{times | ALL}]
net user username [/ACTIVE: {YES | NO}]
Add a user
To add a new user account:
Published: February 22, 2023 | Last Modified: May 13, 2025Windows Driver Management with pnputil
You can uninstall third-party drivers (such as the WAVES MaxxAudio Pro driver) from the Command Prompt (CMD) by using the “pnputil.exe” utility. Here’s the basic process:
Open Command Prompt as administrator: Press the Windows key + X, and then select “Command Prompt (Admin)”.
Type the following command and press Enter:
pnputil.exe -e
# or export the list to a file
pnputil.exe -e > !drivers.csv
This command lists all the third-party drivers installed on your system.
Published: February 17, 2023 | Last Modified: May 13, 2025Windows Settings URI Reference
A comprehensive reference guide to Windows ms-settings URI schemes, enabling direct access to specific Windows Settings pages through command-line or scripting interfaces.
Published: January 1, 2021 | Last Modified: May 13, 2025