VB Scripts On Windows Server 2008

VB Scripts & Windows Server 2008/2012 Server
If VB scripts will not run on your Windows 2008 64 bit server. There are a couple of things to try, first look for this path on your server:
C:\Windows\SysWOW64\config\systemprofile\Desktop
or
C:\Windows\System32\config\systemprofile\Desktop

If you do not see a "Desktop" folder under "systemprofile", create it and try executing the visual basic script again. More about this fix can be found here.

If that workaround does not fix the problem AND you have Excel installed on the server, you may have to add your working folders to Excel's Trusted sites.

Another thing to check, watch this Informatica Support video on troubleshooting Scripts

If you notice this issue and these tips helped you, please leave a comment, likewise if you found another solution solved the problem, leave the solution in a comment so other people can benefit.

Thank you!


Thank you for your support
Tip Jar


IMPORTANT,  YOU are responsible for backing up your systems before trying or implementing any suggestions from this blog. I do not guarantee 100% accuracy of any code examples. I do not presume to know your system environment(s) or Security requirements; all code examples from this blog should be thoroughly tested before any attempted use on a production system.

7 Response to "VB Scripts On Windows Server 2008"

  1. Anonymous 9/24/13, 4:31 AM
    Thanks very much Jeff. Creating desktop folder resolved my issue
  2. Anonymous 12/9/14, 6:00 PM
    Thank you, just creating folder "Desktop" under C:\Windows\SysWOW64\config\systemprofile\ solved all my problems!!!! I thought it is security issue and spent 2 days trying to use ranas, psexec and other to solve this problem. Incredible, how simple solution was.
  3. J. Kinzer 12/11/14, 7:06 AM
    Re comment posted on 12-9-2014: Glad to hear it helped!! That's what these blogs are all about!
  4. Anonymous 4/27/15, 6:20 AM
    Thank you so much for this Jeff. Solved one of the most infuriating problems I have ever had to deal with!
  5. Anonymous 5/23/18, 2:00 PM
    Thank you for the topic, just creating folder "Desktop" under C:\Windows\SysWOW64\config\systemprofile\ on Windows Server 2016 OS and the VBS run as expected

Post a Comment