Link to home
Start Free TrialLog in
Avatar of Himmel123
Himmel123

asked on

.vbs printer login script not running

So here is the problem, normally when a user connects to the cluster, they are assigned a server. When they login a script runs to add thier printer driver so they can print.

In this paticular situation:

I have a single user who logs in, but gets this error message:

Script: \\domain.com\sysvol\domain.com\scripts\path\printmapping\name.vbs
line: 11
Char 1
Error: Windows cannot open this program because it has been prevented by a software restriction policy. For more inforamtion, open event vewier or contact your system administrator
Code:800704EC
Source: (null)

Now when this user logs in, he cant print or add any printer, gets the following error message:

A policy is in effect on your computer which prevents you from connecting to this print queue. Please contact your system administrator.


I've tried the most common solutions online, none of them seem to work. It looks like a permissions issue but I havent been able to locate any differnce between this user and the 400 others.

Also,

I tried registering the vbscript.dll and that doesnt work either...not sure if its related but I thought it might because the login script is a .vbs


So what I'm trying to figure out is : how to fix the first error, see if that resolves the second.


ive been really beating my head on desk on this one @_@
Avatar of pablovr
pablovr
Flag of Mexico image

First of all, please confirm:

1) This particular machine has Windows XP Professional installed
2) It is joined to the windows server 2003 domain
Avatar of Himmel123
Himmel123

ASKER

Sorry,

Yes thats correct, it has windows xp on a 2003 server domain.
Avatar of Hayes Jupe
hang on, you've been specifically notified of the issue
Error: Windows cannot open this program because it has been prevented by a software restriction policy. For more inforamtion, open event vewier or contact your system administrator

Have you verified you dont have a group policy restricting vbs from running assigned to the machine in question? (or the user in question)
Yes,

there is no gp(domain/local) restricting vbs from running for that user.
ASKER CERTIFIED SOLUTION
Avatar of Himmel123
Himmel123

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial