Windows 11 Activation script

Cole Phelps

Well-known member
  • Apr 9, 2025
    1,321
    2,187
    113
    California
    open source නේ, FAQ කියවන්න
    ඒත් නැත්නම් එයාලගේ website එකේ manual activation තියෙනවා step by step

    meka activate wenne kohomada danna kenak explain karanna
    දැනගන්න අවශ්‍ය හැමදේම GitHub readme එකෙයි, website එකෙයි තියෙනවා
    ඒවා මෙතන copy paste කරන එක තේරුමක් නැහැ
    https://massgrave.dev/#how-to-activate-windows--office

    nathnam Draz eka kenak gen Key ekak ganna ekada hoda
    ඒක ඊට වඩා risky
     
    • Like
    Reactions: Reincarnator

    kasun090354t

    Well-known member
  • Aug 21, 2011
    24,045
    36,050
    113
    කෑගල්ල
    https://massgrave.dev/
    Code:
    Method 1 - PowerShell
    (Recommended)
    
    On Windows 8.1/10/11, right-click on the windows start menu and select PowerShell or Terminal (Not CMD).
    Copy-paste the below code and press enter
    irm https://massgrave.dev/get | iex
    You will see the activation options, and follow onscreen instructions.
    That’s all.

    මේක වැඩ මගේ හිතේ,
    ගෙදර desktop එකට දාද්දී මගේ අතින් වැරදිලා office එකේ mail address එක වැදුන. බඩු auto ම active උනා. :lol: දැන් මගේ personal එකට මාරු කරත් මොකුත් වෙන්නේ නෑ.
     
    • Like
    Reactions: Reincarnator

    cmsgun

    Well-known member
  • Jul 5, 2011
    2,028
    331
    83
    Kaduwela
    මේක වැඩ මගේ හිතේ,
    ගෙදර desktop එකට දාද්දී මගේ අතින් වැරදිලා office එකේ mail address එක වැදුන. බඩු auto ම active උනා. :lol: දැන් මගේ personal එකට මාරු කරත් මොකුත් වෙන්නේ නෑ.
    a mokadda ban email kathawa meka wada thamai , uba activate karanna kalin MS email eka deela log unada . activate karala passe log unoth sync wenne nadda
     

    Reincarnator

    Well-known member
  • May 20, 2022
    12,328
    30,145
    113
    අපායෙ දොරකඩ
    Machan Windows 11 Activation script eka genine product wage wada karanawada
    virus nadda mekata hardware level ekata wadinawa ne key eka
    meka activate wenne kohomada danna kenak explain karanna
    nathnam Draz eka kenak gen Key ekak ganna ekada hoda


    https://github.com/massgravel/Microsoft-Activation-Scripts

    Updates ehemath wada. mama Lap ekakata Win 11 Pro dala thiyenne dan over 1 year indan. Kisi awulak nathiwa langakadi windows update eken 24H2 ekata update una. Iyeth update kara after 5 weeks. Thama nan kisima awulak na. MS Office ekath mehema thamayi damme. Ekath update una.
     

    LonelyDay

    Active member
  • Apr 7, 2025
    150
    177
    43
    This script is designed to download & execute a `MAS_AIO.cmd` file, which is part of the Microsoft Activation Scripts project. MAS is used to activate Microsoft products through unofficial methods.


    1.TLS 1.2 Compatibility

    - `[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12`
    - This line enforces the use of TLS 1.2 for secure communication, ensuring compatibility with older systems.

    2. Download URLs

    - The script defines two URLs (`$DownloadURL1` and `$DownloadURL2`) from which to download the `MAS_AIO.cmd` file. One from GitHub and one from Bitbucket, providing redundancy.

    3. Random URL Selection

    - `$RandomURL1 = Get-Random -InputObject $URLs`
    - `$RandomURL2 = $URLs -ne $RandomURL1`
    - The script randomly selects one URL to download the script. If the download fails from the first URL, it attempts to download from the second.

    4. Error Handling
    - The `try-catch` block handles potential download errors. If `Invoke-WebRequest` fails for the first URL, it tries the second URL.

    5. File Path Determination

    - `$isAdmin = [bool]([Security.Principal.WindowsIdentity]::GetCurrent().Groups -match 'S-1-5-32-544')`
    - `$FilePath = if ($isAdmin) { "$env:SystemRoot\Temp\MAS_$rand.cmd" } else { "$env:TEMP\MAS_$rand.cmd" }`
    - The script checks if the current user has administrative privileges. If so, it saves the downloaded script to the `C:\Windows\Temp` directory; otherwise, it saves to the user's temporary directory (`$env:TEMP`).

    6. Script Execution

    - `Start-Process $FilePath $ScriptArgs -Wait`
    - This line executes the downloaded `MAS_AIO.cmd` script.
    - The `-Wait` parameter ensures the script waits for `MAS_AIO.cmd` to finish before proceeding.

    7. Cleanup

    - `$FilePaths = @("$env:TEMP\MAS*.cmd", "$env:SystemRoot\Temp\MAS*.cmd")`
    - `foreach ($FilePath in $FilePaths) { Get-Item $FilePath | Remove-Item }`
    - The script cleans up temporary files created during the process, deleting any `MAS*.cmd` files from both the user's temp directory and the system's temp directory.

    ✴️ Security Analysis ✴️

    1. Risk of Downloading from Untrusted Sources

    - The script downloads and executes a `.cmd` file from a remote source, which poses a risk if the source is compromised or malicious.
    - While the script uses HTTPS, it's crucial to trust the integrity of `massgrave.dev` and the linked raw content on GitHub/Bitbucket.

    2. Execution of Arbitrary Code

    - By downloading and executing a `.cmd` file, the script is essentially running arbitrary code on the system, which could be harmful if the downloaded script is malicious.

    3. Administrative Privileges

    - The script checks for administrative privileges and saves the downloaded file to a different location based on these privileges.
    - Running `.cmd` scripts with administrative privileges can lead to system-wide changes, making it critical to trust the source.

    4. No Integrity Check

    - The script does not perform any integrity checks (e.g., hashing) on the downloaded `.cmd` file to ensure it hasn't been tampered with during transit.

    5. Reliance on External Resources

    - The script depends on external resources (GitHub, Bitbucket) which can be subject to downtime or tampering.
     

    lkfunboy

    Active member
  • Jul 10, 2012
    948
    196
    43
    This script is designed to download & execute a `MAS_AIO.cmd` file, which is part of the Microsoft Activation Scripts project. MAS is used to activate Microsoft products through unofficial methods.


    1.TLS 1.2 Compatibility

    - `[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12`
    - This line enforces the use of TLS 1.2 for secure communication, ensuring compatibility with older systems.

    2. Download URLs

    - The script defines two URLs (`$DownloadURL1` and `$DownloadURL2`) from which to download the `MAS_AIO.cmd` file. One from GitHub and one from Bitbucket, providing redundancy.

    3. Random URL Selection

    - `$RandomURL1 = Get-Random -InputObject $URLs`
    - `$RandomURL2 = $URLs -ne $RandomURL1`
    - The script randomly selects one URL to download the script. If the download fails from the first URL, it attempts to download from the second.

    4. Error Handling
    - The `try-catch` block handles potential download errors. If `Invoke-WebRequest` fails for the first URL, it tries the second URL.

    5. File Path Determination

    - `$isAdmin = [bool]([Security.Principal.WindowsIdentity]::GetCurrent().Groups -match 'S-1-5-32-544')`
    - `$FilePath = if ($isAdmin) { "$env:SystemRoot\Temp\MAS_$rand.cmd" } else { "$env:TEMP\MAS_$rand.cmd" }`
    - The script checks if the current user has administrative privileges. If so, it saves the downloaded script to the `C:\Windows\Temp` directory; otherwise, it saves to the user's temporary directory (`$env:TEMP`).

    6. Script Execution

    - `Start-Process $FilePath $ScriptArgs -Wait`
    - This line executes the downloaded `MAS_AIO.cmd` script.
    - The `-Wait` parameter ensures the script waits for `MAS_AIO.cmd` to finish before proceeding.

    7. Cleanup

    - `$FilePaths = @("$env:TEMP\MAS*.cmd", "$env:SystemRoot\Temp\MAS*.cmd")`
    - `foreach ($FilePath in $FilePaths) { Get-Item $FilePath | Remove-Item }`
    - The script cleans up temporary files created during the process, deleting any `MAS*.cmd` files from both the user's temp directory and the system's temp directory.

    ✴️ Security Analysis ✴️

    1. Risk of Downloading from Untrusted Sources

    - The script downloads and executes a `.cmd` file from a remote source, which poses a risk if the source is compromised or malicious.
    - While the script uses HTTPS, it's crucial to trust the integrity of `massgrave.dev` and the linked raw content on GitHub/Bitbucket.

    2. Execution of Arbitrary Code

    - By downloading and executing a `.cmd` file, the script is essentially running arbitrary code on the system, which could be harmful if the downloaded script is malicious.

    3. Administrative Privileges

    - The script checks for administrative privileges and saves the downloaded file to a different location based on these privileges.
    - Running `.cmd` scripts with administrative privileges can lead to system-wide changes, making it critical to trust the source.

    4. No Integrity Check

    - The script does not perform any integrity checks (e.g., hashing) on the downloaded `.cmd` file to ensure it hasn't been tampered with during transit.

    5. Reliance on External Resources

    - The script depends on external resources (GitHub, Bitbucket) which can be subject to downtime or tampering.
    Is this chatgpt explained one ?
     
    Last edited:

    kasun090354t

    Well-known member
  • Aug 21, 2011
    24,045
    36,050
    113
    කෑගල්ල
    a mokadda ban email kathawa meka wada thamai , uba activate karanna kalin MS email eka deela log unada . activate karala passe log unoth sync wenne nadda
    Install වේද්දීම email එකක් ඉල්ලනවනේ, එකට office එකේ email එක දුන්නා. ඔය email එකට lap එකේ key එක link වෙලා තියනවා, තව office 365 account එක link වෙලා තියනවා, මොකක් උනද දන්නේ නෑ ඇතුලට ගිහින් බලද්දී, log වෙලා තියන account එකට key එකක් තියනවා, එකෙන් active වෙලා කියලා වැටුණා.

    මට ඕක තේරුනත් නෑ මුලින්, මම ඔය උඩින් දාපු එකෙන් activate කරන්න යද්දී තමා වැටුණේ මේක activated කියලා.
     

    cmsgun

    Well-known member
  • Jul 5, 2011
    2,028
    331
    83
    Kaduwela
    Install වේද්දීම email එකක් ඉල්ලනවනේ, එකට office එකේ email එක දුන්නා. ඔය email එකට lap එකේ key එක link වෙලා තියනවා, තව office 365 account එක link වෙලා තියනවා, මොකක් උනද දන්නේ නෑ ඇතුලට ගිහින් බලද්දී, log වෙලා තියන account එකට key එකක් තියනවා, එකෙන් active වෙලා කියලා වැටුණා.

    මට ඕක තේරුනත් නෑ මුලින්, මම ඔය උඩින් දාපු එකෙන් activate කරන්න යද්දී තමා වැටුණේ මේක activated කියලා.
    ah ok machan got it
     

    Inquisitor

    Active member
  • Nov 5, 2008
    227
    69
    28
    Off Kandy
    Machan Windows 11 Activation script eka genine product wage wada karanawada
    virus nadda mekata hardware level ekata wadinawa ne key eka
    meka activate wenne kohomada danna kenak explain karanna
    nathnam Draz eka kenak gen Key ekak ganna ekada hoda


    https://github.com/massgravel/Microsoft-Activation-Scripts
    Mama hithanne meka wada. YouTube eke thibyna video ekak Indian kaarayek upload karala. Eka balaagena mama ada activate kara gaththaa. Menna link eka:
     

    ytheekshana

    Well-known member
  • Feb 21, 2013
    1,177
    367
    83
    Kurunegala
    mata theruna widhata issara win 7 pc walata free win 10 digital license ekakata upgrade wenna puluwan una neh. passe eka Microsoft la ain kara. me script eken wenne e option ekama use karana eka. meken activate karama lifetime activate wenawa. aaya format karala demmath aaya auto activate wenawa. Genuine wdhatama activate wenawa meken.
     

    LZP1992

    Well-known member
  • Feb 6, 2014
    5,575
    5,851
    113
    @ගෙදර
    mata theruna widhata issara win 7 pc walata free win 10 digital license ekakata upgrade wenna puluwan una neh. passe eka Microsoft la ain kara. me script eken wenne e option ekama use karana eka. meken activate karama lifetime activate wenawa. aaya format karala demmath aaya auto activate wenawa. Genuine wdhatama activate wenawa meken.
    :yes:
     
    • Love
    Reactions: ytheekshana

    bigsmoke239

    Well-known member
  • Jan 14, 2010
    1,825
    138
    63
    ගෙදර
    oya script huttak eka parak run karla office active kara. Habai passe OS eka poddak pissu kelinna gatha nisa full format karala salli deela license ekak dagattha
    Rs 2000i giye
     
    • Like
    Reactions: AnuradhaRa