Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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>

Share this post


Link to post
Share on other sites

The Administrator account already exists. Name the account you are creating something different.

Share this post


Link to post
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 

Share this post


Link to post
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...