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 Install Active Directory Migration Tool (ADMT) 3.2 on Windows Server 2016

If you would like to migrate AD objects between two domains in the same forest or different forest, you need to have Active Directory Migration Wizard (ADMT) installed. This tutorial will help you to install ADMT 3.2 on Windows Server 2016. Download the ADMT 3.2 from Microsoft Connect https://connect.microsoft.com/site1164/program8540 and then follow the below-mentioned steps. ... Read more

How to Configure Read-Only Domain Controller Windows Server 2016 Using PowerShell

We have configured a Read-Only Domain Controller (RODC) Windows Server 2016 using server manager in another tutorial already. In this post, we will again configure RODC Windows Server 2016 but using PowerShell this time. Prerequisites I assume you have at least one writeable DC in your environment. Following are some other prerequisites you need to meet. ... 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 Configure Credential Caching on Read-Only Domain Controller Windows Server 2016

By default when users attempt to login to a computer at a branch site, a read-only domain controller contacts the writeable DC for their authentication as it doesn't store user passwords. This happens every time when users log in. However,  a read-only domain controller can be configured to cache user passwords using Password Replication Policy (PRP). With PRP, ... Read more

How to Prepopulate Passwords Cache on Read-Only Domain Controller Windows Server 2016

When a Password Replication Policy is enabled and a user or computer account is in the allowed RODC password replication group, a password is replicated and cached on Read-Only Domain Controller when a branch user login for the first time. The RODC authenticates the branch users and computers for subsequent logins without forwarding requests to the main ... Read more