[THIN] Re: ifmember and Usrlogon.cmd

  • From: "Matthew Shrewsbury" <MShrewsbury@xxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Mon, 6 Jun 2005 10:55:16 -0400

It should be setup in such a way that it is replicated to all DCs using
the File Replication Service (netlogon is replicated to all DCs in the
domain). Then if you make a change it is replicated to all other domain
controllers.

Matthew Shrewsbury, MCSE+Internet MCSE 2000 CCA Server+
Senior Network Administrator

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Jeff Pitsch
Sent: Monday, June 06, 2005 10:50 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: ifmember and Usrlogon.cmd

I'd put scripts like that in AD or somewhere else that's central. 
Otherwise, everytime you need to change it, you're changing it in
multiple places.

Jeff Pitsch

On 6/6/05, Matthew Shrewsbury <MShrewsbury@xxxxxxxxxxxxxxx> wrote:
> Kix is easier I think, but personally I'd use WSH Javascript.
> 
> Here is a simple kix example.
> 
> IF INGROUP ("domain users")
>  USE G: /DEL
>  USE G: "\\Server\Share"
> ENDIF
> 
> Matthew Shrewsbury, MCSE+Internet MCSE 2000 CCA Server+
> Senior Network Administrator
> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
> Behalf Of msemon@xxxxxxx
> Sent: Monday, June 06, 2005 10:42 AM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] ifmember and Usrlogon.cmd
> 
> Trying to remember the syntax to map a bunch of groups with
ifmember.exe
> in Usrlogon.cmd file. So far I have something like this:
> 
> 
> echo off
> 
> ifmember hr
> if errorlevel 1 goto hr
> 
> ifmember marketing
> if errorlevel 1 goto marketing
> 
> ifmember administrators
> if errorlevel 1 goto administrators
> 
> goto end
> 
> :hr
> net use M: \\server1\hr_share$
> goto end
> 
> :marketing
> net use N: \\server1\marketing_share$
> goto end
> 
> :administrators
> net use O: \\server1\admin_share$
> goto end
> 
> :end
> Exit
> 
> Anyone have a better way of doing this?
> 
> Thanks,
> 
> Mike
> 
> 
> 
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> 
> 
> ********************************************************
> This Weeks Sponsor: ThinPrint GmbH
> Now available: The new version .print Engine 6.2 with SSL encryption
> and certificate management.
> http://www.thinprint.com
> **********************************************************
> Useful Thin Client Computing Links are available at:
> http://thin.net/links.cfm
> ThinWiki community - Excellent SBC Search Capabilities!
> http://www.thinwiki.com
> ***********************************************************
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:
> http://thin.net/citrixlist.cfm
> ********************************************************
> This Weeks Sponsor: ThinPrint GmbH
> Now available: The new version .print Engine 6.2 with SSL encryption
> and certificate management.
> http://www.thinprint.com
> **********************************************************
> Useful Thin Client Computing Links are available at:
> http://thin.net/links.cfm
> ThinWiki community - Excellent SBC Search Capabilities!
> http://www.thinwiki.com
> ***********************************************************
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:
> http://thin.net/citrixlist.cfm
>
********************************************************
This Weeks Sponsor: ThinPrint GmbH
Now available: The new version .print Engine 6.2 with SSL encryption 
and certificate management.
http://www.thinprint.com
********************************************************** 
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm
********************************************************
This Weeks Sponsor: ThinPrint GmbH
Now available: The new version .print Engine 6.2 with SSL encryption
and certificate management.
http://www.thinprint.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: