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 Migrate AD Workstation and Member Server in the same Forest Using ADMT 3.2

I have already shown you how to migrate users in the same forest in my earlier post. In this article, I'll show you how to migrate AD workstation and member servers in the same forest using ADMT 3.2. Migrating a Single Computer Step 1. Login to the computer with anthe ADMT migration account into the target ... Read more

How to Migrate AD Global Groups in the Same Forest Using ADMT v3.2

In this article, I will help you to migrate active directory global groups in the same forest using ADMT 3.2. Migrating Single AD Group Step 1. Login with an ADMT migration account to the computer at the target domain where ADMT is installed. Step 2. Open PowerShell with elevated privileges. Step 3. Execute the following ... 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

Fix for “C:\Admin\scripts\ADMTExclusion.vbs(1, 1) Microsoft VBScript runtime error: Activ eX component can’t create object: ‘ADMT.Migration'”

When you migrate AD objects with VBScript and you receive the following error: C:\Admin\scripts\ADMTExclusion.vbs(1, 1) Microsoft VBScript runtime error: Activ eX component can't create object: 'ADMT.Migration' Solution Run the command from the following directory C:\Windows\SysWOW64> Suppose C:\Windows\SysWOW64>cscrip.exe hello.wsf or C:\Windows\SysWOW64>cscrip.exe hello.vbs      

What is CBS.log?

CBS stands for component based servicing. CBS.log is a file which include logs about components when they get installed or uninstalled during updates. If you want to check these files, they are located at %windir%\Logs\CBS\ You will see two files in CBS folder, one is CBS.log and the other is CBS.persist.log. CBS.persist.log is the older ... Read more