I have a software application that requires that i make a startup script with the code below in it. However, i am getting this error message upon login.
Line 4 char 1 error expected statement
Source Microsoft VBScript compilation error
Can anyone help me out? I copied this from the documentation, i dont know anything about VB, so if there is any issue with the way that it is formatted, i wouldnt notice it.
Set WSHShell = WScript.CreateObject("WScript.Shell")
'To Enable Remote DCOM in the computer
'To Set Authentication Level to Connect
'To Set Impersonation level to Impersonate