Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VBS will not run on a few PCs

0 views
Skip to first unread message

TamaraSJ

unread,
Nov 21, 2006, 1:48:09 PM11/21/06
to
Hello everyone,

I have a couple .vbs files running via Group Policy during login. For
most computers on the network (2,500+) the scripts are running fine. I
have 2-3 computers; however, that will not run the scripts.

The scripts are run by user but on a few machines they just don't seem
to run (these same users work fine on other machines, so I have it down
to machine). There are no error messages, it just doesn't run (even
when I run them manually).

Does anyone have any thoughts on this? They are all running on Windows
XP.

Thanks for any help,

Tamara

TDM

unread,
Nov 21, 2006, 4:08:17 PM11/21/06
to

"TamaraSJ" <ne...@tri-net.com> wrote in message
news:1164134889....@b28g2000cwb.googlegroups.com...

Tamara,

I am thinking you will need to give a bit more detail. When you say
you ran them manually, you mean from a command shell via Cscript.exe ?

There are some old tricks for VBS files where you mess with the file
association so VBS based viruses wont be able to run on the system.
If you truley get no errors when running from a command shell and you
do on have an "On Error Resume Next" statment in your code, then I
would look for something related to this.

You may also want to re-install WSH, you can get the 5.6 download
at M$. I have seen a number of posts with wierd problems where a
re-install fixed it.


TDM


Richard Mueller

unread,
Nov 21, 2006, 5:51:54 PM11/21/06
to

"TDM" <rpu...@gmail.com> wrote in message
news:OkLSrEbD...@TK2MSFTNGP03.phx.gbl...

Also, some virus software blocks scripts. I would think you would get an
error message if you run the script at a command prompt with the cscript
host.

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net


TamaraSJ

unread,
Nov 21, 2006, 9:23:22 PM11/21/06
to
Thanks for responding.

I have researched this extensively and tried everything mentioned here.
This is a newer 2003 server with nothing changed in the file
associations or registry to prevent vbscript. I have also checked the
virus software and nothing there. We also tried re-installing WSH 5.6
and none of these things worked.

When I state that we tried to run the script manually, I mean by
double-clicking and via command prompt. The script normally runs at
login via group policy.

When I go to a command prompt on this server and type Wscript.exe,
nothing happens. On most machines I receive the wscript.exe setting
box. This server (I also have two PCs with this issue) just won't run
the file and I can't find anything to explain it.

Any help would be greatly appreciated. I'm beating my head against a
brick wall on this one. I normally wouldn't care that the script
doesn't run on a server but this is a Citrix server that needs to run
the script. The other Citrix servers are running it with no problem.

Thanks again...... Tamara

TDM

unread,
Nov 22, 2006, 11:02:22 AM11/22/06
to

"TamaraSJ" <ne...@tri-net.com> wrote in message
news:1164162202.4...@b28g2000cwb.googlegroups.com...

This is certainly an odd one thats for sure. The only time I have
ever seen .exe files not run was related to the system being
compromised by sypyware/malware. Just a thought, but have
you tried running other executables from the command line ?
In the case mentioned above, all you would get was a single
sound out of the speaker and the excutables would simply
do nothing. We ran a slurry of spyware/adware/malware
cleaning tools on the system and it woudl then run executables.

You may also want to check the local security policies for
restrictions related to scripting or executables. Another idea, have you
tried
running the exe as a different user to eliminate a restriction to
that user ? Does the event log contain any clues at all ?

I know you said you re-installed WSH, but did you do a checksum
on the excutable and compare that to a known good one just to
make sure some malware has not replaced it ? Simply comparing
file size and dates it typically not enough. Some of the malware
out there is pretty darn good at replacing files on the fly, almost
instantly.

Another thought that comes to mind. Burn yourself a BartPE bootable
XP cd, boot from that, then try running the executable from the C:
drive and see what happens. If it runs, then my guess would be some
wierd voodoo on the local system related to who knows what. Not
sure what this will tell you except that your executable is indeed good,
but another restriction on the system is holding it down.

I saw a few others in google with your fate, so if you find the answer
please post it.

Good luck.

TDM


TamaraSJ

unread,
Nov 22, 2006, 5:33:01 PM11/22/06
to
Thanks for the info you offered. We are able to run other applications
on the command line with no problem. In the case of the server we are
logged in as Administrator with full access to the system. I will do
the check on the file as you mentioned. I have scoured group policy
with no luck. Since this is running on most other PCs running all the
same group policies I really didn't expect to find much there.

I will certainly post a response if I am able to find the solution.
Thanks again for you suggestions.

Tamara

0 new messages