FreeBooter

Reinstall_and_Re-register_Apps

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