Habbee gelitaanka galka la xakameeyey adoo isticmaalaya Siyaasadda Kooxda & PowerShell

Galitaanka galka la xakameeyey(Controlled folder access) waa sifada ka hortagga faragelinta ee laga heli karo Microsoft Defender Exploit Guard , kaas oo qayb ka ah Kahortagaha Difaaca Microsoft(Microsoft Defender Antivirus) . Waxaa loo qorsheeyay ugu horrayn si looga hortago ransomware inay sir xogtaada/faylalkaaga, laakiin sidoo kale waxay ka ilaalisaa faylasha isbeddellada aan loo baahnayn ee codsiyada kale ee xaasidnimada leh. Maqaalkan, waxaan ku tusi doonaa sida loo habeeyo gelitaanka galka la xakameeyey iyadoo la adeegsanayo Siyaasadda Kooxda & PowerShell(configure Controlled Folder Access using Group Policy & PowerShell) gudaha Windows 11/10.

Habkani waa mid ikhtiyaari ah Windows 10 laakiin marka la furo, muuqaalku wuxuu awood u leeyahay inuu raad raaco faylasha la fulin karo, qoraallada, iyo DLLs , kuwaas oo isku dayaya inay isbeddel ku sameeyaan faylasha faylalka la ilaaliyo. Haddii abka ama faylka uu yahay mid xaasidnimo ah ama aan la aqoonsanayn, sifada ayaa xannibi doonta isku dayga wakhtiga dhabta ah, oo waxaad heli doontaa ogeysiin ku saabsan hawsha shakiga leh.

Habbee gelitaanka galka la(Folder Access) xakameeyey adoo isticmaalaya Siyaasadda Kooxda(Group Policy)

Si aad u habayso gelitaanka galka la kantaroolay(Controlled Folder Access) adoo isticmaalaya Siyaasadda Kooxda(Group Policy) , marka hore waxaad u baahan tahay inaad karti u yeelato sifadan . Marka la sameeyo, waxaad sii wadi kartaa habaynta kuwan soo socda:

Kudar meel cusub oo ilaalin ah adoo adeegsanaya tifaftiraha Siyaasadda Kooxda Maxaliga ah(Local Group Policy Editor)

Galitaanka faylka la xakameeyey-Ku dar meel cusub oo ilaalin ah

Haddii galitaanka galka la xakameeyey la furo, faylalka aasaasiga ah waxaa lagu daraa si caadi ah. Haddii ay tahay inaad ilaaliso xogta ku taal meel kale, markaa waxaad isticmaali kartaa Configure protected faylalka(Configure protected folders) si aad ugu darto gal cusub.

Waa kan sida:

  • Riix Windows key + R si aad ugu yeerto Run dialog
  • Ku qor sanduuqa wada hadalka Run gpedit.mscoo ku dhufo Gelida si aad u furto Tifaftiraha Siyaasadda Kooxda(open Group Policy Editor) .
  • Gudaha tifaftiraha Siyaasadda Kooxda Maxaliga ah(Local Group Policy Editor) , isticmaal shayga bidix si aad ugu socotid jidka hoose:
Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Controlled Folder Access
  • Laba jeer  dhagsi ku habee siyaasada faylalka la ilaaliyo(Configure protected folders) ee dhinaca midigta si aad wax uga beddesho hantideeda.
  • Dooro  badhanka(Enabled) raadiyaha karti leh.
  • Hoosta qaybta ikhtiyaariga(Options) ah, dhagsii badhanka Show  .
  • Sheeg meelaha aad rabto inaad ilaaliso adiga oo gelaya dariiqa galka (tusaale; F:MyData) goobta magaca Qiimaha(Value name) oo ku dara 0 goobta Qiimaha(Value) . Ku celi talaabadan si aad ugu darto goobo badan.
  • Guji   badhanka OK
  • Guji   badhanka Codso .(Apply)
  • Guji   badhanka OK

Galka cusub hadda waxaa lagu dari doonaa liiska ilaalinta ee gelitaanka galka la kantaroolay . (Controlled)Si aad u soo celiso isbeddelada, raac tilmaamaha kore, laakiin dooro  ikhtiyaarka aan la dejin(Not Configured) ama naafo(Disabled) .

Liistada abka ee galitaanka galka la xakameeyey iyadoo la adeegsanayo (Controlled)tifaftiraha Siyaasadda Kooxda Maxalliga(Local Group Policy Editor)

