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



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



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


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.

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section