Re: Getting desperate: GPO applying incorrectly, PLEASE HELP ME!!

From: Gregg Hill (bogus_at_nowhere.com)
Date: 11/15/04


Date: Mon, 15 Nov 2004 10:35:18 -0800

Roger,

Thanks for the help. By "restricted GPO" I meant that it is the one that has
all the settings for lockdown in it. It is not restricted in that user
permissions have been changed: they are still the default permissions, with
the exception of placing the TS machine account into the security settings
per 260370.

I think you are on to something with the linking of the GPO. I just set
everything up per the articles mentioned and it has the GPO linked to the
"Terminal Servers" OU and to "mydomainname.local" when viewed in the Group
Policy Management Console. I am using SBS 2003 at home with a test 2000TS,
but the other sites I was trying to set up are plain 2003 DC with 2000TS.
I'll check them later today.

Should I take it that the link to "mydomainname.local" is the cause of the
problem?

Gregg Hill

"Roger Abell" <mvpNOSpam@asu.edu> wrote in message
news:uLQohDuyEHA.804@TK2MSFTNGP12.phx.gbl...
> Hi Gregg,
>
> No, I do not have a GP book I most value to recommend.
> At any rate, I am not likely familiar with all of them (few
> as they are).
>
> You bring up many things.
> When it say loopback is only for a purely W2k environment
> what it means is that the machines involved cannot be pre-W2k
> and that the user accounts cannot be coming from a trusted NT4
> domain.
> When it cautioned you that the machine objects must be in the
> OU to which the loopback GPO is linked, it was not referring
> to the workstations used when connecting to the TS server, but
> it was meaning all machine logging into which should cause the
> user settings to be dominated by the loopback processing need
> to be in the OU.
> So, you have a new OU and a new GPO linked to it, and in this
> OU you placed the TS server, and you set loopback on in replace
> mode in the linked GPO. Good. I noticed that you referred to
> this GPO as a "restricted GPO" and I am not certain what you
> intended by that "restricted". By default, a GPO will be set to
> apply to all accounts via the Authenticated Users group, which
> will include the TS server itself and all domain users that might
> log into it. Notice that the setting to turn on loopback processing
> is in the computer tree of policy settings. So, in normal course of
> events, computer policies are applied to computers objects contained
> in the OU where a GPO is linked. When this happens on your new
> OU the loopback setting is seen. This in turn causes it to enable use
> of the users tree of policy settings (in merge or replace mode as has
> been selected) whenever there is a user account login session with
> the machine. If you have altered the security filtering of the GPO,
> so that it no longer has read and apply for Authenticated Users, then
> you need to grant read and apply for the TS machine and for all user
> accounts that should have the loopback settings applied to them.
>
> If you are finding that the settings you make in the user policy tree
> of the loopback GPO are being applied to users no matter where
> they log in, then check and make sure that the loopback GPO is
> linked only to your new TS containing OU. For example, if it is
> also linked to the domain object then one will see the settings
> always being applied for all logins at any machine.
>
> --
> Roger Abell
> Microsoft MVP (Windows Server System: Security)
> MCSE (W2k3,W2k,Nt4) MCDBA
> "Gregg Hill" <bogus@nowhere.com> wrote in message
> news:%23RX5nWsyEHA.3844@TK2MSFTNGP12.phx.gbl...
>> Thank you for helping a desperate soul!
>>
>> If I understand your suggestions, that is what I have set up already. Let
> me
>> try to clarify if what you are suggesting is the same as what I have, or
> if
>> I misunderstand something here (the more likely scenario!). I am barely
>> familiar with group policies, so please bear with me.
>>
>> First of all, my assumption is that all of the OU and GPO setup is done
>> on
>> the 2003 domain controller and not on the TS itself, including any
> loopback
>> settings. Also, roaming profiles are not being used.
>>
>> Container 1:
>> When you say Container 1, would that be equal to the new OU that I
>> created
>> and named "Terminal Server OU"? I think we are talking about the same
> thing.
>> If so, then I think I have the first half of your step 1 done, since I
> used
>> ethod 1 from "How to Apply Group Policy Objects to Terminal Services
>> Servers" http://support.microsoft.com/?kbid=260370 to set up the new OU
> with
>> the terminal server as the only thing in it, then set up a new restricted
>> GPO, named "Terminal Server Policy", under that new OU.
>>
>> For the second half of your step 1, I used 260370's Method 2 link to
>> http://support.microsoft.com/?id=231287 to set up loopback processing on
> the
>> "Terminal Server Policy" GPO that is linked to the "Terminal Server OU" I
>> had created. I used Replace mode. The way that article 260370 is written,
> it
>> almost sounds if I am supposed to use one or the other method, but not
> both
>> at the same time, although I did use both methods, since everyone else
>> recommended it.
>>
>> I don't think I understand exactly where the loopback is supposed to be
>> applied. When I first read the article, I thought I should apply the
>> loopback to the "Terminal Server Policy" GPO that I created under my new
>> "Terminal Server OU." Now I am not sure if that is correct.
>>
>> What does article 231287 mean by "Loopback is supported only in a purely
>> Windows 2000 based environment"? Does that mean it cannot have NT in the
>> picture as it seems to say, or that this method will not work with a mix
> of
>> 2003DC, 2000TS, and XP workstations, either?
>>
>> Article 231287 says that "If this policy is enabled, the location of a
>> users's computer object is the main factor in determining which set of
> Group
>> Policy objects are to be applied." The only GPO to which loopback is
> applied
>> is the Terminal Server Policy inside the Terminal Server OU. Something is
>> overriding this setting and applying it to all users who log into any
>> machine.
>>
>> When you say "Container 1 - this OU contains the Terminal Server computer
>> account, and the Group policy for the Terminal Server with local loopback
>> turned on", it sounds as though you used both Method 1 and Method 2 in
>> article 260370 noted above. Is that correct?
>>
>> Container 2:
>> All the workstations are under the Computers container. The terminal
> server
>> was under there when it joined the domain, but has been moved per 260370
> to
>> the newly created "Terminal Server OU" item. I think that takes care of
> step
>> two. The machine account of the terminal server has been added to the
>> security properties of the GPO that I created with Apply Group Policy and
>> Read permissions set.
>>
>> Container 3:
>> I have not changed anything, so I assume this container is the default
> Users
>> container.
>>
>> Final analysis: you said that "So, when a user account in container3 logs
>> into workstation that's in container2, there would be no way the Group
>> Policy for term server would be applied", yet that is precisely what is
>> happening. I have done this in three different test domains and it always
>> happens the same way.
>>
>> I have to be missing something!
>>
>> Gregg Hill
>>
>>
>>
>> <harrykrishna.nospam@online.ie> wrote in message
>> news:2f6fp0l78s8gtqbe0o936t9klssmnfbk6g@4ax.com...
>> > Please excuse me if I missed something, but here's essentially what
>> > you should have:
>> >
>> > Container1 - this OU contains the Terminal Server computer account,
>> > and the Group policy for the Terminal Server with local loopback
>> > turned on.
>> >
>> > Container2 - this would contain the various workstation accounts,
>> > including the workstation account for the machine that will be
>> > connecting to the term server
>> >
>> > Container3 - user accounts, including the user account used to connect
>> > to the term server.
>> >
>> > Note that only container1 need be the way I described it. Just make
>> > sure that any workstations you do NOT want to have the Group Policy
>> > apply to are NOT in this container. )Also don't have user accounts
>> > explicitly live there either).
>> >
>> > So, when a user account in container3 logs into workstation that's in
>> > container2, there would be no way the Group Policy for term server
>> > would be applied. However, once logged in, the same user, connecting
>> > from the same workstation, would have the term serv Group Policy
>> > applied to them when logging on the term server.
>> >
>> > Hope this helps, but if it just muddies the waters, please forgive!
>> >
>> >
>> >
>> >
>> > "Gregg Hill" <bogus@nowhere.com> wrote:
>> >
>> >>Roger,
>> >>
>> >>Can you recommend a book that goes into depth about securing Terminal
>> >>Server? What about a good book for AD and GPO stuff?
>> >>
>> >>Thanks again!
>> >>
>> >>Gregg Hill
>> >>
>> >>
>> >>"Roger Abell [MVP]" <mvpNoSpam@asu.edu> wrote in message
>> >>news:%2311efThyEHA.3624@TK2MSFTNGP09.phx.gbl...
>> >>> Hi Gregg
>> >>>
>> >>> To get different user policies applied to an account when
>> >>> it logs into a TS session as compared to when the account
>> >>> is used for a direct workstation login, you need to have the
>> >>> TS server(s) in an OU to which you have linked a GPO that
>> >>> is set to do loopback processings and that carries the user
>> >>> policies to be used for a TS login session.
>> >>> http://support.microsoft.com/?id=231287
>> >>>
>> >>> --
>> >>> Roger Abell
>> >>> Microsoft MVP (Windows Server System: Security)
>> >>> MCDBA, MCSE W2k3+W2k+Nt4
>> >>> "Gregg Hill" <bogus@nowhere.com> wrote in message
>> >>> news:uLP5N1JyEHA.3416@TK2MSFTNGP09.phx.gbl...
>> >>>> OK, I have Googled for HOURS over a period of about a week and read
>> >>>> every
>> >>>> article I can find on getting a GPO to apply ONLY to a Terminal
> Server
>> >>>> login and not any other computer on this planet. Basically, my
> problem
>> >>>> is
>> >>>> that the GPO gets applied to a user logging into the local
> workstation
>> >>>> as
>> >>>> well as when the user logs into the Terminal Server.
>> >>>>
>> >>>> Here are the details. Sorry it is so long, but I wanted to make my
>> >>>> dilemma as clear as possible.
>> >>>>
>> >>>> If I cannot get this fixed by Saturday morning, I will have to call
>> >>>> Microsoft.
>> >>>>
>> >>>> ******************Start of previous message to other
>> >>>> newsgroups*******************
>> >>>> I originally posted this problem in the
>> >>>> microsoft.public.windowsnt.terminalserver.setup group. Vera Noest
>> >>>> has
>> >>>> been a TREMENDOUS help with other TS problems and pointed out some
>> >>>> of
>> >>>> the
>> >>>> articles noted here, but I have one major problem that I cannot get
>> >>>> past.
>> >>>>
>> >>>> I have a test setup running (Windows Server 2003 Standard as a
>> >>>> domain
>> >>>> controller and licensing server, 2000 TS member server, and two XP
> Pro
>> >>>> SP2 clients) to test group policies to secure a Windows 2000
>> >>>> Terminal
>> >>>> Server in a Windows Server 2003 domain. I have tried this setup with
>> >>>> two
>> >>>> different sets of servers (two complete test domains at different
>> >>>> locations).
>> >>>>
>> >>>> I used "How to Apply Group Policy Objects to Terminal Services
> Servers"
>> >>>> http://support.microsoft.com/?kbid=260370 and set up the new OU with
>> >>>> the
>> >>>> terminal server as the only thing in it, then set up the restricted
> GPO
>> >>>> under that new OU. That secured the TS, but every article I find
>> >>>> says
>> >>>> in
>> >>>> order to limit the restrictions to only the terminal server itself
> and
>> >>>> not to workstation logons, you must use loopback processing per
>> >>>> http://support.microsoft.com/default.aspx?scid=kb;en-us;231287.
>> >>>> Well,
> I
>> >>>> enabled loopback, put the machine account into the GPO as suggested
> by
>> >>>> Vera Noest and the last part of article 260370, but the policy still
>> >>>> gets
>> >>>> applied no matter where the test user logs in. In article 260370,
>> >>>> are
>> >>>> Method 1 and Method 2 exclusive of each other, or should I still use
>> >>>> loopback if I have Method 1 in place?
>> >>>>
>> >>>> Apparently, GPOs are getting applied differently than the MS
>> >>>> documentation suggests. I have read and applied the following
>> >>>> documents:
>> >>>>
>> >>>> 260370 - How to Apply Group Policy Objects to Terminal Services
> Servers
>> >>>> http://support.microsoft.com/?kbid=260370
>> >>>>
>> >>>> Loopback Processing of Group Policy
>> >>>> http://support.microsoft.com/default.aspx?scid=kb;en-us;231287
>> >>>>
>> >>>> 816100 - How To Prevent Domain Group Policies from Applying to
>> >>>> Administrator
>> >>>> Accounts and Selected Users in Windows Server 2003
>> >>>> http://support.microsoft.com/?kbid=816100
>> >>>> I applied this one to Domain Administrators and Enterprise
>> >>>> Administrators.
>> >>>>
>> >>>> 278295 - How to Lock Down a Windows 2000 Terminal Services Session
>> >>>> http://support.microsoft.com/?kbid=278295
>> >>>>
>> >>>> Locking Down Windows Server 2003 Terminal Server Sessions
>> >>>>
> http://www.microsoft.com/windowsserver2003/techinfo/overview/lockdown.mspx
>> >>>>
>> >>>> After setting up the new OU for the terminal server and setting up
> the
>> >>>> GPO, when I log onto either of my XP Pro workstations as the test
>> >>>> domain
>> >>>> user, the restricted GPO for the terminal server gets applied to my
>> >>>> local
>> >>>> workstation. It gets applied to the TS session as expected, but why
>> >>>> does
>> >>>> this policy get applied on my workstation when the ONLY thing in the
>> >>>> Terminal Server OU is the actual terminal server? I did not move
> users
>> >>>> into any new groups; they are still in the default locations.
>> >>>>
>> >>>> I started all over again by deleting the GPOs and OUs I had created.
> I
>> >>>> opened AD Users and Computers, created a new OU in the domain and
> named
>> >>>> it "Terminal Server." I moved the actual terminal server from the
>> >>>> Computers group to the new Terminal Server OU. I added a GPO under
> the
>> >>>> Terminal Server OU and named it Terminal Server Policy. In that
>> >>>> Terminal
>> >>>> Server Policy, I made only three changes to the policy so I could
> test
>> >>>> its application: 1) I enabled loopback processing, 2) I enabled
>> >>>> "Interactive logon: Do not display last user name" and 3) I disabled
>> >>>> the
>> >>>> Windows Installer under Computer Configuration, Admin Templates,
>> >>>> Windows
>> >>>> Components, Windows Installer.
>> >>>>
>> >>>> Now, if I try to install an MSI package on the 2003 server or on my
> XP
>> >>>> Pro workstations, it will not run and says that policies are
> preventing
>> >>>> it from running, and if I log off and back on again, the user name
>> >>>> is
>> >>>> blank, too.
>> >>>>
>> >>>> Why is a GPO that is under the newly created "Terminal Server" OU
> being
>> >>>> applied to the users on their XP workstations? I thought the whole
>> >>>> purpose of the separate OU for the terminal server was to restrict
>> >>>> application of the GPO within it to only the terminal server in the
>> >>>> Terminal Server OU.
>> >>>>
>> >>>> What am I doing wrong?
>> >>>>
>> >>>> Gregg Hill
>> >>>>
>> >>>
>> >>>
>> >>
>> >
>> >
>> > Ha®®y
>> >
>> > HarryKrishna.nospam@online.ie
>>
>>
>>
>
>



