How to Write VBScript Code on Windows

Open notepad or any other third party editor like Notepad++. Write any VBScript code suppose Wscript.Echo "Hello" Wscript.Quit 0 Save the file with .vbs extension suppose hello.vbs. You can then run that VBScript file from command prompt. Reference http://testingfreak.com/run-vb-script-code-written-on-notepad-without-additional-software-windows/

Unable to access the computer. Make sure that this computer is on the network, has remote administration enabled, and is running the “Plug and Play” and “Remote registry” services. The error was: Access is denied.

When you remotely (I mean from another computer on the network) access the device manager of Windows Server 2016/2012/2008, you may get the following error: Unable to access the computer. Make sure that this computer is on the network, has remote administration enabled, and is running the “Plug and Play” and “Remote registry” services. The ... Read more

How to Use System File Checker to Repair Missing or Corrupted Files in Windows 10

System File Checker (sfc.exe) is a utility in Windows which is used to restore missing or corrupted system files. This article describes how to use that tool. Repair Missing or Corrupted Files in Windows 10 Step 1. Open the command prompt with elevated privileges - click Command Prompt (Admin). Step 2. Type in the following ... Read more

How to Check Which Domain Controller your Machine is Getting Authenticated

If you have multiple domain controllers in your environment and you want to check with domain controller is authenticating your client, you can execute the following command on command prompt. (Execute it with elevated privileges) nltest /dsgetdc:<domain> This will return you the domain controller you are getting authenticated from. Above picture shows the client machine ... Read more

How to Run VBScript on Windows

To run VBScript file, follow these steps. I have tested on my Windows Server 2016 but it should run on other windows versions. Open PowerShell or command prompt with elevated privileges. Execute the following command: cscript <VBScript file name> For example, to run hello.vbs, which is located in your current working directory: cscript hello.vbs or ... Read more

How to Deconfigure DHCP Failover in Windows Server 2016

If you want to remove an existing DHCP failover in Windows Server 2016, you can do it either by using server manager (Most suitable in scenarios where you are using Windows server desktop) or PowerShell (Most suitable in scenarios where you are using Windows server core). This article shows both procedures. Deconfigure DHCP Failover Using Server Manager Step 1. ... Read more

How to Configure DHCP Failover in Windows Server 2016 using PowerShell

You can create a DHCP failover with two servers in hot standby mode by using a single Add-DhcpServerv4Failover PowerShell cmdlet. This tutorial assumes you have an active scope on primary DHCP server and a DHCP running on standby or partner server. Configure DHCP Failover in Windows Server 2016 using PowerShell Step 1. Open PowerShell on primary ... Read more