Java Opens And Closes Immediately

by -115 views

Hi, Zari90

My proper name is Kathleen and I am an Independent Advisor. I would exist happy to aid yous today.

I recommend using SFC

Printing the Commencement key and blazon the give-and-take Powershell, correct click on the command prompt and select Run as administrator, enter the post-obit commands ane by one followed past the Enter key:

•- DISM.exe /Online /Cleanup-image /Scanhealth

•- DISM.exe /Online /Cleanup-image /Restorehealth

•- DISM.exe /online /cleanup-image /startcomponentcleanup

•- sfc /scannow

https://answers.microsoft.com/en-us/windows/for…

Let us know if these steps help you lot to resolve the issue.

66 people found this reply helpful

·

Was this reply helpful?

Sorry this didn’t assist.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps u.s. improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Zari90

Greetings! I am Vijay, an Independent Advisor. I am hither to piece of work with you on this problem.

You can endeavor to update PATH Arrangement Surroundings Variable

Type environ in Windows Start Search box

Click Edit the system environment variables to open System Properties with Advanced

Open Avant-garde Tab on System Properties and click Environment Variables

Click PATH in Environment Variables and click on Edit

Create New entry and add together C:\Windows\SysWow64\, then click OK

Reboot your PC

Source – https://answers.microsoft.com/en-u.s.a./windows/for…

Do let me know if you have whatsoever more question or require farther help.

Sincerely yours,
Vijay A. Verma @ https://excelbianalytics.com

6 people institute this reply helpful

·

Was this respond helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this respond?

Thanks for your feedback, it helps us improve the site.

How satisfied are yous with this reply?

Thanks for your feedback.

thank you, saw that on another site besides, tried it over again now notwithstanding doesn’t piece of work. “Windows Resource Protection did not find any integrity violations.”

13 people found this reply helpful

·

Was this answer helpful?

Sorry this didn’t help.

Great! Thank you for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps usa improve the site.

How satisfied are you with this reply?

Thank you for your feedback.

I recommend you to completely repair Windows, earlier you have to make a copy of your personal files

By: Andre Da Costa is a trusted Microsoft MVP

https://answers.microsoft.com/en-us/windows/for…

2 people found this reply helpful

·

Was this reply helpful?

Lamentable this didn’t help.

Great! Cheers for your feedback.

How satisfied are you with this reply?

Thank you for your feedback, it helps us improve the site.

How satisfied are you lot with this reply?

Thanks for your feedback.

Open up Control Prompt in Admin Mode:

Type CHKDSK/F

Hit Enter

Type Y hit Enter

Restart your device

Let united states know the results

8 people institute this answer helpful

·

Was this reply helpful?

Sorry this didn’t aid.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps u.s. improve the site.

How satisfied are yous with this reply?

Thank you for your feedback.

Side by side stride would exist a Windows 10 repair upgrade (This is not Reset or Reinstall of Windows). Repair upgrade fixes all Windows errors and retains all files, applications and settings. (You lot will non lose whatever data while backup is a skillful idea) Below is a good guide to perform repair upgrade

https://www.tenforums.com/tutorials/16397-repai…

Do allow me know if you require any further help on this. Will exist glad to help you.

Disclaimer – This is a not-Microsoft website. The folio appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products ofttimes classified as a PUP (Potentially Unwanted Products). Thoroughly enquiry any product advertised on the site before you decide to download and install it.

Sincerely yours,
Vijay A. Verma @ https://excelbianalytics.com

Was this reply helpful?

Sad this didn’t help.

Groovy! Cheers for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us better the site.

How satisfied are you with this respond?

Cheers for your feedback.

doesn’t open up in admin mode either even creating a shortcut, something is up with one drive causing the problem because immediately afterwards i setup one bulldoze as the anti virus recommend  cmd closed and didn’t open over again

three people found this reply helpful

·

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thank you for your feedback, information technology helps united states meliorate the site.

How satisfied are yous with this answer?

Thank you for your feedback.

OneDrive is just Storage and shouldn’t affect anything.

I don’t have OneDrive installed I use it on-line instead when I want to fill-in something there but it shouldn’t touch your Command Prompt.

Was this reply helpful?

Lamentable this didn’t help.

Swell! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us ameliorate the site.

How satisfied are you with this reply?

Cheers for your feedback.

Hello,

Bold Windows is installed on C: drive, become to
C:\Windows\System32
folder and make a copy of

cmd.exe

file. Now rename the copied file to something else. Try launching it, the issue may be resolved.

Promise this helps!

Referenced from https://answers.microsoft.com/en-us/windows/forum/all/my-command-prompt-is-closing-immediately-afterwards/207f9b30-007a-4730-a611-05d5e5998538.

___________________________________________________________________________________________________

Microsoft MVP (Windows IT Pro), since 2014 · Windows Insider MVP · Windows Help (www.kapilarya.com)

four people found this reply helpful

·

Was this reply helpful?

Pitiful this didn’t help.

Great! Thanks for your feedback.

How satisfied are y’all with this reply?

Thanks for your feedback, it helps usa better the site.

How satisfied are you lot with this reply?

Thank you for your feedback.

Source: https://answers.microsoft.com/en-us/windows/forum/all/command-prompt-just-flashes-and-closes-immediately/0c663b42-a381-4170-9ea8-22c251373722