Windows 10: How to open and close Windows camera app from Command Prompt?

Discus and support How to open and close Windows camera app from Command Prompt? in Windows 10 Gaming to solve the problem; I looking for a way to open & close Windows Camera app from the command line. Use case is to run reliability tests for my camera project and for this I... Discussion in 'Windows 10 Gaming' started by AshwinN9, Nov 18, 2021.

  1. AshwinN9 Win User

    How to open and close Windows camera app from Command Prompt?


    I looking for a way to open & close Windows Camera app from the command line. Use case is to run reliability tests for my camera project and for this I may need to open and close camera app multiple times. If there is a command I was hoping to make a batch script to automate the process. Thanks!

    :)
     
    AshwinN9, Nov 18, 2021
    #1
  2. cwtech Win User

    command prompt will not open in safe mode with command prompt

    I am repairing a laptop for a friend and I need to access windows in safe mode and the owner has forgotten the password to the main user. I tried logging on with the administrator profile in safe mode but it is not showing up so I was going to use command prompt in safe mode with command prompt but command prompt will not open when I boot that option. Does anyone have any hints for me to figure this out?
     
    cwtech, Nov 18, 2021
    #2
  3. cwtech Win User
    command prompt will not open in safe mode with command prompt

    Would I just follow the same steps within safe mode after hooking up to the other system?
     
    cwtech, Nov 18, 2021
    #3
  4. How to open and close Windows camera app from Command Prompt?

    Why does Windows 10 close apps immediately after they are opened?

    Hi Jim,

    Thank you for contacting Microsoft Community.

    In order to help you better, could you please confirm a couple of things:

    • Are you facing this issue with all the apps?
    • Are you getting any error message while the apps are closing?
    This issue may be caused by some app corruption or some third party app confliction. I suggest you to follow the methods given below:

    Method 1:
    I suggest you to run the
    Windows store app
    troubleshooter and check if it helps.

    • Type troubleshooting in the search bar.
    • Select Troubleshooting.
    • Select View all on the top left corner.
    • Click on Windows Store app.
    • Follow the on-screen instructions to run the troubleshooter.
    • Check if issue persists.
    If issue persist kindly follow the below given method.

    Method 2:
    I suggest you to run System file checker. System File checker (SFC) scan is done to check if there are any corrupted system files that could be causing this issue. Kindly follow the below given steps:

    • Press Windows key + X, select Command prompt (Admin)
      to bring up elevated Command prompt.
    • In Command prompt type sfc/scannow and press enter.
    • Restart the computer.
    If no corrupted system files were found in the previous state, then I suggest you to try the following steps:

    • Open command prompt by pressing Windows key + X and selecting “Command prompt admin”.
    • In command prompt, type the following commands and press Enter after each command:
    • DISM.exe /Online /Cleanup-image /Scanhealth
    • DISM.exe /Online /Cleanup-image /Restorehealth
    3. Close the command prompt and restart the PC and check if it works.

    Hope this information was helpful and do let us know if you need further assistance. We will be glad to assist.
     
    Karthicka_R, Nov 18, 2021
    #4
Thema:

How to open and close Windows camera app from Command Prompt?

Loading...
  1. How to open and close Windows camera app from Command Prompt? - Similar Threads - open close camera

  2. Command Prompt Opening Then Closing

    in AntiVirus, Firewalls and System Security
    Command Prompt Opening Then Closing: At the moment I have a problem with my HP laptop. I am running Windows 11 and every 1 minute or so I am not certain if it is a regular time a blank command prompt will open under the system32 directory. There would be no text within the prompt and the title would be the...
  3. Command prompts open and closes after startup

    in Windows 10 Gaming
    Command prompts open and closes after startup: The command prompt window states: C:\Users\Loriefel\AppData\Roaming\Ffox.cif https://answers.microsoft.com/en-us/windows/forum/all/command-prompts-open-and-closes-after-startup/e268668d-56ae-4efe-a274-b9625a6ba97a
  4. How to open and close Windows camera app from Command Prompt?

    in Windows 10 Software and Apps
    How to open and close Windows camera app from Command Prompt?: I looking for a way to open & close Windows Camera app from the command line. Use case is to run reliability tests for my camera project and for this I may need to open and close camera app multiple times. If there is a command I was hoping to make a batch script to automate...
  5. How to open and close Windows camera app from Command Prompt?

    in Windows 10 Customization
    How to open and close Windows camera app from Command Prompt?: I looking for a way to open & close Windows Camera app from the command line. Use case is to run reliability tests for my camera project and for this I may need to open and close camera app multiple times. If there is a command I was hoping to make a batch script to automate...
  6. How to open Microsoft Store apps from Command Prompt

    in Windows 10 News
    How to open Microsoft Store apps from Command Prompt: [ATTACH]In this tutorial, we will describe how to open Microsoft Store apps from Command Prompt. You can open any Microsoft Store app using the command line if you have the following data: App’s Package Family Name. App ID. Every Microsoft Store app has a unique Package...
  7. Command Prompt Opens then closes immediately

    in Windows 10 BSOD Crashes and Debugging
    Command Prompt Opens then closes immediately: When I open CMD or any command that uses cmd, it just opens then closes really fastplease help https://answers.microsoft.com/en-us/windows/forum/all/command-prompt-opens-then-closes-immediately/de915006-128d-4861-ac88-ee63f4cfea67
  8. Command Prompt opening randomly and closing instantly

    in Windows 10 Customization
    Command Prompt opening randomly and closing instantly: I have this command prompt thing opening randomly around every 10 - 15 minutes, this really annoys me when playing games and such. I managed to accidently press the command prompt which prevented it from closing down. If anyone has a fix for it, it would greatly help....
  9. Command Prompt opening and closing immediately

    in Windows 10 Network and Sharing
    Command Prompt opening and closing immediately: im trying to open my cmd, ive tried as administrator, I've tried making a copy and renaming the exe file, I've tried launching it in safe mode. and nothing is working...
  10. Command Prompt opens and closes randomly

    in Windows 10 Network and Sharing
    Command Prompt opens and closes randomly: A CMD window with the title "C:\Windows\Microsoft.NET\Framework\v4.0.30319" opens about once a minute for a split second and then disappears, I have yet to find a way to stop this... any help? Thanks...