Re: RDP logn script override?
- From: "Örjan Johansson" <johanssonorjan@xxxxxxxxxxxxxxxx>
- Date: Tue, 11 Oct 2005 21:08:32 GMT
Well, I'm guessing you want to change the user account settings as opposed
to the computer settings? When you set the policy on the computer, you're
setting if the computer will allow a roaming user's profile to be downloaded
to that specific computer or not, and I'm sensing you wish the users to no
longer use roaming profiles? In that case, you need to modify the user
properties, and that's a BIG chapter! :-)
Basically, my advice would be: if you need to work with a huge amount of
users, use the command ldifde to export a list of the users, create a
'modify file' based on the export file, and then import it back to AD. If
you're working with only a few users, you can actually modify several users
properties at once in 'Active Directory Users and Computers': select a bunch
of users, right click and choose properties, click the profile tab and make
sure the user profile field i empty - yhat SHOULD do it.
To learn how to use 'ldifde', I would recommend a good site for a bunch of
AD tasks (and scripting as well: www.computerperformance.co.uk, and for
ldifde specifically:
http://www.computerperformance.co.uk/Logon/CSVDE_LDIFDE.htm
HTH,
Örjan
"Getting There" <GettingThere@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B91027CF-57F5-42EF-AED3-32B86BC847F6@xxxxxxxxxxxxxxxx
> not at all, yesterday I did know what an OU was. It incredible how much
> you
> can learn in one day when you need to.
>
> your explination is mush clearer though, thank you
>
> whilst doing the task it got me thinking about another problem which I
> have
> posted but i thought you may be able to help?
>
> how to automate the change that you can do to peoples profiles: swapping
> them from roaming to
> local.
>
> For example: in system if you click the user profile tab you can change
> the
> type to local from roaming for the domain users
>
> What I need to do is, maybe in group policies automate this for all domain
> user instead of doing one by one.
>
> reason their taking for every to load across the link
>
> I've tried console root>local computer policy>computer
> configuration>Administrative template>system>user profile
>
> and then clicking on 'only allow local user profiles'
>
> but this block my users logon scripts - which is no good
>
> any ideas?
>
>
> "Örjan Johansson" wrote:
>
>> Yes, this is set through Group Policy. I'll try to explain it a little
>> more
>> clearly, I often tend to ramble incoherently... :-)
>>
>> * In Active Directory Users and Computers, creat an OU - let's call it
>> 'TermServers', and put your RDP boxes in this OU.
>>
>> * Create a Group Policy Object for this OU and set the Loopback option to
>> replace (Computer Configuration - Administrative Templates - System -
>> Group
>> Policy), and then add the logon script you want to apply to the users
>> only
>> when they log on to an RDP box (User Configuration - Windows Settings -
>> Scripts - Logon.)
>>
>> What this does is apply a different logon script when the users log on to
>> an
>> RDP box, and doesn't interfere with whatever script runs for the users
>> when
>> they log on to their regular worksatations.
>>
>> HTH,
>> Örjan
>>
>> "Getting There" <GettingThere@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:22D9C8D1-9913-4E46-B5C2-BB442CFF38C9@xxxxxxxxxxxxxxxx
>> > is this set on the local RDP box or in active directory .. Sorry but
>> > i'm
>> > almost understanding but its still a little unclear. Could you explain
>> > the
>> > process a little more.
>> >
>> > Thanks
>> >
>> > OSL
>> >
>> > "Örjan Johansson" wrote:
>> >
>> >> Are the logon scripts assigned via Group Policy? In that case: collect
>> >> the
>> >> RDP boxes in a separate OU, and apply a GPO to that OU. In the GPO,
>> >> under
>> >> Computer Configuration - Administrative Templates - System - Group
>> >> Policy,
>> >> find User Group Policy Loopback Processing Mode and set this to
>> >> replace.
>> >>
>> >> What this does is make sure that, whatever user policy is applied to a
>> >> certain user when he or she logs on to his or her usual machine, is
>> >> replaced
>> >> by this specific policy when the user logs on to the RDP box - i.e.
>> >> the
>> >> user
>> >> settings applied to the machine is what counts. So, when you've done
>> >> this,
>> >> set up the proper logon script, assigning the correct shares, under
>> >> User
>> >> Configuration - Windows Settings - Scripts. This way, this particular
>> >> script
>> >> runs for the user when logging on to the RDP box.
>> >>
>> >> HTH,
>> >> Örjan
>> >>
>> >> "Getting There" <GettingThere@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
>> >> message
>> >> news:A920CD8C-DAB2-49FD-8868-D7F9F03EDB46@xxxxxxxxxxxxxxxx
>> >> > Firstly greetings everyone,
>> >> >
>> >> > I've got a slight problem:
>> >> >
>> >> > scenario:
>> >> >
>> >> > I've got 2 sites using 1 SBS box for logon authentication rights to
>> >> > the
>> >> > domain.
>> >> >
>> >> > 1 site has 1 set of scripts allowing them to access the drives in
>> >> > their
>> >> > building and the same for the users in the other building.
>> >> >
>> >> > My problem is that when the users logon to the RDP boxes I have
>> >> > setup
>> >> > for
>> >> > them to access data in the opposite site they take their logon scrip
>> >> > with
>> >> > them which of cause scripts the completely inappropriate drives.
>> >> >
>> >> > has anyone found a solution for this problem?
>> >> >
>> >> > thank you in advance
>> >> >
>> >> > OSL
>> >> >
>> >> >
>> >>
>> >>
>> >>
>>
>>
>>
.
- References:
- Re: RDP logn script override?
- From: Örjan Johansson
- Re: RDP logn script override?
- From: Örjan Johansson
- Re: RDP logn script override?
- Prev by Date: Re: extracting text from a .htm document
- Next by Date: Re: Automate IE Checkbox
- Previous by thread: Re: RDP logn script override?
- Next by thread: Re: RDP logn script override?
- Index(es):
Relevant Pages
|