Discussion Locked

Using ifmember

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a question re: the ifmember utility. Is there a way to incorporate it into a logon script that will run on Win9x machines? If so, I would like to use it to try to do something like the following:

Ifmember Domain\Group net use z:\\server\group forms

What is the correct syntax for this type of command?

Thanks for the input.
Mike.

3 replies

by tamj123

this is a part of my logon script by using ifmember.exe

@echo off

\\my-domain\NETLOGON\IFMEMBER.EXE domain\application_USERS
IF ERRORLEVEL 1
net use J: \\server\shared /persistent:NO
net use R: \\server\shared /persistent:NO
net use S: \\server\shared /persistent:NO

this will map J, R, S drive if user is in application_users group

hope this will help

by mlaforge

This command is not working on my Win9x systems. I am getting an error 120 which is for "This function is only valid in Windows NT mode." Most of my clients are Win9x. Thanks again. Mike.

This discussion is closed to new replies.