Whenever you connect your devices like Android Phone, iPhone, or iPad to a Windows 11/10 PC, the Photos app launches instantly. It does this to allow you to import all the media, but this is not the desired course of action one expects every time. Because, many times, users plug the phone for charging and not for synchronization. This condition can be fixed via a simple change in settings.
Stop Photos app from opening when connecting Phone to PC
To prevent the Photos app from opening itself automatically, when connecting an iPhone or Android phone to a Windows 11/10 PC, you have two ways:
- Disable AutoPlay in Settings
- Disable AutoPlay using the Group Policy Editor
1] Disable AutoPlay in Settings
Windows 11
Right-click the Windows button on the Taskbar and choose Settings from the list of options given. Alternatively, you can press Win+I keys together to go to the Settings in Windows 11 directly.
Select Bluetooth & other devices from the side panel on the left.
On the right, scroll down to the Autoplay heading. This setting lets you set defaults for removable drives and memory cards.
Expand it by clicking the side arrow and when directed to a new screen, go to the Choose AutoPlay defaults section.
Hit the drop-down menu beneath your phone’s name. You’ll see the following options:
- Import photos and videos (OneDrive)
- Import photos and videos (Photos)
- Open device to view files (File Explorer)
- Take no action
- Ask me every time
Select ‘Take no action‘ from the list and close the Settings app. If you want Windows to ask you before autoplay, select Ask me every time.
Windows 10
When you plug in a removable device such as a USB or a memory card into your computer, you’ll find ‘AutoPlay’ popup appearing on your computer screen. Its main purpose is to detect the kind of media plugged in and automatically act on your behalf. But if you do not like it, try any one of the below-mentioned ways to get rid of it.
Click on the ‘Start’ button and choose ‘Settings’.
Under ‘Windows Settings’ select ‘Devices’ and scroll down to ‘AutoPlay’ section in the left pane.
Next, configure ‘AutoPlay’ defaults. For this, choose your Phone’s name (Apple iPhone in my case) and hit the drop-down arrow adjacent to it.
Select any one of the following options:
- Take no action
- Ask me every time.
This should work.
2] Disable AutoPlay using Group Policy Editor
Press Win + R simultaneously to open the Run dialog box. Type ‘gpedit.msc’ in its search bar and hit ‘Enter’.
Next, go to ‘Computer Configuration’ > Administrative Templates > Windows Components”.
Under ‘Windows Components’ find and select ‘AutoPlay Policies’.
In the right-hand side details pane, select ‘Turn off AutoPlay’ and disable AutoPlay on all drives.
After completing the above steps, the Photos App will stop opening automatically whenever you connect your phone.
What does AutoPlay do in Windows?
It’s a setting in Windows that scans for any newly discovered removable media and devices and, based on content (images/video/music files), launches an appropriate application to play or display its content. This makes it easier to see multiple files without selecting each separately or clicking the play option individually.
Is AutoRun and AutoPlay the same?
No, AutoRun and AutoPlay differ in many ways. For instance, AutoRun is a technology used to start some programs automatically. On the other hand, AutoPlay is a feature in Windows that lets a user choose which program should run when a specific type of device, such as a USB or a smartphone, is connected to the computer.
Read: How to set AutoPlay defaults in Windows.
How to stop apps from opening automatically in Windows?
To stop an app from opening automatically when you start your Windows 11/10 PC, open Task Manager (press Ctrl + Shift + Esc), go to the Startup tab, right-click on the desired app and select ‘Disable’. When you disable the app in the Startup tab, you tell Windows not to run this application automatically at startup. Disabling unnecessary startup applications can reduce the risk of malware or unwanted software running without your knowledge.
How do I remove the Photos app from Windows?
You may uninstall the Photos app in Windows 11/10 from the Settings page. Open the Settings app and navigate to Apps > Installed apps. Search for Photos in the list of installed apps. Then click the three dots icon next to the app’s name and select Uninstall. Windows will ask for your confirmation to uninstall the Photos app and its related info. Click Uninstall for approval. Alternatively, open PowerShell with admin rights and execute the following command: Get-AppxPackage *Microsoft.Windows.Photos* | Remove-AppxPackage
Read Next: Next or Previous arrows missing in the Photos App of Windows.