Heh, I was being fascisous :) -----Original Message----- From: Kurt Buff [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 12:17 PM To: NT System Admin Issues Subject: Re: Scripted AD Redirected Profile Change
If they're smart users, the $ to hide the share is meaningless - there are tools that will display them anyway, especially for Mac and *nix. On Wed, Aug 6, 2008 at 10:29 AM, Joseph L. Casale <[EMAIL PROTECTED]> wrote: > Nice find, thanks! > I'd rather not make it non hidden, we have all the smart users J > > > > I'll try something with script vars maybe... > > > > jlc > > > > From: Miller Bonnie L. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2008 11:19 AM > To: NT System Admin Issues > Subject: RE: Scripted AD Redirected Profile Change > > > > Ah... okay, so I see now, and it looks like dsmod might have trouble with the > $ on the end of the hidden share. If you take that out, it works--others > have reported this problem as well. I noticed if you put a $ anywhere > before $username$, it just doesn't resolve, almost as if $username$ is the > only thing the command expects when it sees the $ symbol. If you put > $username$ first, the name resolves successfully. > > > > http://www.petri.co.il/forums/showthread.php?t=4689 > > > > http://forums.techarena.in/active-directory/548004.htm > > > > Since you're changing them all anyway, could you load up ABE and make a > non-hidden sharename? > > > > -Bonnie > > > > From: Joseph L. Casale [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2008 9:11 AM > To: NT System Admin Issues > Subject: RE: Scripted AD Redirected Profile Change > > > > Not according to the docs, plus that would cause the shell to sub in > possibly "my" username... > jlc > > > > From: Miller Bonnie L. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2008 10:03 AM > To: NT System Admin Issues > Subject: RE: Scripted AD Redirected Profile Change > > > > Shouldn't that be %username% > > > > ? > > > > -Bonnie > > > > From: Joseph L. Casale [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2008 8:22 AM > To: NT System Admin Issues > Subject: RE: Scripted AD Redirected Profile Change > > > > Hrm, so in reading, $username$ is supposedly expanded (Though I was > skeptical) and it didn't? > > I ran: > > dsquery user -name Ros* "OU=Domain Users,OU=xxx,DC=xxx,DC=local" | dsmod > user -profile \\xxx\Profiles$\$username$ > > > > And the path was written as it was typed? > > > > Anyone know how to make this wildcard expand? > > > > Thanks! > jlc > > > > From: Carl Houseman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2008 6:11 PM > To: NT System Admin Issues > Subject: RE: Scripted AD Redirected Profile Change > > > > You have it right, there were both apples and oranges in the discussion, and > DSMOD USER applies to the apples but not the oranges. You figured out the > oranges on your own (GPO for redirected folders). > > > > ADModify also applies to the apples problem, gives a nice GUI to mass modify > almost anything in AD user accounts. > > > > Carl > > > > From: Joseph L. Casale [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2008 8:02 PM > To: NT System Admin Issues > Subject: RE: Scripted AD Redirected Profile Change > > > > Redirected folders can be done via gpo, but I didn't know roaming profiles > could be? > That's what I am changing, the associated paths for the profile which that > tool does. > > > > Thanks guys! > jlc > > > > From: Carl Houseman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2008 5:29 PM > To: NT System Admin Issues > Subject: RE: Scripted AD Redirected Profile Change > > > > 'dsmod user' changes AD attributes for a user account. > > > > OP seems to want to change items in a roaming profile that is presently > resident in a server share. Presumably he wants to make changes to the > profile's user registry or other content in the stored profile, such that > those changes will take effect the next time the user logs in. > > > > I think you're looking at login script or a GPO for those things are are > GPO'able. > > > > The next question is, what kind of changes are you trying to make? Have you > checked to see if they're already controllable by an existing GPO? > > > > Carl > > > > From: Damien Solodow [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2008 4:57 PM > To: NT System Admin Issues > Subject: RE: Scripted AD Redirected Profile Change > > > > You can definitely do that with dsmod. Run 'dsmod user /? |more' for more > info > > > > From: Joseph L. Casale [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2008 4:54 PM > To: NT System Admin Issues > Subject: RE: Scripted AD Redirected Profile Change > > > > Thanks for all the quick responses! > Sorry, I meant the users Roaming Profile. > > > > jlc > > > > > > From: Michael B. Smith [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2008 2:38 PM > To: NT System Admin Issues > Subject: RE: Scripted AD Redirected Profile Change > > > > Such as what, specifically? > > > > Regards, > > > > Michael B. Smith > > MCITP:SA,EMA/MCSE/Exchange MVP > > http://TheEssentialExchange.com > > > > From: Joseph L. Casale [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2008 4:33 PM > To: NT System Admin Issues > Subject: Scripted AD Redirected Profile Change > > > > I have a slew of redirected profile changes to make. I was hoping to > obviously script this. > > Anyone got a pointer to a doc or anything they could share? > > > > I don't want to be here late tonight, again! <grin> > > > > Thanks, > jlc > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~ ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~
