Solved

A program or firewall is not compatible with Windows Vista - wscript.exe

Posted on 2009-03-30
6
878 Views
Last Modified: 2013-11-16
I get this error on two Vista machines here at work.  Not sure what could be causing it other than our domain login script.  I've found no more in depth information in the event logs on these two boxes either.. Also our default domain gpo turns off windows firewall.

Anyone else run into this problem?
0
Comment
Question by:Ben Hart
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 22

Expert Comment

by:cj_1969
ID: 24043384
If this is happening on the machines as somebody is logging in then this makes me think there is one of two things happening.
1. The script is executing a vb/vbs file and it is trying to do something that Vista will not allow.   Assumes that you have no other Vista machines or that they are not running the same login script.
2. since wscript appears to be causing the error ... this might be a problem with the script association.
Typically in a batch environment (such as a logon script) you would execute a vb script using cscript ... the problem could be that the reference to the script executable is not defined on these machines and it is defaulting to wscript and not cscript and wscript has some issue with what ever is being executed.

In the case of issue number 2, either fully qualify the use of cscript in the login script when executing the script or make cscript the default association for vb script files on the machines that are having problems.
0
 
LVL 14

Author Comment

by:Ben Hart
ID: 24043548
That all sounds like exceptional information.  Almost all of it over my head ;p

Ok so maybe this will help, what we've got is a batch file calling a VB Script.  Now I've looked through the contents of the vbs and I do see a couple commands such as "Dim wshell" and "Set wshell = CreateObject("WScript.Shell")"  Which I will assume tthose might be the problem.

Let me ask though since I have no clue.. Was there a version difference between XP and Vista's WSH?  

And while I've heard of WScript before I have no heard of CScript.. is that built into Windows as well? Or the support for such?
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24049406
yes, both wscript and cscript come with the OS.
w = windows (produces alert boxes and does windows stuff)
c = command line (for use in batch scripts and such)

The version of the WSH (Windows Scripting Host) that ships with Vista is a newer version than the default that is on XP.  There appear to be bug fixes but I'm not reading anything about enhancements made in this version, unless you are using an older version than 5.6 on the XP machines.  Here is a link to the release notes for v 5.7 http://download.microsoft.com/download/f/f/e/ffea3abf-b55f-4924-b5a5-bde0805ad67c/Windows%20Script%20Release%20Notes.rtf

Here is the page where I got the link, you can also download v5.7 of WSH for XP and other platforms.  This might let you test and fix the problem by being able to reproduce it on an XP machine.
http://www.visualbasicscript.com/m_53536/mpage_1/key_/tm.htm#53536
0
 
LVL 14

Accepted Solution

by:
Ben Hart earned 0 total points
ID: 24064087
I've taken your comment and I'm throwing it to a local resource that's more knowledgable in how to accomplish this than I am.  I'm thinking that we're going to have to alter or "convert" the wscript portions of our login script to cscript but whether or not that includes syntax or layout changes to the file is beyond me.  I will post back with some findings..
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question