Advertisement

02.05.2008 at 09:27AM PST, ID: 23138674
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Startup Add Printer Script doesn't work on XP but does on 2000.

Tags: Microsoft, Windows Server, 2000, AD & GP, Startup Add Printer Script
We use the following script at computer startup to map each rooms network printer to the computers in their room OU.  This works great for windows 2000, however in XP the scripts fails to work at startup.  Additionally, if the script is run from the SYSVOL share or if you copy the script locally and run it once logged in, the script runs fine on xp and maps the appropriate printer.  So what the heck is up XP?

Also we have the script following it run at shutdown to remove all printers, and while it works when run manually, it does not work at shutdown for 2000 or xp.

Additional information: 1 DC running Widnows 2000, AD & Printer Server.  Any help would be greatly appreciated.  Thanks!
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
Printer.bat
 
rundll32 printui.dll,PrintUIEntry /in /q /n\\dc1\roomnumber-00p
rundll32 printui.dll,PrintUIEntry /y /q /n\\dc1\roomnumber-00p
 
----------------------------------------------------------------------
 
DelAllPrinters.vbs
 
Option Explicit
on error resume next
Dim oWSHNetwork, oPrinters, intCounter
'-- Setting objects --
Set oWshNetwork = WScript.CreateObject("WScript.Network")
Set oPrinters = oWshNetwork.EnumPrinterConnections
 
 
For intCounter =1 to oPrinters.Count -1 Step 2
If Left (oPrinters(intCounter),2) = "\\" Then
          oWSHNetwork.RemovePrinterConnection oPrinters.Item(intCounter), true, true
     End If
'wscript.echo oPrinters.Item(intCounter)
Next
 
'Clean up and exit the script
Set oWSHNetwork = Nothing
Set oPrinters = Nothing
wscript.quitac
Start your free trial to view this solution
Question Stats
Zone: OS
Question Asked By: cyberdog478
Solution Provided By: and235100
Participating Experts: 1
Solution Grade: A
Views: 14
Translate:
Loading Advertisement...
02.05.2008 at 09:38AM PST, ID: 20825027

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.05.2008 at 10:09AM PST, ID: 20825256

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.05.2008 at 10:45AM PST, ID: 20825553

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.05.2008 at 10:57AM PST, ID: 20825682

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.05.2008 at 11:22AM PST, ID: 20825937

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.05.2008 at 11:39AM PST, ID: 20826090

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.05.2008 at 11:55AM PST, ID: 20826220

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.14.2008 at 08:16PM PST, ID: 20899336

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628