Avatar of whoam
whoam
 asked on

Setting Some PC's outside the Logon Warnign Banner

I have a group of machines I need to log on with a local account automatically (windows XP, 2003 domain).  I've used TweakUI to set auto logon, but the logon warning banner holds this up until you click OK then all is good.  My thought is to create a new OU for them, but I don't see a way to disable the banner.  When I block inheritance, I still get the banner after a gpupdate.
Active DirectoryWindows XP

Avatar of undefined
Last Comment
whoam

8/22/2022 - Mon
RemcovC

You have to clear the following 2 registry settings on the local machine:
HKLM\Software\Microsoft\Windows NT\Currentversion\Winlogon
- LegalNoticeCaption
- LegalNoticeText

You can do this by policy, but I think its easier to do it manually
Mike Kline

On one of those machines go into the registry and look for:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon


LegalNoticeCaption
LegalNoticeText
Delete those two and see if you are then good to go.
Why do you want to login automatically?
Thanks
Mike

whoam

ASKER
I'll certainly try the above, but concerned that GP will set it back.  Hey, we can always try!  

Auto login to run monitoring software.  Why not a service?  Ask the developer!
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Mike Kline

If you have block inheritance on I don't think it should....but haven't tested this exact scenario so I'm not 100% sure.
Thanks
 
Mike
Akhater

The "easy" way to do it the following

- Put all these computers in the same OU
- On this OU block Group Policy Inheritance
- Go to each computer delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\LegalNoticeCaption & LegalNoticeText or better setup a startup script to delete them for you

Done.
Akhater

Create the following reg and batch files and assign the batch file as startup script to delete our keys automaticlaly

----------------start reg file ------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon]
"LegalNoticeCaption"=-
"LegalNoticeText"=-
 
----------------end reg file ------------------
 
----------------start bat file ------------------
regedit /s \\servername\regfile.reg
 
----------------end bat file ------------------

Open in new window

⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
whoam

ASKER
Okay, I've blocked inherritence, deleted the registry keys and it works.  Until I gpupdate then it's all back.
Akhater

how can it be back if blocked inheritance ?

did you restart you computer 2 times for it to know it has changed OUs?
at what level do you have the policy that enables the warning applied ?
is this policy set to "ENFORCE" ??
on one of these clients issue a gpresult is the policy still showing ? is it showing in the new OU ?
Mike Kline

i'm going to try and test this out this weekend, now I'm intrigued.  Can't test at work.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Akhater

mike my best guess is that the computers haven't picked up their new OU yet
Mike Kline

yeah it is odd why its coming back, just want to see for myself.  That is not what I was expecting at all.  
whoam

ASKER
I have rechecked the inherritence, the Def GPO is not enforced.  I ran a group policy results query to make sure it wasn't coming from somewhere else.  The results wizard actually sees no setting for the message.  

Many hours later, I have retried the reg hack.  Same things, works great 'til the GP refreshes.

PC is in proper OU clear as day.

I'm wondering if the default get special treatment.

Thanks
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Akhater

You have not answered the following questions

1) did you restart you computer 2 times for it to know it has changed OUs?
2) at what level do you have the policy that enables the warning applied ?
    I understood from the previous post that you did it on the default domain policy am i right ?
3) on one of these clients issue a gpresult is the policy still showing ? is it showing in the new OU ?
whoam

ASKER
I have restarted it 3X, deleting the reg keys each time.  Always works til gp updates

warning is part of default domain, applied at domain root

gpresult shows no default GPO and shows proper OU membership
Akhater

well if GPResult shows no default GPO means the warning is coming from somewhere else.

why don't you try to install gpmc.msi and run a GP modeling on one of these computers and check what, in theory, its settings should be
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
whoam

ASKER
Akhater,

Here you go, if you'd like to see other settings, let me know.

M
gpresult.JPG
Akhater

This is a GP Result of one of the computers with problem ??????

I had in mind a GP Modeling, however it clearly shows that that computer has no policy applied to enfor the warning banner !!!!

Are you facing this problem with many computers or just one ?

can you check the local policy on the computer itself ?
whoam

ASKER
Yes, it is of the affected machine.  This is the 1st machine we are tring, so we only have one affected machine.  I checked the local policy and nothing there.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
whoam

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.