Auto-login after restart

%3CLINGO-SUB%20id%3D%22lingo-sub-1082627%22%20slang%3D%22en-US%22%3EAuto-login%20after%20restart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1082627%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EI'll%20use%20the%20new%20feature%20in%20msix%20packaging%20tool%20for%20desktop%20installers%20that%20require%20a%20restart.%20My%20msi%20fires%20a%203010%20and%20everything%20works%20fine%3B%20in%20UI%20mode%20I'll%20reboot%20manually%20and%20in%20cmdline%20mode%20reboot%20triggered%20automatically.%20But%20auto-login%20didn't%20work.%20At%20documentation%20I've%20found%3A%26nbsp%3B%20%22...%26nbsp%3B%3CSPAN%3Eyou%20can%20also%20specify%20you%20want%20to%20auto-login%20after%20the%20restart%20to%20have%20a%20seamless%20hands-free%20conversion...%22.%3C%2FSPAN%3E%26nbsp%3BBut%20where%20is%20the%20setting%20for%20auto-login%3F%3C%2FP%3E%3CP%3EThanky%20for%20help%3C%2FP%3E%3CP%3EAndreas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1095555%22%20slang%3D%22en-US%22%3ERe%3A%20Auto-login%20after%20restart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1095555%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F145664%22%20target%3D%22_blank%22%3E%40Andreas%20Kerl%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Andreas%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fmsix%2Fmsixpackagingtool%2Ftemplate%2F1907%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fmsix%2Fmsixpackagingtool%2Ftemplate%2F1907%3C%2FA%3E%20namespace%2C%20there%20is%20an%26nbsp%3BEnableAutoLogon%20attribute%20you%20can%20specify%20on%20the%20target%20conversion%20machine%20element.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20will%20want%20to%20set%20this%20attribute%20to%20true.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'll%20follow%20up%20on%20getting%20our%20documentation%20updated%20to%20better%20reflect%20this.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3CBR%20%2F%3EJames%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1096218%22%20slang%3D%22en-US%22%3ERe%3A%20Auto-login%20after%20restart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1096218%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F235896%22%20target%3D%22_blank%22%3E%40James%20Pike%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20James%2C%3C%2FP%3E%3CP%3Ethanks%20for%20your%20help.%20The%20following%20setting%20work%20...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3E%3CREMOTEMACHINE%20computername%3D%22%26quot%3BW10-19035X64%26quot%3B%22%20username%3D%22%26quot%3BTestUser%26quot%3B%22%20enableautologon%3D%22%26quot%3Btrue%26quot%3B%22%3E%3C%2FREMOTEMACHINE%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E...%20but%20there's%20a%20big%20limitation%20on%20non-english%20systems.%20For%20auto%20reboot%20functionalitly%20the%20tool%20creates%20the%20tempory%20user%20%22MSIXPackagingToolTmp%22%20and%20add%20him%20to%20the%20local%20admin%20group.%20This%20fails%20on%20german%20systems%20because%20the%20group%20name%20%22Administrators%22%20is%20hard%20coded%2C%20not%20localized%20and%20doesn't%20exist%20on%20german%20systems.%3C%2FP%3E%3CP%3EThanks%3CBR%20%2F%3EAndreas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1097264%22%20slang%3D%22en-US%22%3ERe%3A%20Auto-login%20after%20restart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1097264%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F145664%22%20target%3D%22_blank%22%3E%40Andreas%20Kerl%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Andreas%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAh%2C%20That's%20clearly%20a%20bug%20in%20our%20implementation.%26nbsp%3B%20I'll%20get%20an%20item%20filed%20to%20correct%20that%20in%20future%20versions%20of%20the%20tool.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESorry%20for%20the%20inconvenience.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3CBR%20%2F%3EJames%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1098032%22%20slang%3D%22en-US%22%3ERe%3A%20Auto-login%20after%20restart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098032%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F235896%22%20target%3D%22_blank%22%3E%40James%20Pike%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20James.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi all,

I'll use the new feature in msix packaging tool for desktop installers that require a restart. My msi fires a 3010 and everything works fine; in UI mode I'll reboot manually and in cmdline mode reboot triggered automatically. But auto-login didn't work. At documentation I've found:  "... you can also specify you want to auto-login after the restart to have a seamless hands-free conversion...". But where is the setting for auto-login?

Thanky for help

Andreas

4 Replies

@Andreas Kerl 

 

Hi Andreas,

 

In the http://schemas.microsoft.com/msix/msixpackagingtool/template/1907 namespace, there is an EnableAutoLogon attribute you can specify on the target conversion machine element.

 

You will want to set this attribute to true.

 

I'll follow up on getting our documentation updated to better reflect this.

 

Thanks!
James

 

@James Pike 

 

Hi James,

thanks for your help. The following setting work ...

 

<p4:RemoteMachine ComputerName="W10-19035X64" Username="TestUser" p3:EnableAutoLogon="true" />

 

... but there's a big limitation on non-english systems. For auto reboot functionalitly the tool creates the tempory user "MSIXPackagingToolTmp" and add him to the local admin group. This fails on german systems because the group name "Administrators" is hard coded, not localized and doesn't exist on german systems.

Thanks
Andreas

@Andreas Kerl 

 

Hi Andreas,

 

Ah, That's clearly a bug in our implementation.  I'll get an item filed to correct that in future versions of the tool.

 

Sorry for the inconvenience.

 

Thanks!
James

 

 

@James Pike 

Thanks James.