Windows
| Article | Updated |
|---|---|
|
How to set hours on a local user account
net user tperson /time:M-F,08:00-17:00 |
Jun 2, 2026 |
|
Force Log Off
First, check the session number with qwinsta: QWINSTA /server:computernameWrite down the session ID.Then use the logoff command: LOGOFF sessionID /server:computername. |
Jun 2, 2026 |
|
Installing New Certificate for IIS & XenDesktop
After purchasing the certificate there will be 1 credit available certificates.Inside IIS generate a renewal cert.txtCopy the new cert txt into the Godaddy cert tool.Use the available certificate and downloa… |
Jun 2, 2026 |
|
How do I reset an Active Directory password?
Open Active Directory Users and ComputersRight-click on domain name at the top of the tree and choose FindIn the 'name' field type the first 4 letters of the username for the accountClick Find NowRight-click on the account you want to set t… |
Jun 2, 2026 |
|
How to set hours on a local user account
net user tperson /time:M-F,08:00-17:00 |
Jun 2, 2026 |
|
Force Log Off
First, check the session number with qwinsta: QWINSTA /server:computernameWrite down the session ID.Then use the logoff command: LOGOFF sessionID /server:computername. |
Jun 2, 2026 |
|
Copy files / folders & retain permissions
xcopy c:\olddocs d:\newdocs /E /H /O /E - Copies folders and subfolders, including empty ones. /H - Copies hidden and system files also. /K - Copies attributes. Typically, Xcopy resets read-only attributes. /O - Copies file o… |
Jun 2, 2026 |
|
Upgrading Domain Controllers
With Windows Server 2008 R2 on the way out in January of 2020 there will be some who will be moving to Server 2016 or 2019. Follow the steps below to ensure your migration goes fairly smoothly, no guarantees - it's Microsoft. Th… |
Jun 2, 2026 |
|
How to set your Windows server to sync time with NTP servers
Copy and paste the following into notepad and save it as a .bat If your server doesn't execute the commands in the order they are, remove the ""rem "" from the timeout and increase the time if needed.@echo off echo Showing Current Con… |
Jun 2, 2026 |
|
Creating a symbolic link for iPhone backup
Create a Backup folder on another drive will more free space such as (E:\Backup)Rename the Backup folder in %APPDATA%\Apple Computer\MobileSync\Backup to Backup1Open a command prompt and run: mklink /J %APPDATA%\Apple Computer\MobileSync\Ba… |
Jun 2, 2026 |
|
Backup or Migrate DHCP on Windows Server
Open Powershell (administrator)Copy this command and paste it into powershell and press EnterExport-DhcpServer -ComputerName “servername.domain.com” -Leases -File “C:\Scripts\DHCPConf.xml” –VerboseCopy the file located in the path above to … |
Jun 2, 2026 |
|
How to export/import all users from Active Directory
Export UsersDownload the Export-ADUsers.ps1 scriptMove the script to C:\ScriptsEdit the script to point to your domain and specific OU's (or domain root to export all users)$DNs = @( "DC=DOMAIN,DC=LOCAL"Open Powershell ISE (run as administr… |
Jun 2, 2026 |
|
How to install winget on Windows Server 2016+
Open Powershell as administrator and paste the following in:Install-Script -Name winget-installwinget-install |
Jun 2, 2026 |
|
How to run Windows Update from Powershell
Open Powershell as administrator and paste the following into the window:Set-ExecutionPolicy -ExecutionPolicy BypassInstall-Module PSWindowsUpdate -ForceImport-Module PSWindowsUpdateGet-WindowsUpdate -AcceptAll -Install -AutoReboot |
Jun 2, 2026 |