FreeBooter

Reinstall_and_Re-register_Apps

Aug 23rd, 2022
1,486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 16.61 KB | Fixit | 0 0
  1. :: Reinstall and Re-register All Built-in Windows Apps in Windows 10
  2.  
  3. :: Coded by FreeBooter
  4.  
  5.  
  6. @Echo Off & Color 0E
  7.  
  8.  
  9. (Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)
  10.  
  11.  
  12.  
  13. :Choice
  14. Cls
  15. Echo.
  16. Echo 1. Reinstall and Re-Register All Windows Apps for Current Account Only
  17. Echo.
  18. Echo 2. Reinstall and Re-Register All Windows Apps for All Accounts
  19. Echo.
  20. Echo 3. Reinstall and Re-Register 3D Builder
  21. Echo.
  22. Echo 4. Reinstall and Re-Register 3D Viewer
  23. Echo.
  24. Echo 5. Reinstall and Re-Register Alarms and Clock
  25. Echo.
  26. Echo 6. Reinstall and Re-Register App Connector
  27. Echo.
  28. Echo 7. Reinstall and Re-Register Calculator
  29. Echo.
  30. Echo 8. Reinstall and Re-Register Calendar and Mail
  31. Echo.
  32. Echo 9. Reinstall and Re-Register Camera
  33. Echo.
  34. Echo 10. Reinstall and Re-Register Candy Crush Soda Saga
  35. Echo.
  36. Echo 11. Reinstall and Re-Register Connect
  37. Echo.
  38. Echo 12. Reinstall and Re-Register Contact Support
  39. Echo.
  40. Echo 13. Reinstall and Re-Register Cortana
  41. Echo.
  42. Echo 14. Reinstall and Re-Register Drawboard PDF
  43. Echo.
  44. Echo 15. Reinstall and Re-Register Feedback Hub
  45. Echo.
  46. Echo 16. Reinstall and Re-Register Get Help
  47. Echo.
  48. Echo 17. Reinstall and Re-Register Get Office
  49. Echo.
  50. Echo 18. Reinstall and Re-Register Get Started
  51. Echo.
  52. Echo 19. Reinstall and Re-Register Groove Music
  53. Echo.
  54. Echo 20. Reinstall and Re-Register Mail and Calendar
  55. Echo.
  56. Echo 21. Reinstall and Re-Register Maps
  57. Echo.
  58. Echo 22. Reinstall and Re-Register Messaging
  59. Echo.
  60. Echo 23. Reinstall and Re-Register Microsoft Edge
  61. Echo.
  62. Echo 24. Reinstall and Re-Register Microsoft Solitaire Collection
  63. Echo.
  64. Echo 25. Reinstall and Re-Register Microsoft Store
  65. Echo.
  66. Echo 26. Reinstall and Re-Register Microsoft Whiteboad
  67. Echo.
  68. Echo 27. Reinstall and Re-Register Mixed Reality Portal
  69. Echo.
  70. Echo 28. Reinstall and Re-Register Money
  71. Echo.
  72. Echo 29. Reinstall and Re-Register Movies and TV
  73. Echo.
  74. Echo 30. Reinstall and Re-Register News
  75. Echo.
  76. Echo 31. Reinstall and Re-Register OneDrive
  77. Echo.
  78. Echo 32. Reinstall and Re-Register OneNote
  79. Echo.
  80. Echo 33. Reinstall and Re-Register Paint 3D
  81. Echo.
  82. Echo 34. Reinstall and Re-Register People
  83. Echo.
  84. Echo 35. Reinstall and Re-Register Phone
  85. Echo.
  86. Echo 36. Reinstall and Re-Register Phone Companion
  87. Echo.
  88. Echo 37. Reinstall and Re-Register Photos
  89. Echo.
  90. Echo 38. Reinstall and Re-Register Settings
  91. Echo.
  92. Echo 39. Reinstall and Re-Register Skype
  93. Echo.
  94. Echo 40. Reinstall and Re-Register Snip and Sketch
  95. Echo.
  96. Echo 41. Reinstall and Re-Register Sports
  97. Echo.
  98. Echo 42. Reinstall and Re-Register Sticky Notes
  99. Echo.
  100. Echo 43. Reinstall and Re-Register Sway
  101. Echo.
  102. Echo 44. Reinstall and Re-Register Tips
  103. Echo.
  104. Echo 45. Reinstall and Re-Register Twitter
  105. Echo.
  106. Echo 46. Reinstall and Re-Register Voice Recorder
  107. Echo.
  108. Echo 47. Reinstall and Re-Register Weather
  109. Echo.
  110. Echo 48. Reinstall and Re-Register Xbox Console Companion
  111. Echo.
  112. Echo 49. Reinstall and Re-Register Xbox Game Bar
  113. Echo.
  114. Echo 50. Reinstall and Re-Register Xbox One SmartGlass
  115. Echo.
  116. Echo 51. Reinstall and Re-Register Your Phone
  117. Echo.
  118.  
  119. Set /p input= Type a number:
  120.  
  121. If %input%==1 Goto :Current
  122. If %input%==2 Goto :All
  123. If %input%==3 Goto :3DBuilder
  124. If %input%==4 Goto :3DViewer
  125. If %input%==5 Goto :Alarms
  126. If %input%==6 Goto :Connector
  127. If %input%==7 Goto :Calculator
  128. If %input%==8 Goto :Communications
  129. If %input%==9 Goto :Camera
  130. If %input%==10 Goto :Candy
  131. If %input%==11 Goto :PPIProjection
  132. If %input%==12 Goto :ContactSupport
  133. If %input%==13 Goto :Cortana
  134. If %input%==14 Goto :DrawboardPDF
  135. If %input%==15 Goto :FeedbackHub
  136. If %input%==16 Goto :ContactSupport
  137. If %input%==17 Goto :Office
  138. If %input%==18 Goto :GetStarted
  139. If %input%==19 Goto :ZuneMusic
  140. If %input%==20 Goto Communicationsapps
  141. If %input%==21 Goto :Maps
  142. If %input%==22 Goto :Messaging
  143. If %input%==23 Goto :Edge
  144. If %input%==24 Goto :Solitaire
  145. If %input%==25 Goto :Store
  146. If %input%==26 Goto :Whiteboard
  147. If %input%==27 Goto :MixedReality
  148. If %input%==28 Goto :BingFinance
  149. If %input%==29 Goto :ZuneVideo
  150. If %input%==30 Goto :BingNews
  151. If %input%==31 Goto :OneDrive
  152. If %input%==32 Goto :OneNote
  153. If %input%==33 Goto :MSPaint
  154. If %input%==34 Goto :People
  155. If %input%==35 Goto :Phone
  156. If %input%==36 Goto :WindowsPhone
  157. If %input%==37 Goto :Photos
  158. If %input%==38 Goto :Settings
  159. If %input%==39 Goto :Skype
  160. If %input%==40 Goto :ScreenSketch
  161. If %input%==41 Goto :BingSports
  162. If %input%==42 Goto :StickyNotes
  163. If %input%==43 Goto :Sway
  164. If %input%==44 Goto :Tips
  165. If %input%==45 Goto :Twitter
  166. If %input%==46 Goto :SoundRecorder
  167. If %input%==47 Goto :Weather
  168. If %input%==48 Goto :XboxApp
  169. If %input%==49 Goto :XboxGamingOverlay
  170. If %input%==50 Goto :XboxOneSmartGlass
  171. If %input%==51 Goto :YourPhone
  172.  
  173. Goto :EOF
  174.  
  175.  
  176.  
  177.  
  178.  
  179. :Current
  180.  
  181. Cd %TMP%
  182.  
  183. Echo Get-AppXPackage ^| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} > Current.ps1
  184.  
  185. Powershell -ExecutionPolicy ByPass -File Current.ps1
  186.  
  187. Del Current.ps1
  188.  
  189. Goto :Choice
  190. :All
  191.  
  192. Cd %TMP%
  193.  
  194. Echo Get-AppXPackage -AllUsers ^| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} > All.ps1
  195.  
  196. Powershell -ExecutionPolicy ByPass -File All.ps1
  197.  
  198. Del All.ps1
  199.  
  200. Goto :Choice
  201.  
  202.  
  203. :3DBuilder
  204.  
  205. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *3DBuilder*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  206.  
  207. Goto :Choice
  208.  
  209.  
  210. :3DViewer
  211.  
  212. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft3DViewer*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  213.  
  214. Goto :Choice
  215.  
  216. :Alarms
  217.  
  218. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsAlarms*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  219.  
  220. Goto :Choice
  221.  
  222.  
  223. :Connector
  224.  
  225. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *AppConnector*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  226.  
  227. Goto :Choice
  228.  
  229. :Calculator
  230.  
  231. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsCalculator*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  232.  
  233. Goto :Choice
  234.  
  235. :Communications
  236.  
  237. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *windowscommunicationsapps*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  238.  
  239. Goto :Choice
  240.  
  241.  
  242. :Camera
  243.  
  244. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsCamera*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  245.  
  246. Goto :Choice
  247.  
  248.  
  249. :Candy
  250.  
  251. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *CandyCrushSodaSaga*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  252.  
  253. Goto :Choice
  254.  
  255.  
  256. :PPIProjection
  257.  
  258. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *PPIProjection*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  259.  
  260. Goto :Choice
  261.  
  262.  
  263. :ContactSupport
  264.  
  265. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ContactSupport*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  266.  
  267. Goto :Choice
  268.  
  269.  
  270. :Cortana
  271.  
  272. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Windows.Cortana*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  273.  
  274. Goto :Choice
  275.  
  276.  
  277. :DrawboardPDF
  278.  
  279. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *DrawboardPDF*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  280.  
  281. Goto :Choice
  282.  
  283.  
  284. :FeedbackHub
  285.  
  286. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsFeedbackHub*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  287.  
  288. Goto :Choice
  289.  
  290.  
  291. :ContactSupport
  292.  
  293. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ContactSupport*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  294.  
  295.  
  296. Goto :Choice
  297.  
  298. :Office
  299.  
  300. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftOfficeHub*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  301.  
  302. Goto :Choice
  303.  
  304. :GetStarted
  305.  
  306. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *GetStarted*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  307.  
  308.  
  309. Goto :Choice
  310.  
  311. :ZuneMusic
  312.  
  313. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ZuneMusic*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  314.  
  315.  
  316. Goto :Choice
  317.  
  318.  
  319. :Communicationsapps
  320.  
  321. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *windowscommunicationsapps*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  322.  
  323.  
  324. Goto :Choice
  325.  
  326. :Maps
  327.  
  328. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsMaps*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  329.  
  330. Goto :Choice
  331.  
  332. :Messaging
  333.  
  334. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Messaging*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  335.  
  336.  
  337. Goto :Choice
  338.  
  339. :Edge
  340.  
  341. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftEdge*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  342.  
  343.  
  344. Goto :Choice
  345.  
  346. :Solitaire
  347.  
  348. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftSolitaireCollection*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  349.  
  350.  
  351. Goto :Choice
  352.  
  353.  
  354. :Store
  355.  
  356. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  357.  
  358.  
  359.  
  360. Goto :Choice
  361.  
  362.  
  363. :Whiteboard
  364.  
  365. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.Whiteboard*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  366.  
  367.  
  368. Goto :Choice
  369.  
  370.  
  371. :MixedReality
  372.  
  373. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.MixedReality.Portal*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  374.  
  375.  
  376. Goto :Choice
  377.  
  378. :BingFinance
  379.  
  380. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingFinance*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  381.  
  382.  
  383. Goto :Choice
  384.  
  385. :ZuneVideo
  386.  
  387. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ZuneVideo*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  388.  
  389.  
  390. Goto :Choice
  391.  
  392.  
  393. :BingNews
  394.  
  395. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingNews*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  396.  
  397.  
  398. Goto :Choice
  399.  
  400.  
  401. :OneDrive
  402.  
  403. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *microsoft.microsoftskydrive*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  404.  
  405.  
  406. Goto :Choice
  407.  
  408.  
  409. :OneNote
  410.  
  411. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Office.OneNote*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  412.  
  413.  
  414. Goto :Choice
  415.  
  416.  
  417. :MSPaint
  418.  
  419. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MSPaint*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  420.  
  421.  
  422. Goto :Choice
  423.  
  424. :People
  425.  
  426. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *People*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  427.  
  428.  
  429. Goto :Choice
  430.  
  431. :Phone
  432.  
  433. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *CommsPhone*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  434.  
  435.  
  436. Goto :Choice
  437.  
  438. :WindowsPhone
  439.  
  440. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsPhone*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  441.  
  442.  
  443. Goto :Choice
  444.  
  445. :Photos
  446.  
  447. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Photos*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  448.  
  449.  
  450. Goto :Choice
  451.  
  452.  
  453. :Settings
  454.  
  455. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *immersivecontrolpanel*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  456.  
  457.  
  458. Goto :Choice
  459.  
  460.  
  461. :Skype
  462.  
  463. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *SkypeApp*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  464.  
  465.  
  466. Goto :Choice
  467.  
  468. :ScreenSketch
  469.  
  470. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.ScreenSketch*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  471.  
  472. Goto :Choice
  473.  
  474.  
  475. :BingSports
  476.  
  477. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingSports*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  478.  
  479.  
  480. Goto :Choice
  481.  
  482.  
  483. :StickyNotes
  484.  
  485. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftStickyNotes*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  486.  
  487.  
  488. Goto :Choice
  489.  
  490.  
  491. :Sway
  492.  
  493. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Office.Sway*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  494.  
  495.  
  496. Goto :Choice
  497.  
  498.  
  499. :Tips
  500.  
  501. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.Getstarted*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  502.  
  503.  
  504. Goto :Choice
  505.  
  506. :Twitter
  507.  
  508. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Twitter*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  509.  
  510.  
  511. Goto :Choice
  512.  
  513.  
  514. :SoundRecorder
  515.  
  516. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsSoundRecorder*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  517.  
  518.  
  519. Goto :Choice
  520.  
  521.  
  522. :Weather
  523.  
  524. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingWeather*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  525.  
  526.  
  527.  
  528. Goto :Choice
  529.  
  530.  
  531. :XboxApp
  532.  
  533. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *XboxApp*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  534.  
  535.  
  536.  
  537. Goto :Choice
  538.  
  539.  
  540. :XboxGamingOverlay
  541.  
  542. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.XboxGamingOverlay*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  543.  
  544.  
  545.  
  546. Goto :Choice
  547.  
  548.  
  549. :XboxOneSmartGlass
  550.  
  551. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *XboxOneSmartGlass*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  552.  
  553.  
  554. Goto :Choice
  555.  
  556.  
  557. :YourPhone
  558.  
  559. PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.YourPhone*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
  560.  
  561. Goto :Choice
  562.  
Advertisement
Add Comment
Please, Sign In to add comment