Galka galitaanka ee la xakameeyey - abka liiska cad

  • Fure Tifaftiraha Siyaasadda Kooxda Maxaliga.
  • Gudaha tifaftiraha Siyaasadda Kooxda Maxaliga ah(Local Group Policy Editor) , isticmaal shayga bidix si aad ugu socotid jidka hoose:
Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Controlled Folder Access
  • Laba jeer dhagsii Configure la oggolaaday(Configure allowed applications)  siyaasada codsiyada ee shayga midig si aad wax uga beddesho hantideeda.
  • Dooro  badhanka(Enabled) raadiyaha karti leh.
  • Hoosta qaybta ikhtiyaariga(Options) ah, dhagsii badhanka Show  .
  • Sheeg meesha uu ku yaalo faylka .exe ee appka (tusaale; C:Program Files (x86)GoogleChromeApplicationchrome.exe) aad rabto in aad u ogolaato goobta magaca Qiimaha(Value name) oo ku dar 0 goobta Qiimaha(Value) . Ku celi talaabadan si aad ugu darto goobo badan.
  • Guji   badhanka OK
  • Guji   badhanka Codso .(Apply)
  • Guji   badhanka OK

Hadda, abka la cayimay lama xannibi doono marka gelitaanka galka la kantaroolay la shido, oo waxay awood u yeelan doontaa inay isbeddel ku samayso faylasha iyo faylalka la ilaaliyo. Si aad u soo celiso isbeddelada, raac tilmaamaha kore, laakiin dooro  ikhtiyaarka aan la dejin(Not Configured) ama naafo(Disabled) .

Loogu talagalay Windows 11/10 Isticmaalayaasha guriga , waxaad ku (Home)dari kartaa qaabka Tifaftiraha Siyaasadda Kooxda Maxaliga(add Local Group Policy Editor) ah ka dibna ful tilmaamaha sida kor lagu sheegay ama waxaad samayn kartaa habka PowerShell ee hoose.

Ku habbee gelitaanka galka(Folder Access) la xakameeyey adoo isticmaalaya PowerShell

Si aad u habayso gelitaanka Folderka la xakameeyey(Controlled Folder Access) iyadoo la isticmaalayo Siyaasadda Kooxda(Group Policy) , marka hore waxaad u baahan tahay inaad karti u yeelato sifada. Marka la sameeyo, waxaad sii wadi kartaa habaynta kuwan soo socda:

Kudar(Add) meel cusub oo ilaalin ah adoo isticmaalaya PowerShell

  • Riix furaha Windows + X si aad u furto Menu User Power(open Power User Menu) .
  • Taabo A kiiboodhka si aad u bilawdo PowerShell habka maamulka/sare.
  • Gudaha PowerShell console, ku qor amarka hoose oo ku dhufo Gelida(Enter) .
Add-MpPreference -ControlledFolderAccessProtectedFolders "F:\folder\path\to\add"

Amarka, ku beddel F: olderpath oaddmeeleeyaha jidka dhabta ah ee goobta iyo fulinta abka aad rabto inaad oggolaato. Markaa tusaale ahaan, amarkaagu waa inuu u ekaado sidan soo socota:

Add-MpPreference -ControlledFolderAccessProtectedFolders "F:\MyData"
  • Si aad meesha uga saarto galka, ku qor amarka hoose oo ku dhufo Gelida(Enter) :
Disable-MpPreference -ControlledFolderAccessProtectedFolders "F:\folder\path\to\remove"

Liistada abka ee galitaanka galka la xakameeyey iyadoo la isticmaalayo (Controlled)PowerShell

  • Ku billow PowerShell(PowerShell) qaabka maamulka/sare.
  • Gudaha PowerShell console, ku qor amarka hoose oo ku dhufo Gelida(Enter) .
Add-MpPreference -ControlledFolderAccessAllowedApplications "F:\path\to\app\app.exe"

Amarka, ku beddel F:path oappapp.exe meeleeyaha jidka dhabta ah ee goobta iyo fulinta abka aad rabto inaad oggolaato. Markaa tusaale ahaan, amarkaagu waa inuu u ekaado sidan soo socota:

Add-MpPreference -ControlledFolderAccessAllowedApplications "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"

Amarka kore wuxuu Chrome ku dari doonaa liiska abka la ogolyahay abka waxaa loo ogolaan doonaa inuu shaqeeyo oo uu wax ka bedelo faylashaada marka galitaanka galka la kantaroolo la furo.(Controlled)

  • Si aad meesha uga saarto abka, ku qor amarka hoose oo ku dhufo Gelida(Enter) :
Remove-MpPreference -ControlledFolderAccessAllowedApplications "F:\path\to\app\app.exe"

Taasi waa sida loo habeeyo gelitaanka galka la xakameeyey(Controlled Folder Access) iyadoo la adeegsanayo Siyaasadda Kooxda(Group Policy) & PowerShell gudaha Windows 11/10 !



About the author

Anigu waxaan ahay windows 10/11/10 xirfadle taageero macaamiisha leh in ka badan 5 sano oo waayo-aragnimo ah. Waxaan sidoo kale ahaa ciyaaryahan aad u firfircoon dhowrkii sano ee la soo dhaafay waxaanan xiiso xoog leh u hayaa xbox One. Diiradayda hadda waa ka caawinta macaamiisha dhibaatooyinka ay ku qabaan nidaamyada Windows 10 ama Windows 11, marar badan iyada oo la adeegsanayo aaladaha adeegga macaamiisha, sida taageerada xarunta wacitaanka iyo caawinta khadka.



Related posts