logon script problems

rhoads

New Member
hi all, im having an issue with this script, the drives map for the Accounting and IT groups, which are the first two, but not the rest of the groups, any ideas what the issue is? I'm using Server 03 and Win7 as the client.......when i originally created this script it worked perfectly using xp as the client and assigning it via profile tab, i am now trying to assing it via group policy, your assistance would be much appreciated

ifmember "my.home\Accounting_Group"
if errorlevel 1 (
net use v: "\\home-am\Public\Accounting"
net use w: "\\home-am\Public\HR"
net use x: "\\home-am\Public\Purchasing"
)

ifmember "my.home\IT_Group"
if errorlevel 1 (
net use v: "\\home-am\Public\Accounting"
net use w: "\\home-am\Public\HR"
net use x: "\\home-am\Public\Purchasing"
net use y: "\\home-am\Public\Sales"
net use z: "\\home-am\Public\IT"
)

ifmember "my.home\HR_Group"
if errorlevel 1 (
net use w: "\\home-am\Public\HR"
)

ifmember "my.home\Purchasing_Group"
if errorlevel 1 (
net use x: "\\home-am\Public\Purchasing"
)

ifmember "my.home\Sales_Group"
if errorlevel 1 (
net use y: "\\home-am\Public\Sales"
)
 
Well, how do you have this setup?

I'm assuming you have a separate OU for each department and then a group policy for each OU.

And you said it worked with using an XP client and using the profile tab? When you switched to Win7 did you try just using the profile tab? Just to see if it works.
 
Back
Top