Windows Script Host Error [0xFFFFFFFF] Upon Logon - ApplySambaCredentials.vbs

 

ISSUE

When logging into a protected asset, the Windows script error below is presented.

mceclip0.png

CAUSE

A local security or group policy prevented the VBS script to run through PowerShell.

RESOLUTION

Remove the ApplySambaCredentials.vbs registry key.

 

Before making any changes to the registry, it is highly recommended that a backup of the registry is performed 

1. Open a command prompt as an Administrator.

2. Backup the registry using the following command:

reg export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run C:\Windows\Temp\CurrentVersion_Run.reg

3. Remove the offending registry key.

reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /V Unitrends_SetSmbCredentials /F

 

The Windows Script Host Error should no longer occur.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us