Jump to content

Recommended Posts

Posted

Hi.

 

I want install custom software during installing window, but when SetupComplete.cmd is running, don't install all software and never show anything Except black screen. also cursor is hide. anyone know what is this problem in windows 10?

 

Thanks


Posted

I never personally use that. You can try using FirstLogonCommands and see how you like that. That will run your installations after login but before the Desktop loads. So you can see the things running.

Posted

i used FirstLogonCommands from autounattend.xml but i run my custom .cmd file but it is showing another command window with blank screen so i just not closing it until my script finishes the installation(anyway my script restarts the machine automatically).  I just ignoring that blank command window my minimizing it.

  • 2 weeks later...
Posted (edited)

I Used FirstLogonCommands but problem is after come to desktop, my command is execute. while i want run command before come to desktop.

Edited by behdadsoft
  • 3 weeks later...
Posted

Is your mean reboot system after first logon?

 

This is a part of my autoattended.xml file that don't work.

			<OOBE>				<HideEULAPage>true</HideEULAPage>				<HideLocalAccountScreen>true</HideLocalAccountScreen>				<HideOnlineAccountScreens>true</HideOnlineAccountScreens>				<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>				<NetworkLocation>Home</NetworkLocation>				<ProtectYourPC>1</ProtectYourPC>			</OOBE>			<UserAccounts>				<AdministratorPassword>					<PlainText>true</PlainText>					<Value></Value>				</AdministratorPassword>				<LocalAccounts>					<LocalAccount wcm:action="add">						<Group>Administrators</Group>						<Name>Administrator</Name>						<Password>							<PlainText>true</PlainText>							<Value></Value>						</Password>					</LocalAccount>				</LocalAccounts>			</UserAccounts>			<FirstLogonCommands>			<SynchronousCommand wcm:action="add">				<CommandLine>C:\Windows\System32\cmd.exe /c shutdown -r -t 0</CommandLine>				<Description>Reboot_System</Description>				<Order>1</Order>			</SynchronousCommand>			<SynchronousCommand wcm:action="add">				<CommandLine>c:\Windows\Setup\Scripts\Run.exe</CommandLine>				<Description>Install_Softwares</Description>				<Order>2</Order>			</SynchronousCommand>			</FirstLogonCommands>
Posted

as per order in firstlogon commands the first thing you are doing is restart  and what is the second command doing just opening run dialog what is the use with it

 

and as the same K-Mart-ian Legend says you cant create administrator account it is already built-in adminstrator 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...