There are multiple phases I wish to perform and it is a bit confusing so I think I will list them as numerical steps. I have Win 95, NT, 2K and XP workstations in a Windows 2000 single domain.

#1 - obtain current and default printer(s) for each user that logs onto a computer and write to a PrintSetup.ini file. Create subdirectory for each @WKSTA+@USERID (multiple people using each pc). Good example of the logfile I'd like to create http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=10;t=000021. I've actually modified this and am able to create the subdirectory on the print server and write the PrintSetup.ini file. I just don't know how to query this logfile for further use by the following steps, specifically #4.

#2 - create printer groups in Active Directory for the COMPUTERS (not the USERS) and manually add the computers to the AD group. (AD group name format to be 'Q-ITS Printer' for the 'Q-ITS' printer share on a server).

#3 - get the current \\oldprintserver\printer(s) and replace with \\newprintserver\printer(s) and write results to a log file. Here's a nice format for displaying the results of the script that I like http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=10;t=000021.

I'm not sure if I need an .ini file for this to map groups to printers, but prefer to use a variable since group and printer names are similar. To further complicate matters, I am changing users from a Novell server to Microsoft server. This script doesn't work for the Novell printers http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=1;t=005216#000008.

#4 - after changing printers over to Microsoft, I'd like to maintain printers for future users by using ComputerInGroup to check for a printer based on the newly created printer groups and install it if not installed. http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=12;t=000457.

#5 - I haven't decided how to maintain the current default printer

[Frown]

-tjcarst

[edit] Corrected URL in item #1. A period was included in the URL. H. Bullock [/edit]

[ 10. September 2003, 04:20: Message edited by: tjcarst ]