Solved

.vbs printer login script not running

Posted on 2009-04-09
5
1,153 Views
Last Modified: 2013-11-21
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 @_@
0
Comment
Question by:Himmel123
  • 3
5 Comments
 
LVL 9

Expert Comment

by:pablovr
ID: 24113414
First of all, please confirm:

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

Author Comment

by:Himmel123
ID: 24116850
Sorry,

Yes thats correct, it has windows xp on a 2003 server domain.
0
 
LVL 15

Expert Comment

by:HayesJupe
ID: 24128213
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)
0
 

Author Comment

by:Himmel123
ID: 24131850
Yes,

there is no gp(domain/local) restricting vbs from running for that user.
0
 

Accepted Solution

by:
Himmel123 earned 0 total points
ID: 24160191
issue is resolved, that paticular terminal server was corrupting the registry causing issues with permissions related to teh vbs script.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to get AD RMS to work with Office 2016 for Mac 6 437
How to resolve user quota error? 13 87
question about running backups 3 83
system default settings 4 13
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

685 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