raffa Posted December 14, 2006 Share Posted December 14, 2006 <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 ? Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 14, 2006 Share Posted December 14, 2006 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 Link to comment Share on other sites More sharing options...
fizban2 Posted December 15, 2006 Share Posted December 15, 2006 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 Link to comment Share on other sites More sharing options...
ubernerd Posted December 15, 2006 Share Posted December 15, 2006 (edited) 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, 2006 by ubernerd Link to comment Share on other sites More sharing options...
raffa Posted December 15, 2006 Author Share Posted December 15, 2006 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 !!! Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 16, 2006 Share Posted December 16, 2006 (edited) 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, 2006 by maxXPsoft Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 16, 2006 Share Posted December 16, 2006 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now