Relevant Pages

  • Re: GPO problems
    ... OK I understand Loopback, I don't think it will help. ... I have a Terminal Server user within his own seperate OU ... with his own GPO assigned to it. ... therefore no conflicting GPO settings. ...
    (microsoft.public.windows.group_policy)
  • Re: Getting desperate: GPO applying incorrectly, PLEASE HELP ME!!
    ... > the exception of placing the TS machine account into the security settings ... > I think you are on to something with the linking of the GPO. ... >> OU to which the loopback GPO is linked, ... >> OU you placed the TS server, and you set loopback on in replace ...
    (microsoft.public.windows.group_policy)
  • Re: Getting desperate: GPO applying incorrectly, PLEASE HELP ME!!
    ... GPO security settings from the defauts. ... Restart the workstation computer and the Terminal server, ... I've chosen these settings only because the affect is easy to observe. ... add check mark in the Deny column for Apply Group Policy ...
    (microsoft.public.windows.group_policy)
  • Re: laptops connect at work but not at home?
    ... > i'll try to disable the DNS-related settings in the GPO and see what ... machine joined to the NT4 domain exhibited this behavior after the NT4 ... But now that server runs W2K3, ... >> sub-OU under the OU with the GPO to get it to work. ...
    (microsoft.public.win2000.dns)
  • Re: Installation of XP SP2 prevents access to SBS 2K3 Exchange?
    ... re-install my server (among other things I managed to delete "my company ... What I've noticed the first time, was that a lot of settings on the client's ... >> shut down the firewall. ... I think that a new GPO has been created, ...
    (microsoft.public.windows.server.sbs)