NET USE in login script Windows server 2003

I'm trying to troubleshoot problems with login script windows server 2003.  Script is as follows:

REM Login Script PL Jacques Dec 1, 2004
echo on

net use F: /DELETE
net use F: \\IHR_SERVER\FRS

ifmember fd_grp
if errorlevel 1 goto fd_grp

ifmember sales_grp
if errorlevel 1 goto sales_grp

ifmember acct_grp
if errorlevel 1 goto acct_grp

goto end

:fd_grp
net use lpt1 /delete
net use lpt2 /delete
net use lpt1: \\nightaudit\fdlaser
goto end

:sales_grp
net use lpt1 /delete
net use lpt2 /delete
net use lpt1: \\conferencesvc\reslaser
net use lpt2: \\nightaudit\fdlaser
goto end

:acct_grp
net use lpt1 /delete
net use lpt2 /delete
net use lpt1: \\acct\acctlaser
net use lpt2: \\nightaudit\fdlaser
goto end

:end
pause
Exit


We're running a DOS app that only prints to LPT1 or LPT2 so I have to do net use command to redirect printing in different departments.  I have two problems.  First I'm getting an error about IFMEMBER not being recognized as and internal or external command.  I downloaded the Server 2003 resource kit and installed it on the server 2003 machine.  Is there more?

Secondly the net use command map drives works OK.  But, when I try to do net use to redirect some the shared printer on one of the computers, it asks me to authenticate to that computer.  Let me reiterate, it asks me to authenticate to the computer not to the domain.  No matter what I enter, it does not work.  If I log out and log back in as Administrator with local and domain administrative rights it works.  What rights are required for this to work?
dbldiamondAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

oBdACommented:
For the ifmember.exe to work, you'll have to copy it from the installation folder into the netlogon share; it should work then (assuming this is a "profile" logon script).
As for the "net use lpt" problem, I'm assuming you're using XP clients? Then you're fighting against XP's tightened security; by default, users can't map over an existing hardware port:
Non-Administrators Cannot Remap an LPT Port to a Network Printer
http://support.microsoft.com/?kbid=313644
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.