These commands should be used in an elevated / administrator command prompt or PowerShell. Set old / original menus as default. Remove Explorer command bar Restart Windows Explorer You can follow the following steps to restore the new context menus and command bar. Beginning with restoring the Windows 11 context menu. Restore the Explorer command…
Category: Windows
Install certificate for LDAPS on Windows Server
To use a certificate in Windows for IIS usage, you can select the certificate in IIS bindings. It is a bit different to use a certificate for LDAPS. There are two things to keep in mind: Troubleshooting Tips Install certificate to NTDS certificate store References
Network Policy Server (NPS) Notes
Audit policy CLI commands to set the success or failure to enable (Enable – enables logging). Get the current settings of the audit policy.
Useful Tools
Link Compilation Linux Useful Commands Linux Tool Alternatives
Set git username and email address in Windows / VSCode
After installing Git for Windows, a username and email address has to be set or VSCode will give you the following error: To add your username and email address, open up a terminal. I used Powershell in this case and type in the following commands: If the email address used is also in your GitHub…
Network Policy Server Notes
View the status of logging Enable logging Disable logging
Install syslinux on Windows Server 2019 WDS
Once Windows Deployment Services is installed and running, locate the folder where WDS is installed.My install is in D:\RemoteInstall. Rename pxeboot.n12 in D:\RemoteInstall\Boot\x64 to pxeboot.0. Rename abortpxe.com in D:\RemoteInstall\Boot\x86 to abortpxe.0. Download syslinux. I used version 5.04. Your mileage may vary with other versions. From the syslinux archive, extract core\pxelinux.0, com32\menu\vesamenu.c32, com32\modules\chain.c32, memdisk\memdisk to D:\RemoteInstall\Boot\x86…
Useful Commands for Windows Subsystem for Linux
wsl -l -v – check current WSL version in use wsl -–set-default-version 1 – set default WSL version. Currently 1 or 2. wsl -–set-version Ubuntu-20.04 2 – convert WSL version to version 2 where Ubuntu-20.04 is the name of the distribution.
How to resolve incorrect time with Windows Domain Controller
The Domain Controller should be the definitive source for time for the entire Windows Domainnetwork. It needs to sync directly to NTP servers and not the hardware clock of the machine it’s onwhether it’s a virtual machine or a physical server. That means don’t set VMware Tools to sync time for the guest. There are…