Forum Discussion

dalewebb1's avatar
dalewebb1
Copper Contributor
Jan 01, 2023

Installed Phone Link from Microsoft Store. Phone Link won't open now.

Windows 11, most recent beta. Was having problems with phone link. Uninstalled it using Revo Uninstaller. Downloaded it again from Microsoft Store and installed. Won't open.

Supposedly, reset Microsoft Store (msreset.exe). Went to Windows Store > Library > Get Updates. Says "Your apps and games are up-to-date."

Image (couldn't upload)

When I click "OPEN," it doesn't. Won't open from Start Menu, either.

Any ideas?

Dale Webb

  • Mousefluff's avatar
    Mousefluff
    Iron Contributor

    dalewebb1This is just a generic way to install Microsoft Store Apps on the command line. It should work in your situation. If there are problems, read the comments found in the batch file itself:

     

    On Windows 10 / 11: Right-click on the following batch file after saving it, and click "Run as administrator".

     

    (1.) Use Notepad to create this file on your desktop or another folder: MS_Phone_Link_Auto_Install.bat

    @ECHO OFF
    SETLOCAL
    sc config BITS start= delayed-auto
    sc config EventLog start= auto
    sc config UsoSvc start= auto
    sc config wuauserv start= auto
    sc config mpssvc start= auto
    net start BITS
    net start EventLog
    net start UsoSvc
    net start wuauserv
    net start mpssvc
    powershell -noprofile -ExecutionPolicy Bypass -Command "& {Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force}"
    powershell -noprofile -ExecutionPolicy Bypass -Command "& {Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine -Force}"
    powershell -noprofile -ExecutionPolicy Bypass -Command "& {Set-PSReadLineOption -HistorySaveStyle SaveNothing -MaximumHistoryCount 1}"
    powershell -noprofile -ExecutionPolicy Bypass -Command "& {Write-Output 'Remove-Module PSReadline' | New-Item -Path $PROFILE -Type File -Force}"
    powershell -noprofile -ExecutionPolicy Bypass -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls13}"
    powershell -noprofile -ExecutionPolicy Bypass -Command "& {Install-PackageProvider -Name PowerShellGet -Scope AllUsers -Force}"
    powershell -noprofile -ExecutionPolicy Bypass -Command "& {Install-PackageProvider -Name NuGet -Scope AllUsers -Force}"
    powershell -noprofile -ExecutionPolicy Bypass -Command "& {Install-PackageProvider -Name WinGet -Scope AllUsers -Force}"
    powershell -noprofile -ExecutionPolicy Bypass -Command "& {Register-PackageSource -Name 'Nuget Gallery' -Location https://api.nuget.org/v3/index.json -Trusted -Force -ProviderName NuGet}"
    REM NOTE: If the "Microsoft App Installer" doesn't install, then you have to go into the Microsoft Store ( App ) and hit the "Retry" button.
    winget install 9NBLGGH4NNS1 --silent --accept-package-agreements --accept-source-agreements
    winget install Microsoft.VCRedist.2015+.x86 --silent --accept-package-agreements --accept-source-agreements
    winget install Microsoft.VCRedist.2015+.x64 --silent --accept-package-agreements --accept-source-agreements
    winget install Microsoft.DotNet.Runtime.6 --silent --accept-package-agreements --accept-source-agreements
    winget install Microsoft.DotNet.Runtime.7 --silent --accept-package-agreements --accept-source-agreements
    REM NuGet Package Explorer
    winget install 9WZDNCRDMDM3 --silent --accept-package-agreements --accept-source-agreements
    winget install Microsoft.NuGet --silent --accept-package-agreements --accept-source-agreements
    
    REM Microsoft Phone Link
    winget install 9NMPJ99VJBWV --silent --accept-package-agreements --accept-source-agreements
    
    REM Reset / Repair Apps:
    REM Settings -> System -> Other troubleshooters -> Windows Store Apps (Run)
    REM Settings -> System -> Other troubleshooters -> Windows Update (Run)
    REM NOTE: The Following Applications Must be Whitelisted by Your Firewall: WinStore.App.exe StoreExperienceHost.exe WhatsNew.Store.exe StoreDesktopExtension.exe winget.exe powershell.exe TrustedInstaller.exe

     

    • dalewebb1's avatar
      dalewebb1
      Copper Contributor
      Installed a lot of things, finally PhoneLink. Still doesn't work. When I click on the icon, it seems to be loading for about 3 seconds and then nothing happens. Rebooted. Still nothing.
      Any other thoughts?
      • dalewebb1's avatar
        dalewebb1
        Copper Contributor
        Forgot to click "Run as Administrator", but I AM the only administrator on my computer.

Resources