So I've got an old VB script that's supposed to capture the computers Description (in Windows) and apply that to the computer object in AD. Now what's weird is that when I run this on a few random machines it displays nothing and does exactly what it should. However I then created a GPO and called this VBS as a logon script. When tested the user logs in and this GPO is processed a tiny Visual Basic Script window appears displaying the Description value and an OK button.
I am much better at Powershell than VB but I cannot understand, looking at this code, where it's creating a window with an OK button.
Below is the script itself.. can someone show me how to make this run invisibly?