Re: Registry settings management for 16 computers through Group Po



Dear Darren,

I ma still wating for your reply :)
Please see the following ADM templete that I have created:

-----------------------------------------------------------
#if version <= 2
#endif

CLASS MACHINE
CATEGORY !!AutoLogon

POLICY !!AutoLogonCfg
KEYNAME "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
#if version >= 4
SUPPORTED !!SUPPORTED_Window2000
#endif

#if version >= 3
EXPLAIN !!AutoLogonCfg_Help
#endif
VALUENAME "AutoAdminLogon"
VALUEON "1"
VALUEOFF "0"

PART !!DomainName EDITTEXT REQUIRED
VALUENAME "DefaultDomainName"
END PART

PART !!UserName EDITTEXT REQUIRED
VALUENAME "DefaultUserName"
END PART

PART !!Password EDITTEXT REQUIRED
VALUENAME "DefaultPassword"
END PART
END POLICY

END CATEGORY ;; AutoLogon

[strings]
testing="test policy"
AutoLogon="Automatic User logon"
SUPPORTED_Window2000="Windows 2000, XP "

AutoLogonCfg="Configure Automatic user logon"
AutoLogonCfg_Help="Specifies whether this computer will have default user
logon.\n\nThis setting lets you specify if automatic logon is enabled on this
computer. If the service is enabled, you must choose the Domain Name, the
User Name, and the Password.\n\n"

DomainName="Please enter your domain name: "
UserName="Please enter the user name: "
Password="Please enter the password: "
------------------------------------------------------

This ADM fiel is working fine. The problem now is that this is not a real
policy templete. It is changing the registry preferneces.

To be a real policy, the key needs to be located under Approved Registry Key
Locations for Group Policy Settings:
HKLM\Software\Policies
OR
HKLM\Software\Microsoft\WIndows\CurrentVersion\Policies

I tried changing the key name to the following key name (KEYNAME
"SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon").
The registry values were created as per this ADM templete when enabling it
but this policy was not applied.

Could you advise me what should the registry key name be so that these
settings would appear in the registry as a policy? Or is there some changes
other than the key name that I am not aware of??

Also, is there any other way to change these settings for 16 Pcs without
storing this default account password in the registry.

Your reply on this reply and the previous reply dayed Aug, 12th would be
appreciated.


"Darren Mar-Elia" wrote:

> Tariq-
> To do this you need to create a custom ADM file for your 3 registry entries.
> Information on doing this can be found at
> http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/management/gp/admtgp.mspx.
> To answer your questions below,
>
> 1. I don't know of a way to instantly lock the computer after the user logs
> on. There are a couple of things you could try. For example, you use GP to
> set the screensaver to a small interval (1 min) and then enable it to be
> password protected. Alternatively you could try creating a logon script
> within GP that runs the following command, which emulates pressing
> CTRL-ALT-DEL-LockWorkstation
>
> RUNDLL32.exe user32.dll, LockWorkStation
>
> 2. Unfortunately, you cannot obfuscate the password in the registry, which
> is probably the biggest downside to using autoadminlogon
>
> 3. Once you have the custom ADM for these 3 reg entries loaded into a GPO,
> you can continue to modify the password value using that GPO.
>
> --
> Darren Mar-Elia
> MS-MVP-Windows Server--Group Policy
> Check out http://www.gpoguy.com -- The Windows Group Policy Information Hub:
> FAQs, Whitepapers and Utilities for all things Group Policy-related
> Just Released! The new Windows Group Policy Guide from Microsoft Press!!!
> Check it out at http://www.microsoft.com/mspress/books/8763.asp
>
>
> "Tariq Ziad" <TariqZiad@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:308BA1DA-54E4-4EA6-8B53-19DC99DC2A93@xxxxxxxxxxxxxxxx
> > Dear all,
> >
> > I have 16 PC that need a default logon of sertain account to them. I have
> > searched for the solution and found out that need to configure three
> > registry
> > keys as follows:
> >
> >
> > [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
> > "AutoAdminLogon"="1"
> > "DefaultUserName"="username"
> > "DefaultPassword"="password"
> >
> >
> > The point now is that:
> > 1) I need to distripute these registry settings to 16 PCs using group
> > policy. Also, I need these PCs to be automatically locked once the PC is
> > turned on, and the default user has logged on automatically (same as LOCK
> > COMPUTER option when pressing ALT+CTRL+DEL)
> > 2) Is there a way to make the password unreadable in the registry?
> > 3) Suppose this default user paasword was changed, is there a way to
> > change
> > it automatically for these 16 PCs Or I mean is there a way to change it
> > automatically in the group policy that we will use to set the default user
> > and default password (because I am not that default user, and he might
> > change
> > the password)
> >
> > Your reply would be appriciated
>
>
>
.



Relevant Pages

  • ADM templete for autologon
    ... I have created this ADM templete file to be able to configure default user ... logon for collection of PCs: ... policy templete. ... the key needs to be located under Approved Registry Key ...
    (microsoft.public.windows.group_policy)
  • RE: adm registry changes do not apply
    ... just cut and paste from registry so hkcu was in the keyname path. ... HKCU key was created a second time, so no errors, but also no changes were I ... > However, whatever i try, the settings of the adm do not apply to the user, ... > even though Rsop and the logs tell me that the policy did apply. ...
    (microsoft.public.windows.group_policy)
  • Re: Forcing Ctrl+Alt+Del in registry.....DisableCAD
    ... manually go into the registry and use that tweak to do what i wanted. ... laptops to require a Ctrl+Alt+Del logon. ... I did this on three machines and still had no luck forcing a ... all of this can be done through the local group policy. ...
    (microsoft.public.windowsxp.general)
  • Re: Template for Sync Manager not working
    ... your ADM below puts it in a different location in the registry. ... You can't do that arbitrarily because the Syncmgr won't be able to find the setting.You'll need to change the keyname to the one above, and it will be a preference, not a policy. ... I'm testing the template on my local computer, and I'm pretty sure I'm doing it correctly, but the synchronization manager still stops at warnings. ... Here's my ADM file. ...
    (microsoft.public.windows.group_policy)
  • Re: adm template doesnt work!?
    ... the registry path does not need to be in the Policies section of the ... Your ADM will definately have to configure ... POLICY "Disable Creation of PST Files" ... > the disablePST policy entry is not created. ...
    (microsoft.public.windows.group_policy)