alunmjones Posted January 3, 2014 Posted January 3, 2014 I am trying to get a working image together of windows 7 to replace the one i inherited from the previouse ICT Manager, which is not working correctely, ive got everything working untill fog joins the machine to the domain. at this point the autologin functions in the unattend.xml fails as it is trying to log in with the local admin account password to the domain admin account, as they have different passwords it oviousely wont work. for my last attempt, in testing now, i have set the domain within the autologon filed to %computername%, as shown below. true 4 administrator <<---Omitted--->/Value> false %computername% true Work 3 true <<---Omitted--->/Value> false Local Admin Account Administrator Administrators Administrator <<---Omitted--->/Value> false <---Omitted---> Y<---Omitted--->/RegisteredOwner> GMT Standard Time powercfg -h off Turn Hibernate off false 1 true 2 Set Time net time <---Omitted---> /set /y http://helpdesk/ 08:30 - 16:30 true Y<---Omitted--->/Manufacturer> PC/Laptop <---Omitted---> false false false does anyone know anything else i can try if this fails? thank you Alun Jones
Steve21 Posted January 3, 2014 Posted January 3, 2014 Have you tried domain as just . ? We also have the line to enable the local admin account within ours, as by default with sysprep isn't it disabled? Steve
alunmjones Posted January 3, 2014 Author Posted January 3, 2014 ive tried . and ive enabled the local admin for 4 logons to allow for all the logons im seeing it needs for each step.
Steve21 Posted January 3, 2014 Posted January 3, 2014 You've done the enable autologon line, but unless you've got more lines you haven't added you haven't actually enabled the admin account? Steve
alunmjones Posted January 3, 2014 Author Posted January 3, 2014 its on line 20 <<---Omitted--->/Value> false Local Admin Account Administrator Administrators Administrator <<---Omitted--->/Value> false
alunmjones Posted January 10, 2014 Author Posted January 10, 2014 as an update, i solved my problem, ended up telling fog to not join the machine to the domain, im now using a VBS script to do the job when all of my other processes are finished, instead of mid way through as fog wanted to do it, it now works, it should be 99.99% compatible as it has 1gb of drivers installed as needed.
Jagster Posted May 23, 2014 Posted May 23, 2014 I spent hours upon hours trying to figure out how to fix this and finally came up with this solution. Run this command to set the logon user to the local Administrator account. If you are using a different local account enter that name instead of Administrator. REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /t REG_SZ /d ".\Administrator" /f You can add this as a command in the answer file or any other method you want as long as you do it before joining the domain. After everything is done I then run this to unset the logon user. REG DELETE "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /f
alunmjones Posted May 30, 2014 Author Posted May 30, 2014 I've tried this, still cant get it to work, i reverted to my VBS script that works every time.
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