Category

Windows

Micro$oft Windows

368 articles in this category

Change Windows network share permissions from command line

June 7, 2023 1 min read

Grant-SmbShareAccess -Name ShareName -AccountName Administrators -AccessRight Full -ForceGrant-SmbShareAccess -Name "Brother DW2710 series" -AccountName Everyone -AccessRight Change -Force It appears that there is no pre-existing command line tool for…

Rename Windows Domain

March 26, 2023 2 min read

The following procedure shows you how to rename an Active Directory domain.

Analyze RDP Disconnection Logs using PowerShell

February 7, 2023 3 min read

The PowerShell script is designed to extract information about Remote Desktop Protocol (RDP) local session manager events from the Windows event logs on a RDS host and save…

Prefer IPv4 over IPv6 on Windows

January 13, 2023 1 min read

Use the following commands to change the preference on Windows to use IPv4 over IPv6. netsh interface ipv6 set prefix ::/96 60 3 netsh interface ipv6 set prefix…

Find files modified in Windows command line

November 10, 2022 1 min read

The forfiles command exists to facilitate finding files in a given path and can be used to also find files modified by date. forfiles /P c:\users\techish /S /D…

Outlook 2021 – Minimize to System Tray

October 24, 2022 1 min read

To minimize Outlook to the system tray when minimized, you can right-click on the Outlook icon on the taskbar and select Minimize to System Tray. On Windows 11,…

Schedule reboot from command line in Windows

October 13, 2022 1 min read

The older at command no longer works for simple scheduling of tasks so now we must use schtasks. To configure a task to run one time, and reboot…

Check Windows Servers Activation Status

October 7, 2022 1 min read

I needed a quick way to check activation status of Windows Servers in a domain. This is the solution I came up with using PowerShell to run the…