How to increase length of default share name?

  • Thread starter Thread starter Will Seay
  • Start date Start date
W

Will Seay

We set up several new printers each month, and the eventual goal is to
create a script to help automate the process.

In the meantime, one step that would save lots of time would be to have
Windows set the default share name to the same as the printer name, even
though the printer name is 10 characters in length. Windows
automatically truncates the default share name to 8 characters (I assume
for Win95, etc, compatibility).

Is there a way to increase this default share name length, or otherwise
force the New Printer wizard to use the exact printer name as the share
name by default?

Any help greatly appreciated!
 
If you install print queues on XP and/or Windows Server 2003, you can use
WMI and the scripts called prn*.vbs in system32. You'd have to extract a few
lines from prnmngr.vbs and prncnfg.vbs and create your own script to achieve
what you want. But it's doable.

If you need to support Windows 2000 as well, then you can use the PrnAdmin
tool in the Resource Kit.

--
Felix Maxa
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
Back
Top