Deilson Oliveira
Member
- Messages
- 8
- Reaction score
- 0
- Points
- 1
In my SCCM 2107, I'm creating a Windows 10 20H2 offline media, and in the task sequence "Apply Operating System Image" I have this unattend.xml configured:
I have a .bat script that runs before the OSD completely finishes, where it changes the name from "Administrator" to "localadmin_cpy". The problem is not here, but when the OSD finishes, when it finishes, it says "Incorrect username or password" and then goes to the login screen, where I need to manually enter the credentials (since I configured it in unattend.xml for it authenticate alone only 2 times).
But when I add the lines:
I have no problems with the error "Incorrect username or password" and it works perfectly. But as Microsoft reports that these lines are deprecated, it does not recommend using them, and on a specific model (Dell Latitude 5480, But in the case of Dell Latitude 5480, I've tried everything, I left without any unattend.xml, I've removed the two deprecated lines, I've updated the BIOS and nothing, it seems that nothing works on it.) after the "Setup Windows and ConfigMgr" task and restarting the computer, the installation does not continue and I get stuck in a all black screen. So I decided to do the test without even using autologin, leaving the XML file like this:
Even leaving unattend.xml like this, just auto-completing the OOBE, the "Incorrect username or password" still appears. Even leaving the unattend.xml that way, just auto-completing the OOBE, the "Incorrect username or password" still appears. I was informed on reddit that now it's not even necessary to use unattend.xml in the Task Sequence anymore, so I decided to do it that way, and I have the same problem. But at ISO 2004, I don't have this problem. Why the hell is this happening? Can someone help me please?
XML:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Password>
<Value>econded_password</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>localadmin_cpy</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>encoded_password_adminpassword</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
</component>
</settings>
</unattend>
I have a .bat script that runs before the OSD completely finishes, where it changes the name from "Administrator" to "localadmin_cpy". The problem is not here, but when the OSD finishes, when it finishes, it says "Incorrect username or password" and then goes to the login screen, where I need to manually enter the credentials (since I configured it in unattend.xml for it authenticate alone only 2 times).
But when I add the lines:
XML:
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
I have no problems with the error "Incorrect username or password" and it works perfectly. But as Microsoft reports that these lines are deprecated, it does not recommend using them, and on a specific model (Dell Latitude 5480, But in the case of Dell Latitude 5480, I've tried everything, I left without any unattend.xml, I've removed the two deprecated lines, I've updated the BIOS and nothing, it seems that nothing works on it.) after the "Setup Windows and ConfigMgr" task and restarting the computer, the installation does not continue and I get stuck in a all black screen. So I decided to do the test without even using autologin, leaving the XML file like this:
XML:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
</component>
</settings>
</unattend>
Even leaving unattend.xml like this, just auto-completing the OOBE, the "Incorrect username or password" still appears. Even leaving the unattend.xml that way, just auto-completing the OOBE, the "Incorrect username or password" still appears. I was informed on reddit that now it's not even necessary to use unattend.xml in the Task Sequence anymore, so I decided to do it that way, and I have the same problem. But at ISO 2004, I don't have this problem. Why the hell is this happening? Can someone help me please?