Helpful Windows Admin Tips


To launch Windows Update from the Windows Run dialog:

ms-settings:windowsupdate


Use Powershell to kill processes with a name filter:

Get-Process | Where-Object {$_.Path -like "*SOME-FILTER*"} | Stop-Process


See what time computer was booted up:

net statistics server


Restart or Shut Down a Remote Computer and Document the Reason

shutdown /i

(from https://technet.microsoft.com/en-us/library/cc770416(v=ws.11).aspx)


Using DISKPART from the command line to work on disk drives, volumes, partitions:

https://www.digitalcitizen.life/command-prompt-advanced-disk-management-commands

http://searchwindowsserver.techtarget.com/tip/Using-Diskpart-to-create-extend-or-delete-a-disk-partition


Activating Windows 10: https://www.howtogeek.com/245445/how-to-use-slmgr-to-change-remove-or-extend-your-windows-license/


Changing Windows Product Key After Install: http://tweaks.com/windows/39026/change-windows-product-key-after-install/


Windows Search error: “Search results aren’t quite ready yet, but we’re working on getting them together. Try back in a few minutes.”

https://www.weavweb.net/2016/12/19/search-results-arent-quite-ready-yet-but-were-working-on-getting-them-together-try-back-in-a-few-minutes/


Read original Windows 10 License Key using Power Shell:

Then, read Windows Key from “OA3xOriginalProductKey” property from output above.

(from https://gallery.technet.microsoft.com/scriptcenter/Get-windows-10-digital-7653fae4)

See also: https://robertsmit.wordpress.com/2017/03/19/get-windows-10-digital-license-with-powershell-winserv-osd-wds/


PowerShell: Get a list from the registry of all the software installed on your machine


PowerShell: List open files on a server/computer

Example with filename filter:

Example with domain\username filter:

 

2 thoughts on “Helpful Windows Admin Tips”

Leave a Reply to Matt Slay Cancel reply

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