Jump to content

Install software


Recommended Posts

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

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

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>
Link to comment
Share on other sites

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 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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