PowerShell Get-Appxpackage Aan shaqayn ama Galitaanka waa la diiday

Get-Appxpackage waa amar PowerShell oo muujin kara liiska xirmooyinka abka ee lagu rakibay astaanta isticmaalaha. Waxaa ku jira dhammaan codsiyada lagu rakibay Bakhaarka Microsoft(Microsoft Store) ama apps-ka dhinac saddexaad. Markaad isticmaalayso amarka, haddii aad hesho qalad - Powershell Get-Appxpackage Helitaanka La diiday, Lama aqoonsanin ama Aan Shaqeyn(Powershell Get-Appxpackage Access Denied, Not Recognized or Not Working) , markaa boostada ayaa kaa caawin doonta inaad tan xaliso.

PowerShell Get-Appxpackage Aan shaqayn

Fariinta qaladka ah ee aad arki karto way kala duwanaan kartaa laakiin sida caadiga ah, waxay akhrin doontaa:

Get-AppxPackage : The service cannot be started, either because it is disabled or because it has no enabled devices
associated with it. The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

PowerShell Get-Appxpackage Aan shaqayn

Waa arin ogolaansho oo lagu xalin karo marka la raaco jeegaga qaar.

  1. (Run PowerShell)Ku orod PowerShell adigoo isticmaalaya Oggolaanshaha maamulaha(Admin Permission)
  2. Ka hubi Ogolaanshaha (Check Permission)Hagaha(Destination Directory) Meesha
  3. (Check AppX Deployment Service)Hubi heerka Adeegga Gelitaanka AppX

Markaad beddesho oggolaanshaha galka, hubi inaadan ka saarin koontada isticmaale ee horeba u jiray.

1] Ku socodsii PowerShell(Run PowerShell) Oggolaanshaha maamulaha(Admin Permission)

Maadaama amarku u baahan yahay in lagu rakibo arjiga heerka nidaamka, waxaa muhiim ah inaad fuliso ama socodsiiso amarka marka la bilaabo ogolaanshaha maamulka.

  • Riix badhanka (Press)Start , oo ku qor PowerShell
  • Marka ay ka soo muuqato liiska, midig-guji oo dooro inaad u ordo(Run) sidii Maamule(Administrator)
  • Fuli amarka oo waa inuu ku shaqeeyaa qalad la'aan.

Marka laga reebo oggolaanshaha lagu diiday, waxa kale oo aad heli kartaa Aan la aqoonsanayn ama aan u shaqayn(Working) sidii khalad. Iyadoo aan la aqoonsanayn waxay la xiriirtaa ogolaanshaha maamulka, Shaqa la'aanta waxay la xiriirtaa Adeegyada(Services) .

Tag Services Snap-in , oo hel Adeegga Shatiga Macmiilka(Client License Service) ( ClipSVC ) iyo Adeegga Soo Dejinta Adeegga AppX(AppX Deployment Service) ( AppXSVC ). Hubi inay diyaar yihiin oo socdaan.

2] Ka hubi Ogolaanshaha (Check Permission)Hagaha(Destination Directory) Meesha

Haddii aad codsiga ku rakibayso gal gaar ah, ka dib iska hubi inaad haysato ogolaansho dhamaystiran oo aad ku qorto faylasha ku jira.

  • Aad galka Destination , midig-guji oo dooro Properties
  • Kadib u gudub Security tab
  • Hubi in akoonkaaga la heli karo iyo in kale, oo waxay haysataa ogolaansho buuxda.
  • Waxa kale oo aad u baahan tahay inaad hubiso in koontada isticmaalaha System uu jiro oo uu leeyahay koontarool buuxa(System)
  • Haddii kale, waxaad riixi kartaa badhanka Edit , oo ku dar iyaga oo raacaya ogolaanshaha.

3] Hubi heerka Adeegga Gelitaanka AppX(Check AppX Deployment Service)

Gudaha PowerShell console, Orod Get-Service "AppXSvc"oo arag.

Xaaladda Adeegga Gelitaanka AppX (AppXSVC)(AppX Deployment Service (AppXSVC)) waa in uu socdaa.

Haddi ay muujiso Joojin(Stopped) , dabadeed fur deg deg deg deg ah maamule ahaan oo orod:

net start AppXSvc

Haddii kale, waxaad furi kartaa Regedit oo aad u dhaqaaqi kartaa:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AppXSvc

Halkan ku deji qiimaha " Start " ilaa " 3 " oo dib u bilow.

Ku dheji(Post) isbeddeladan, waad fulin kartaa amarka, khaladkuna waa inuusan mar dambe dhicin.

Akhri(Read) : Sida loo beddelo oggolaanshaha Faylka iyo Folderka ee Windows(How to change File and Folder permissions in Windows) .

Sideen ugu suurtogeliyaa AppxPackage?

Amarka iyo faylalka la xiriira ayaa horeyba loogu heli jiray Windows , uma baahnid inaad ku rakibto wax gaar ah. Si kastaba ha ahaatee, hubi inaad ku fuliso ogolaanshaha maamulka haddii kale waxay odhan doontaa amarka lama aqoonsan.

Sidee dib loogu soo celin karaa Apps(Built-In Apps) -ka ku dhex jira Windows ?

Ku fur PowerShell(Open PowerShell) oo leh xuquuqaha maamulaha, oo fuli amarkan soo socda si aad u soo celiso dhammaan abka lagu dhex dhisay Windows.

Get-AppxPackage -AllUsers | For each app: Add-AppxPackage -DisableDevelopmentMode -Register "$($_InstallLocation)\AppXManifest.xml

Waxay qaadan doontaa wakhti in la dhammeeyo, iyo dhammaan apps-yada la heli karo marka aad dejiso Windows markii ugu horeysay waa la heli doonaa.

Waxaan rajeynayaa in boostada ay ahayd mid sahlan in la raaco, oo aad si cad u fahamto sababaha ka dambeeya qaladka.



About the author

Waxaan ahay injineer software leh in ka badan 10 sano oo waayo-aragnimo ah warshadaha software. Waxaan ku takhasusay abuurista iyo ilaalinta codsiyada software shaqsi iyo shirkad, iyo sidoo kale horumarinta qalabka horumarinta ee ganacsiyada yaryar iyo ururada waaweyn. Xirfadahaygu waxay ku jiraan horumarinta codeBase adag, wax ka saarista & qalabka tijaabinta, iyo inaan si dhow ula shaqeeyo isticmaalayaasha dhamaadka si loo hubiyo in codsiyadoodu u shaqeeyaan si aan cillad lahayn.



Related posts