December 14, 200619 yr <FirstLogonCommands><SynchronousCommand wcm:action="add"><CommandLine>"HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList","Administrator",0x00000001><Order>1</Order></SynchronousCommand></FirstLogonCommands>It's possible ?
December 14, 200619 yr that really don't look like it will workDo you want the ADMIN account??? I'm not talking about the watered down ones. Look herehttp://www.msfn.org/board/index.php?showtopic=84696
December 15, 200619 yr Raffa,<FirstLogonCommands><SynchronousCommand wcm:action="add"><CommandLine>\\servername\share\file.reg<Order>1</Order></SynchronousCommand></FirstLogonCommands>rather then trying to add just the single registry edit just add it through a .reg file. even if you are trying to add a single registry change you need to use a reg file
December 15, 200619 yr Think you may want to slap in an actual command with that%SYSTEMROOT%\regedit.exe /s \\servername\share\file.regthe /s will remove any warnings and make it run silent Edited December 15, 200619 yr by ubernerd
December 15, 200619 yr Author Thank....in fact my problem e' that one to make to execute rows, reg. After to have created:$oem$ -->$1-->mysharethe rows .reg come copied in myshare, but it does not come executed. Hour one what I have not understood: %SYSTEMROOT%\regedit.exe /s \\servername\share\file.regMy account it's Administrator, I must write:%SYSTEMROOT%\regedit.exe /s \\Administrator\myshare\file.regThanks many for your aid !!!
December 16, 200619 yr raffa I see now what you're trying to do is add the Administrator to show at the logon screenand this may do it but I haven't tried<FirstLogonCommands><SynchronousCommand wcm:action="add"><CommandLine>regedit /s A:\UserList.reg</CommandLine><Order>1</Order></SynchronousCommand></FirstLogonCommands>FULL path to this reg file wherever it is. You don't need \\ unless its on a Network share. If its on a drive somewhere or floppy then simply regedit /s A:\UserList.regCreate this as UserList.regWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]"Administrator"=dword:00000001FirstLogonCommands are run after logon but prior to showing the desktop.It won't show first time you get there because of this. This will NOT create this account with this. It only shows it if it does exist. Edited December 16, 200619 yr by maxXPsoft
December 16, 200619 yr That don't work adding the reg keyYou have to first Enable the Administrator account. The only way is herehttp://www.msfn.org/board/index.php?showtopic=84696If that work's for you then reply there.
Create an account or sign in to comment