Установка xbox через powershell
Moderators: this may be posted in the wrong forum. If so, please move it. Thank you.
I recently changed my Microsoft password. Doing so caused the Xbox app to have an aneurysm; it gave me the Sign in and Cancel (?) buttons, then immediately presented me with a Microsoft login form, without clicking on the Sign In button. I entered my credentials, only to have it then present me with the two buttons again (which were just sitting behind the login screen, apparently). So, I clicked Sign In, and entered my credentials again. Crash to desktop. Open the app again. Immediate crash to desktop. Restart computer, open app - immediate crash to desktop.
I then uninstalled the app via Powershell with
Get-AppxPackage *xboxapp* | Remove-AppxPackage
and this is where I am. I cannot use the all-encompassing reinstall line
Get-AppXPackage -AllUsers | Foreach
Please follow the steps and check if it helps:
- Open an Administrator CMD window. If you can’t find a way, use these steps:
- Press CTRL+Shift+ESC to open Task Manager.
- Click File > Run New Task
- Make sure you have a check mark beside “Create this task with administrative privileges”
- Type CMD
- If the above command both completed and show no remaining issues, run these commands:
powershell
Get-AppXPackage -AllUsers |Where-Object | Foreach
The DISM command runs fine. The powershell command results in the same error:
Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it
modifies are currently in use.
error 0x80004004: Unable to install because the following apps need to be closed
Microsoft.Windows.Cortana_cw5n1h2txyewy!CortanaUI.Using the command to install an individual app with the install location either doesn't work, or the app I want is not the "Xbox companion" app (in which case, I don't know what app it could be; it's not the Smartglass app, that one works fine). The command runs without an error, but nothing changes; the app is not in my list of programs/"All apps".
Help, please. I'd like my Xbox app back.
This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
Want to know how to install Microsoft store app directly through powershell.
This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Почему приложение Xbox не открывается?
После обширных исследований и экспериментов с нашими системами мы пришли к выводу, что причины, по которым приложение Xbox не запускается, представляют собой сочетание нескольких разных причин. Поскольку модуль тесно связан с вашей учетной записью пользователя и настройками системы, причины могут быть разными в вашем случае. Некоторые из причин:
- Ваш учетная запись пользователя либо поврежден, либо имеет поврежденные компоненты. Возможно, вы неправильно указали отсутствующие файлы или зависимости.
- Сервисы требуется для запуска приложения Xbox либо не запущены, либо отключен.
- Само приложение продажный и нуждается в переустановке.
- Вредоносное может присутствовать на вашем компьютере, что может заблокировать запуск приложения.
- последняя версия Windows может быть не установлен на вашем компьютере. Инженеры Microsoft постоянно выпускают обновления для устранения проблем в операционной системе.
Прежде чем приступить к реализации обходных путей и решений, убедитесь, что у вас есть активное подключение к Интернету и вы вошли в систему как администратор в своей учетной записи. Кроме того, убедитесь, что вы не используете какие-либо VPN или же полномочие.
Решение 4: Создание нового профиля пользователя
Были многочисленные случаи, когда приложение не запускалось из-за проблем в профиле пользователя. Приложение Xbox тесно связано с вашим профилем пользователя, и для каждого профиля пользователя это уникальные конфигурации. Если они повреждены или отсутствуют, приложение не запустится.
Создание нового профиля пользователя — Настройки
Вы можете пойти дальше и попробовать создать новый профиль. Если приложения работают должным образом и не показывают проблем, вы можете перенести в него все свои данные. Вы можете ознакомиться с нашей статьей Как создать новую учетную запись пользователя и перенести в нее все данные? Убедитесь, что вы проверять Приложение тщательно, прежде чем начать передачу данных.
3. Clear the Microsoft Store cache
- Press Windows Key + R to launch Run.
- Enter wsreset.exe and hit Enter.
- Once the reset process finished, restart your PC and then check if the Windows Store App works as it should.
The Xbox App depends on the Microsoft Store App to run properly. So, if there is something wrong with the Store app, many apps won’t launch or won’t download anything.
In this case, resetting the Store cache can fix the problem, so make sure you do that by following the steps above.
2. Run the License Service Script
- Open Notepad.
- Paste the following text into Notepad: echo offnet stop clipsvcif “%1″==”” ( echo ==== BACKING UP LOCAL LICENSES move %windir%serviceprofileslocalserviceappdatalocalmicrosoftclipsvctokens.dat %windir%serviceprofileslocalserviceappdatalocalmicrosoftclipsvctokens.bak )if “%1″==”recover” ( echo ==== RECOVERING LICENSES FROM BACKUP copy %windir%serviceprofileslocalserviceappdatalocalmicrosoftclipsvctokens.bak %windir%serviceprofileslocalserviceappdatalocalmicrosoftclipsvctokens.dat )net start clipsvc
- Save the file as license.bat.
- Execute the script from the Command Prompt (search for cmd and click on Run as administrator).
- The script will uninstall the app, so head over to the Microsoft Store, and reacquire Xbox app.
Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.This script was introduced in Windows 10 Technical Preview, when users had problems running certain Windows 10 apps.
We didn’t test if it works in the full version of Windows 10, and with Xbox app, but you could give it a try, it won’t hurt.
You can find more information about a similar problem in this quick guide dedicated to fixing the Xbox app if it’s not opening on Windows 10.
1. Reset the Xbox app package
After performing this PowerShell command, try to run your Xbox app for Windows 10 again. If you’re still unable to run it, try the solution listed below.
Keep in mind that resetting the cache will remove any saved passwords and private information stored in the app. It’s not ideal, but sometimes the cache can deem the software unusable.
Solution 5 – Enable the Xbox app from Services
Many Windows 10 users reported that enabling the Xbox App using the Task Manager fixed the problem for them. Here are the steps to follow:
Most users have no idea how to deal with a slow Task Manager. Don’t be one of them and read this quick guide to learn how to make it faster!
Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.4. Run the Windows Apps troubleshooter
Like any app, the Xbox one is prone to regular problems, but you can fix them by running the Windows Store Apps troubleshooter as shown in the steps above.
A lot of users also reported that the Xbox app keeps closing in Windows 10. We have an excellent guide dedicated to fixing Xbox app closing issues.
If you also have problems opening the Xbox app in Windows 10, our team has devised a comprehensive step-by-step guide to resolve that issue.
That’s about that, as you can see, the solution to this problem lays in resetting the app. In case these solutions didn’t work for you, or you have some solutions of your own, let us know in the comments.
Still having issues? Fix them with this tool:
Решение 5. Установка свежей копии / Обновление Windows
Если каждое решение дает сбой и вы все еще не можете правильно запустить приложение Xbox, попробуйте переустановить Windows на своем компьютере. Это может быть тот случай, когда системные файлы не подлежат восстановлению, а приложение Xbox возвращается, не может запускаться и работать должным образом. Прежде чем продолжить, убедитесь, что вы правильно сделали резервную копию своих данных на внешнем жестком диске и сохранили все данные в облаке.
Установка свежей копии Windows
Вы можете проверить наши следующие статьи, чтобы восстановить или полностью переустановить Windows на вашем компьютере.
Passionate about all elements related to Windows and combined with his innate curiosity, Ivan has delved deep into understanding this operating system, with a specialization in drivers and driver troubleshooting. When he's not tackling. Read more
To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:- Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here) .
- Click Start Scan to find Windows issues that could be causing PC problems.
- Click Repair All to fix issues affecting your computer's security and performance
- Restoro has been downloaded by 0 readers this month.
Windows 10 brought a new feature that allows us to stream our games from Xbox One to our computers, and although this feature sounds great, some users are complaining that Xbox app won’t open on Windows 10.
In order to stream video games from your Xbox One to your PC you’ll need Xbox app running, but as we said, some users have reported that Xbox app won’t open on Windows 10 for some reason, so let’s see if there is a way to fix that.
Решение 2. Проверка на наличие вредоносных программ
Если описанный выше метод не работает, весьма вероятно, что на вашем компьютере установлены вредоносные программы, вызывающие эту проблему. Эти программы, наряду с мониторингом вашей активности и атакой на ваши данные, также приводят к тому, что системные операции останавливаются и перехватывают такие сигналы, прежде чем они даже отправляются в ОС.
Сканирование на наличие угроз — Malwarebytes
Сканирование компьютера с помощью известных антивирусных программ, таких как Malwarebytes или Microsoft Security Essentials и убедитесь, что все определения вирусов обновлены. Убедитесь, что на вашем компьютере не работает программа, которая может иметь службы прямого доступа. Как только вы абсолютно уверены, что ваш компьютер чист и свободен от всех вредоносных программ, только тогда переходите к другим решениям.
Replies (39)
* Please try a lower page number.
* Please enter only numbers.
* Please try a lower page number.
* Please enter only numbers.
I'm John an Independent Advisor and a Microsoft user like you. I want to apologize if you encountered this issue. I understand you want to install Microsoft Store through powershell
Get-AppXPackage *WindowsStore* -AllUsers | Foreach
Launch again your MS Store
I hope this helps! Kindly inform me if my suggestions does not solve the problem. I can provide another solution for you to try.
John DeV
Independent AdvisorReport abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
55 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?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
I mean to say want to install app from Microsoft store
Like Microsoft to do application
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
10 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?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
John DeV
Independent AdvisorReport abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
2 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?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Hi nileshpawar4, My name is Jeremy, a Windows Independent Adviser. I'll be happy to help you out today. Let’s see what I can do.
I regret to inform you but, unfortunately, it is not possible to use PowerShell to install apps from Microsoft store as of this moment,
The Add-AppxPackage cmdlet adds a signed app package to a user account. An app package has an .msix or .appx file name extension. Use the DependencyPath parameter to add all other packages that are required for the installation of the app package. You can use the Register parameter to install from a folder of unpackaged files during the development of Windows:registered: Store apps.
In the meantime, please use the Feedback hub under your start menu and drop some comments and suggestions. Microsoft has always a room for improvement for the best experience of its user.
I hope this information helps
Kind regards,
JeremyReport abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Приложение Xbox на Windows 10
Приложение Xbox устанавливается по умолчанию в новых итерациях Windows 10. Тем не менее, есть несколько случаев, когда пользователи не могут запустить приложение. Либо просто остается на начальный экран или же вообще не открывается. Такое поведение обычно продолжается до тех пор, пока приложение не будет закрыто вручную.
Why is Xbox app not opening on Windows 11?
The most likely cause if file corruption, and that can cause Xbox app to stop launching games in Windows 11. We wrote a useful guide on what to do if Windows 11 apps won’t open, so we suggest that you check it out for more solutions.
This isn’t the only issue and many reported that Xbox app is stuck at the preparing screen. The most likely cause is file corruption, so resetting the app might help.
Solution 3 – Clear Windows Store cache
Resetting the Store cache can also fix this error, so do try out this workaround. Here are the steps to follow to reset Store cache:
Solution 1 – Keep Windows 10 up to date
Streaming games from Xbox One to your Windows 10 device is one of the key features of Windows 10, and Microsoft is already aware of the problem.
As for the official solution, it should be available via Windows Update, so make sure that you check for updates constantly and keep your Windows 10 up to date.
What can I do if the Xbox Windows 10 app doesn’t work?
3. Check for the latest Windows updates
- Click the Start button and select Settings.
- Pick Update & Security to open the Windows Update window.
- Click the Check for updates button and wait a few seconds to see if there are any new ones.
- If there are, click on Install now.
Not having the latest Windows updates installed can cause problems with the installation or running any apps so this is an important step to take.
Решение 3. Переустановка приложения Xbox
Если вышеуказанные методы не работают, мы можем попробовать переустановить приложение Xbox. Это удалит все сохраненные конфигурации и системные файлы с вашего компьютера. Поскольку приложение не отображается в диспетчере приложений Windows, мы сначала удалим его из командной строки, а затем попытаемся переустановить через Store.
- Нажмите Windows + S, введите «PowerShell» в диалоговом окне, щелкните правой кнопкой мыши приложение и выберите Запустить от имени администратора.
- Попав в PowerShell с повышенными правами, выполните следующую команду:
Удаление приложения Xbox
- После выполнения команд приложение Xbox будет удалено. Перезагрузите компьютер.
- Нажмите Windows + S, введите «store» в диалоговом окне и откройте Магазин Microsoft. Ищи Xbox и откройте страницу приложения Xbox. Нажмите Получить установить приложение на свой компьютер снова.
Загрузка приложения Xbox из Microsoft Store
- Перезагрузите компьютер и попробуйте снова запустить приложение.
Solution 6 – Run SFC scan
Corrupted or missing Registry keys may prevent the Microsoft Store apps from properly launching. The simplest way to repair your registry is to use a dedicated tool, such as CCleaner.
You can also use Microsoft’s System File Checker to check for system file corruption. The utility verifies the integrity of all protected system files and repairs files with problems when possible.
Note: Before you tweak your Registry, make sure to backup it up in case anything goes wrong.
Here’s how to run an SFC scan:
1. Go to Start > type cmd > right-click Command Prompt > select Run as Administrator
2. Now type the sfc /scannow command
3. Wait for the scanning process to complete and then restart your computer. All corrupted or missing files will be replaced on reboot.
If you’re having trouble accessing Command Prompt as an admin, then you better take a closer look at this guide .
There you go, we hope that these solutions helped you fix the Xbox App issues that you encountered. Let us know which solution worked for you.
If you have any more questions, feel free to reach for the comments sections below.
RELATED STORIES TO CHECK OUT:
Still having issues? Fix them with this tool:
Passionate about all elements related to Windows and combined with his innate curiosity, Ivan has delved deep into understanding this operating system, with a specialization in drivers and driver troubleshooting. When he's not tackling. Read more
- If the X box app won't install in Windows 10 it's pretty sad because you can't play with your friends.
- Start by resetting the app package by running the command below in Powershell.
- Another, more complicated solution is to run the License Service Script.
- The wsreset app is useful in clearing the Microsoft Store cache. Try installing the Xbox app after.
To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:- Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here) .
- Click Start Scan to find Windows issues that could be causing PC problems.
- Click Repair All to fix issues affecting your computer's security and performance
- Restoro has been downloaded by 0 readers this month.
Microsoft introduced its new Xbox app for Windows 10 when the system was still in the Preview phase. The software allows users to connect their Xbox account to their Windows device.
This means that the Xbox app allows users to play games from the Microsoft Store with fellow Xbox players, create scoreboards, share their social content, and more.
Cross-platform games bring people together from different platforms, which means that you can play with more friends, and the games have bigger communities.
Overall, the change is great, and there is no downside to it! Additionally, many Xbox games had PC ports and compatibility patches, and vice versa, after the system was implemented.
However, some users have reported about the Xbox app not installing in Windows 10, so we’re going to find a solution for this problem in this article.
First, if the Xbox app is not installing on PC, try to reboot your system. After that, see if you can open the app normally, if the answer is negative, try one of the solutions listed below.
What can I do if my Xbox App doesn’t open in Windows 10?
Решение 1. Включение служб Xbox
Каждое приложение связано и связано со службой, которая работает в фоновом режиме, выполняя задачи приложения, чтобы оно работало. Если эти службы отключены или не работают должным образом, приложение Xbox может зайти в тупик, и ничего не произойдет. В этих решениях мы попытаемся включить эти службы и проверить, имеют ли они какое-либо значение.
- Нажмите Windows + R, введите «services.msc”В диалоговом окне и нажмите Enter.
- Оказавшись в службах, найдите следующие записи:
- Щелкните по ним правой кнопкой мыши и выберите свойства.
Свойства службы управления аксессуарами Xbox — службы
- Установите тип запуска как автоматическая а также Начните сервис. Нажмите Применять сохранить изменения и выйти.
Изменение настроек сервиса
- Выполните это для всех решений и снова запустите приложение Xbox после его закрытия. Теперь проверьте, правильно ли работает приложение.
Solution 2 – Reinstall the Xbox app
This sounds like a simple solution, just go to the Microsoft Store and reinstall the app. Although this sounds like the most obvious solution users have reported that it works, so it won’t hurt you to try it.
We have to mention that certain number of users couldn’t remove Xbox App, and if you’re one of those users you should try to remove it using the PowerShell.
- Open PowerShell as administrator. In the Search bar type PowerShell and right click PowerShell from the list of results. Choose Run as administrator.
- When PowerShell starts paste the following code and press Enter to run it:
- Get-AppxPackage -name “Microsoft.XboxApp” | Remove-AppxPackage
- After that you can just visit the Microsoft Store and reinstall Xbox app again.
As you can see fixing the Xbox app that won’t open on Windows 10 isn’t that hard and in worst case scenario you’ll just have to delete it using the PowerShell and install it again from the Microsoft Store.
Solution 4 – Change regional settings
Some users confirmed that changing regional settings helped them fix the problem. Simply change your region to United States, Canada or United Kingdom following these instructions:
Читайте также: