Isso foi quase certamente causado por uma entrada AutoRun corrompida.
Do cmd /? help:
If /D was NOT specified on the command line, then when CMD.EXE starts, it looks for the following REG_SZ/REG_EXPAND_SZ registry variables, and if either or both are present, they are executed first.
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
and/orHKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
Como a exclusão do perfil corrigiu o problema, ele deve ter sido uma entrada em HKEY_CURRENT_USER . Como essa entrada tem , há mais de um quebra-cabeça, mas provavelmente apenas algum tipo de falha.