#113126 - 2004-02-03 08:55 AM
about mapping & Copy problem....
|
Miels
Fresh Scripter
Registered: 2003-05-28
Posts: 6
Loc: Taipei
|
I have two questions. 1.please see my Script
; Sets the Login script as hidden. SetConsole("hide") ; Determines the OS type to either Server or Workstation $OSType = Checkversion()
If InGroup ("Domain Users") Use S: "\\TPE-APP04\Clipart$" Use M: "\\TPE-APP02\Share_M$" Use Q: "\\TPE-APP04\Template$" Use I: "\\TPE-FPS01\Common$" Use F: @HOMESHR EndIf
If InGroup( "MXTAIW") Use G: "\\TPE-FPS01\MX_Client$" Use P: "\\TPE-APP02\MX_Public$" Use J: "\\TPE-APP04\MX_AC$" Use O: "\\TPE-APP02\MX$" Use K: "\\TPE-APP02\MX_Program$" Use T: "\\TPE-APP04\AcNielsen$" Use H: "\\TPE-APP04\RainMaker$" Endif
If InGroup( "MSTAIW") Use G: "\\TPE-FPS01\MS_Client$" Use P: "\\TPE-APP02\MS_Public$" Use J: "\\TPE-APP04\AC_Buying$" Use K: "\\TPE-APP02\Program$" Use T: "\\TPE-APP04\AcNielsen$" Use H: "\\TPE-APP04\RainMaker$" Use O: "\\TPE-APP02\MS$" Endif
If InGroup( "CITAIW") Use G: "\\TPE-FPS01\CI_Client$" Use P: "\\TPE-APP02\CI_Public$" Use K: "\\TPE-APP02\Program$" Endif
If InGroup("IT") Use P: /DEL Use P: "\\TPE-APP02\Public$" Use X: "\\TPE-FPS01\FPS01_C$" Use W: "\\TPE-FPS01\FPS01_D$" EndIf
If InGroup("Results") Use J: /DEL Use J: "\\TPE-APP04\AC_OM$" EndIF
If InGroup("JWT") Use J: /DEL Use J: "\\TPE-APP04\AC_JWT$" EndIF
If InGroup("MCI") Use J: /DEL Use J: "\\TPE-APP04\AC_Buying$" EndIF
If InGroup("OM") Use J: /DEL Use J: "\\TPE-APP04\AC_OM$" EndIF
If InGroup ("MCI" Or "MDigital" ) Use T: "\\TPE-APP04\AcNielsen$" EndIf
Select Case InGroup("TeamB") Use O: /DEL Use O: "\\TPE-APP02\TeamB$" Case InGroup("TeamC") Use O: /DEL Use O: "\\TPE-APP02\TeamC$" Case InGroup("TeamD") Use O: /DEL Use O: "\\TPE-APP02\TeamD$" Case InGroup("MCI") Use O: /DEL Use O: "\\TPE-APP02\MCI$" Case InGroup("Mdigital") Use O: /DEL Use O: "\\TPE-APP02\Mdigital$" Case InGroup("MIM") Use O: /DEL Use O: "\\TPE-APP02\MIM$" Case InGroup("TeamA") Use O: /DEL Use O: "\\TPE-APP02\TeamA$" EndSelect
If InGroup("Domain Users") Run "cscript \\TPE-DCS01\NETLOGON\vbs\L_N_B_ID.vbs" Run "cscript \\TPE-DCS01\NETLOGON\vbs\GetDrive.vbs" EndIF
My Question is some users say they can't get the O driver in the Explorer,but when I manual to map this driver that exist already in the Explorer but it doesn't show out in the windows. please let me know what can I do?
2.how do I revise the executive person when users logon the server?
|
|
Top
|
|
|
|
#113129 - 2004-02-04 11:47 AM
Re: about mapping & Copy problem....
|
Miels
Fresh Scripter
Registered: 2003-05-28
Posts: 6
Loc: Taipei
|
Can You let me know that how to change the end user's rights that has copy rights as same as administrator at the end user's PC. if they are "Power Users".
|
|
Top
|
|
|
|
#113130 - 2004-02-04 11:48 AM
Re: about mapping & Copy problem....
|
Miels
Fresh Scripter
Registered: 2003-05-28
Posts: 6
Loc: Taipei
|
Quote:
quick fix would be to add /persistent switch to drive dismapping.
TKS for your help. I will try it.
|
|
Top
|
|
|
|
#113131 - 2004-02-04 02:12 PM
Re: about mapping & Copy problem....
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Look in the FAQ Section of this site. There is a post that covers this very question about Admin Access.
Kent
|
|
Top
|
|
|
|
#113132 - 2004-02-06 04:08 AM
Re: about mapping & Copy problem....
|
Miels
Fresh Scripter
Registered: 2003-05-28
Posts: 6
Loc: Taipei
|
Quote:
Look in the FAQ Section of this site. There is a post that covers this very question about Admin Access.
I Find the post Installing an Application as an Admin ,but the link is all death at this post.
|
|
Top
|
|
|
|
#113134 - 2004-02-06 07:31 AM
Re: about mapping & Copy problem....
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Thank you for the update. I have corrected the links.
Kent
|
|
Top
|
|
|
|
#113135 - 2004-02-23 09:22 AM
Re: about mapping & Copy problem....
|
Miels
Fresh Scripter
Registered: 2003-05-28
Posts: 6
Loc: Taipei
|
Quote:
quick fix would be to add /persistent switch to drive dismapping.
I use this "/persistent" commend at my Script but it doesn't work. please let me know how to fix it?
|
|
Top
|
|
|
|
#113136 - 2004-02-23 10:09 AM
Re: about mapping & Copy problem....
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Hmm..
Try this - Code:
; Sets the Login script as hidden. SetConsole("hide") ; Determines the OS type to either Server or Workstation $ostype = Checkversion()
IF InGroup ("Domain Users") USE S: "\\TPE-APP04\Clipart$" USE M: "\\TPE-APP02\Share_M$" USE Q: "\\TPE-APP04\Template$" USE I: "\\TPE-FPS01\Common$" USE F: @homeshr ENDIF IF InGroup("MXTAIW") USE G: "\\TPE-FPS01\MX_Client$" USE P: "\\TPE-APP02\MX_Public$" USE J: "\\TPE-APP04\MX_AC$" USE O: "\\TPE-APP02\MX$" USE K: "\\TPE-APP02\MX_Program$" USE T: "\\TPE-APP04\AcNielsen$" USE H: "\\TPE-APP04\RainMaker$" ENDIF IF InGroup("MSTAIW") USE G: "\\TPE-FPS01\MS_Client$" USE P: "\\TPE-APP02\MS_Public$" USE J: "\\TPE-APP04\AC_Buying$" USE K: "\\TPE-APP02\Program$" USE T: "\\TPE-APP04\AcNielsen$" USE H: "\\TPE-APP04\RainMaker$" USE O: "\\TPE-APP02\MS$" ENDIF IF InGroup("CITAIW") USE G: "\\TPE-FPS01\CI_Client$" USE P: "\\TPE-APP02\CI_Public$" USE K: "\\TPE-APP02\Program$" ENDIF IF InGroup("IT") USE P: /DELETE /PERSISTENT USE P: "\\TPE-APP02\Public$" USE X: "\\TPE-FPS01\FPS01_C$" USE W: "\\TPE-FPS01\FPS01_D$" ENDIF IF InGroup("Results") USE J: /DELETE /PERSISTENT USE J: "\\TPE-APP04\AC_OM$" ENDIF IF InGroup("JWT") USE J: /DELETE /PERSISTENT USE J: "\\TPE-APP04\AC_JWT$" ENDIF IF InGroup("MCI") USE J: /DELETE /PERSISTENT USE J: "\\TPE-APP04\AC_Buying$" ENDIF IF InGroup("OM") USE J: /DELETE /PERSISTENT USE J: "\\TPE-APP04\AC_OM$" ENDIF IF InGroup ("MCI","MDigital") ; - Note the correction USE T: "\\TPE-APP04\AcNielsen$" ENDIF SELECT CASE InGroup("TeamB") USE O: /DELETE /PERSISTENT USE O: "\\TPE-APP02\TeamB$" CASE InGroup("TeamC") USE O: /DELETE /PERSISTENT USE O: "\\TPE-APP02\TeamC$" CASE InGroup("TeamD") USE O: /DELETE /PERSISTENT USE O: "\\TPE-APP02\TeamD$" CASE InGroup("MCI") USE O: /DELETE /PERSISTENT USE O: "\\TPE-APP02\MCI$" CASE InGroup("Mdigital") USE O: /DELETE /PERSISTENT USE O: "\\TPE-APP02\Mdigital$" CASE InGroup("MIM") USE O: /DELETE /PERSISTENT USE O: "\\TPE-APP02\MIM$" CASE InGroup("TeamA") USE O: /DELETE /PERSISTENT USE O: "\\TPE-APP02\TeamA$" ENDSELECT
IF InGroup("Domain Users") RUN "cscript \\TPE-DCS01\NETLOGON\vbs\L_N_B_ID.vbs" RUN "cscript \\TPE-DCS01\NETLOGON\vbs\GetDrive.vbs" ENDIF
HTH,
Kent
|
|
Top
|
|
|
|
#113137 - 2004-03-22 10:52 AM
Re: about mapping & Copy problem....
|
Miels
Fresh Scripter
Registered: 2003-05-28
Posts: 6
Loc: Taipei
|
Sorry I have trying your suggest, but it don't work.  it only del the O Drive. SO what can I do?
|
|
Top
|
|
|
|
#113138 - 2004-03-22 02:24 PM
Re: about mapping & Copy problem....
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
If the Executive person logs in, which groups are they are member of?
Otherwise, you do a USE "*" /DELETE /PERSISTENT ..
Kent
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1077 anonymous users online.
|
|
|