├── PMAS.bat
├── preview.jpg
└── README.md
/PMAS.bat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullah-erturk/pmas/HEAD/PMAS.bat
--------------------------------------------------------------------------------
/preview.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullah-erturk/pmas/HEAD/preview.jpg
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | [](https://www.microsoft.com/)
4 | [](https://github.com/abdullah-erturk/pmas/)
5 | [](https://github.com/abdullah-erturk/pmas/releases)
6 |
7 | ## 🛠️ PMAS - PowerShell Multi Activation System v10
8 |
9 | 
10 |
11 |
12 | Türkçe Tanıtım
13 |
14 | ## Teşekkür
15 | * Projede kullanılan LibTSforge.dll dosyasını geliştiren [MASSGRAVE](https://github.com/massgravel/TSforge) ekibine çok teşekkürler 🎉
16 | * PowerShell betiğini hazırlamamda bana ilham veren (MDL) **Dark Vador**'a özel teşekkür 🎉
17 |
18 | # 📝 PMAS v10 [Powershell Multi Activation System]
19 |
20 | > Bu gelişmiş PowerShell scripti, Windows ve Office ürünlerini lisanslamak için tasarlanmış esnek ve modüler bir çözümdür. TSF yöntemi için Windows ve Office lisanslamasında `LibTSforge.dll` adlı özel bir .NET kütüphanesini bellekten çalıştırır. Ayrıca HWID, Ohook ve KMS Inject aktivasyon yöntemlerini de destekleyen full paket bir aktivasyon aracıdır.
21 |
22 | ## 🚀 Hızlı Başlangıç
23 |
24 | PowerShell komut satırı üzerinden çalıştırmak için işletim sisteminize uygun komutu kullanın:
25 |
26 | ### Windows 7 (PowerShell 2.0):
27 | ```powershell
28 | (New-Object Net.WebClient).DownloadString('https://erturk.netlify.app/run?ps=1') | iex
29 | ```
30 |
31 | ### Windows 8.1 ve Windows Server:
32 | ```powershell
33 | [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; irm erturk.netlify.app/run | iex
34 | ```
35 |
36 | ### Windows 10 ve Windows 11:
37 | ```powershell
38 | irm erturk.netlify.app/run | iex
39 | ```
40 |
41 | ### Nasıl Kullanılır?
42 | 1. **PowerShell Açın**
43 | Windows tuşu + X'e basın, ardından PowerShell veya Terminal'i seçin.
44 |
45 | 2. **Yukarıdaki komutlardan işletim sisteminize uygun olanı kopyalayıp yapıştırın ve Enter tuşuna basın.**
46 |
47 | ---
48 |
49 | ## 🎯 Özellikler
50 | - **Tam Otomatik Aktivasyon**
51 | - **GUI destekli sezgisel arayüz (PowerShell tabanlı menü - TSF)**
52 | - **Base64 üzerinden gömülü script çözme (decode)**
53 | - **İnternet bağlantısı kontrolü ve hata toleransı**
54 | - **Windows 7/8/8.1 için otomatik KMS yönlendirmesi**
55 | - **Windows 10/11 ve Server 2016+ için gelişmiş aktivasyon seçenekleri**
56 | - **İşletim sistemine özel PowerShell komut desteği**
57 |
58 | ---
59 |
60 | ## 🖥️ Desteklenen Ürünler
61 |
62 | ### Windows:
63 | - Windows 7 / 8.1 (KMS Inject ile)
64 | - Windows 10 (tüm sürümler)
65 | - Windows 11 (tüm sürümler)
66 | - Windows Server 2016 / 2019 / 2022 / 2025
67 | - KMS Host Server (Windows / Office)
68 |
69 | ### Office:
70 | - Office 2010 / 2013 / 2016 / 2019 / 2021 / 2024 / 365
71 |
72 | ---
73 |
74 | ## 📋 Aktivasyon Yöntemleri ve Açıklamaları
75 |
76 | ### 1️⃣ TSF Aktivasyon
77 | Bu yöntem telefonla etkinleştirilebilen Windows ve Office ürünlerini MAK-RETAIL-OEM-ESU (ESU Lisans sadece Windows 10 için geçerlidir) yöntemiyle kalıcı olarak etkinleştirir.
78 | Kullanım esnasında internet bağlantısı yoksa KMS Lisans yöntemiyle lisans ataması gerçekleştirir ve süresi 4000 yılı aşkındır.
79 | > 🔶 **TSF yöntemi internet gerektirir.**
80 | > 🔶 **TSF-KMS4k yöntemi internetsiz çalışabilir.**
81 |
82 | **Desteklenen Sistemler:** Windows 10 / 11 / Server 2016+
83 |
84 | ---
85 |
86 | ### 2️⃣ HWID Aktivasyon
87 | **(Donanım tabanlı dijital lisanslama)**
88 | HWID (Hardware ID) yöntemi Microsoft'un dijital lisans sistemini taklit eder. Tek seferlik aktivasyon sonrasında Microsoft hesabıyla eşleştiğinde kalıcı olur.
89 | > 🌐 **HWID yöntemi internet gerektirir.**
90 |
91 | **Desteklenen Sistemler:** Windows 10 / 11
92 |
93 | ---
94 |
95 | ### 3️⃣ Ohook Aktivasyon (Office)
96 | Ohook yöntemi bir dll dosyasının manipülasyonu ile Office sürümünü kalıcı olacak şekilde abonelikle etkinleştirilmiş gibi gösterir.
97 | > 🔴 **Ohook yöntemi internetsiz çalışabilir.**
98 |
99 | **Desteklenen Ürünler:** Office 2010 / 2013 / 2016 / 2019 / 2021 / 2024 / 365 (Windows 10 ve üzeri)
100 |
101 | ---
102 |
103 | ### 4️⃣ HWID + Ohook Aktivasyon
104 | Windows ve Office'i aynı anda aktive etmek için kombine yöntem. Tek seferde hem Windows hem Office lisanslaması yapar.
105 | > 🌐 **HWID için internet gereklidir, Ohook internetsiz çalışabilir.**
106 |
107 | **Desteklenen Sistemler:** Windows 10 / 11
108 |
109 | ---
110 |
111 | ### 5️⃣ KMS Inject Aktivasyon
112 | KMS (Key Management Service) yöntemi, özellikle eski Windows sürümleri için tasarlanmış aktivasyon yöntemidir. 180 günlük lisanslama sağlar ve otomatik yenileme sistemi içerir.
113 | > 🔴 **KMS Inject yöntemi internetsiz çalışabilir.**
114 | > 📌 **Windows 7/8/8.1 sistemler otomatik olarak KMS menüsüne yönlendirilir.**
115 |
116 | **Desteklenen Sistemler:** Windows 7 / 8.1 / 10 / 11 / Server 2016+
117 |
118 | ---
119 |
120 | ### 6️⃣ Ohook Aktivasyon Kaldır
121 | Daha önce yüklenmiş Ohook aktivasyonunu sistemden tamamen kaldırır.
122 |
123 | ---
124 |
125 | ### 7️⃣ Aktivasyon Kontrolü
126 | Yüklü Windows ve Office ürünlerinin lisans durumunu detaylı olarak raporlar.
127 | KMS bağlantı, kalan süre, sürüm tipi ve lisans durumu gibi bilgiler sağlar.
128 |
129 | ---
130 |
131 | ### 8️⃣ $OEM$ Klasörü Oluştur
132 | Windows kurulumu sırasında otomatik aktivasyon için $OEM$ klasörü oluşturur. Bu özellik ile:
133 | - **TSF $OEM$**: Windows kurulumu sonrası otomatik TSF aktivasyonu
134 | - **HWID & Ohook $OEM$**: Windows kurulumu sonrası otomatik HWID ve Ohook aktivasyonu
135 |
136 | > 💡 **$OEM$ klasörü sistemin kök dizinine (%systemdrive%\) oluşturulur ve kurulum medyasına kopyalanabilir.**
137 |
138 | ---
139 |
140 | ## ⚙️ Sistem Gereksinimleri
141 |
142 | - **İşletim Sistemi:** Windows 7, 8.1, 10, 11 veya Windows Server 2016 ve üzeri
143 | - **Mimari:** 64-bit (32-bit sistemler desteklenmez)
144 | - **Yönetici Yetkisi:** Gerekli
145 | - **PowerShell:**
146 | - Windows 7: PowerShell 2.0 veya üzeri
147 | - Windows 8.1/Server: PowerShell 4.0 veya üzeri
148 | - Windows 10/11: PowerShell 5.1 veya üzeri
149 |
150 | ---
151 |
152 | ## 📦 Kurulum ve Kullanım
153 |
154 | ### Yöntem 1: PowerShell Komutu ile (Önerilen)
155 | 1. **PowerShell'i Yönetici olarak açın**
156 | 2. İşletim sisteminize uygun komutu kullanın (yukarıdaki "Hızlı Başlangıç" bölümüne bakın)
157 |
158 | ### Yöntem 2: Manuel Kurulum
159 | 1. PMAS script dosyasını indirin.
160 | 2. Sağ tıklayıp **"Yönetici olarak çalıştırın"**.
161 | 3. **Windows 7/8/8.1** kullanıyorsanız otomatik olarak KMS menüsüne yönlendirileceksiniz.
162 | 4. **Windows 10/11** kullanıyorsanız açılan PowerShell menüsünden dilediğiniz aktivasyon modunu seçin:
163 | - `1` - TSF Aktivasyon
164 | - `2` - HWID Aktivasyon
165 | - `3` - Ohook Aktivasyon [Office]
166 | - `4` - HWID + Ohook Aktivasyon
167 | - `5` - KMS Inject Aktivasyon
168 | - `6` - Ohook Aktivasyon Kaldır
169 | - `7` - Aktivasyon Kontrolü
170 | - `8` - $OEM$ Klasörü Oluştur
171 | - `9` - Çıkış
172 |
173 | ---
174 |
175 | ## 🔒 Güvenlik Özellikleri
176 |
177 | PMAS v10, script bütünlüğünü korumak için SHA256 hash kontrolü içerir. Script değiştirildiğinde veya bozulduğunda çalışmaz ve kullanıcıyı uyarır.
178 |
179 | ---
180 |
181 | ## 🧪 Güvenlik Notu
182 |
183 | Bu script, **ticari olmayan** amaçlarla eğitim, test ve bireysel kullanım için tasarlanmıştır. Lisans koşullarınıza uygun olarak kullanınız.
184 |
185 | ---
186 |
187 | ## 🧬 Katkıda Bulun
188 |
189 | İyileştirme önerileri, hata raporları ve katkılar için GitHub üzerinde pull request gönderebilir veya issue açabilirsiniz.
190 |
191 | ---
192 |
193 | ## 📜 Lisans
194 |
195 | Bu script yalnızca kişisel kullanım ve eğitim içindir. Microsoft ürünleri için lisanslama işlemleri, yürürlükteki kullanım şartlarına uygun olarak yapılmalıdır.
196 |
197 |
198 |
199 | ---
200 |
201 |
202 | English Description
203 |
204 | ## Thanks
205 |
206 | * Huge thanks to the [MASSGRAVE](https://github.com/massgravel/TSforge) team for developing the `LibTSforge.dll` file used in this project 🎉
207 | * Special thanks to **Dark Vador** (from MDL) for the inspiration in creating this PowerShell script 🎉
208 |
209 | # 📝 PMAS v10 [Powershell Multi Activation System]
210 |
211 | > This advanced PowerShell script is a flexible and modular solution designed for licensing Windows and Office products. It runs a custom .NET library called "LibTSforge.dll" from memory for the TSF method of licensing Windows and Office. It's a full-service activation tool that also supports HWID, Ohook, and KMS Inject activation methods.
212 |
213 | ## 🚀 Quick Start
214 |
215 | Use the appropriate command for your operating system via PowerShell command line:
216 |
217 | ### Windows 7 (PowerShell 2.0):
218 | ```powershell
219 | (New-Object Net.WebClient).DownloadString('https://erturk.netlify.app/run?ps=1') | iex
220 | ```
221 |
222 | ### Windows 8.1 and Windows Server:
223 | ```powershell
224 | [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; irm erturk.netlify.app/run | iex
225 | ```
226 |
227 | ### Windows 10 and Windows 11:
228 | ```powershell
229 | irm erturk.netlify.app/run | iex
230 | ```
231 |
232 | ### How to Use?
233 | 1. **Open PowerShell**
234 | Press Windows key + X, then select PowerShell or Terminal.
235 |
236 | 2. **Copy and paste the appropriate command for your operating system and press Enter.**
237 |
238 | ---
239 |
240 | ## 🎯 Features
241 |
242 | - **Fully automated activation**
243 | - **GUI-assisted interactive PowerShell menu (TSF)**
244 | - **Base64 embedded script decoding**
245 | - **Internet connection check & fallback mechanisms**
246 | - **Automatic KMS redirection for Windows 7/8/8.1**
247 | - **Advanced activation options for Windows 10/11 and Server 2016+**
248 | - **OS-specific PowerShell command support**
249 |
250 | ---
251 |
252 | ## 🖥️ Supported Products
253 |
254 | ### Windows:
255 | - Windows 7 / 8.1 (via KMS Inject)
256 | - Windows 10 (all editions)
257 | - Windows 11 (all editions)
258 | - Windows Server 2016 / 2019 / 2022 / 2025
259 | - KMS Host Server (Windows / Office)
260 |
261 | ### Office:
262 | - Office 2010 / 2013 / 2016 / 2019 / 2021 / 2024 / 365
263 |
264 | ---
265 |
266 | ## 📋 Activation Methods Explained
267 |
268 | ### 1️⃣ TSF Activation
269 | This method permanently activates Windows and Office products that can be activated by phone using the MAK-RETAIL-OEM-ESU (ESU License is only valid for Windows 10) method.
270 |
271 | If there is no internet connection during use, the license is assigned using the KMS License method, and its validity period is over 4000 years.
272 | > 🔶 **The TSF method requires an internet connection.**
273 | > 🔶 **The TSF-KMS4k method can work without an internet connection.**
274 |
275 | **Supported Systems:** Windows 10 / 11 / Server 2016+
276 |
277 | ---
278 |
279 | ### 2️⃣ HWID Activation
280 | **(Hardware-Based Digital Licensing)**
281 | The HWID (Hardware ID) method mimics Microsoft's digital license system. After a one-time activation, it becomes permanent when it matches a Microsoft account.
282 | > 🌐 **The HWID method requires an internet connection.**
283 |
284 | **Supported Systems:** Windows 10 / 11
285 |
286 | ---
287 |
288 | ### 3️⃣ Ohook Activation (Office)
289 | The Ohook method manipulates a DLL file to make the Office version appear permanently activated through a subscription.
290 | > 🔴 **The Ohook method can work without an internet connection.**
291 |
292 | **Supported Systems:** Office 2010 / 2013 / 2016 / 2019 / 2021 / 2024 / 365 (Windows 10 and above)
293 |
294 | ---
295 |
296 | ### 4️⃣ HWID + Ohook Activation
297 | Combined method to activate both Windows and Office at once. Provides both Windows and Office licensing in a single operation.
298 | > 🌐 **Internet required for HWID, Ohook works offline.**
299 |
300 | **Supported Systems:** Windows 10 / 11
301 |
302 | ---
303 |
304 | ### 5️⃣ KMS Inject Activation
305 | KMS (Key Management Service) method is designed especially for older Windows versions. Provides 180-day licensing with automatic renewal system.
306 | > 🔴 **KMS Inject method can work without internet.**
307 | > 📌 **Windows 7/8/8.1 systems are automatically redirected to the KMS menu.**
308 |
309 | **Supported Systems:** Windows 7 / 8.1 / 10 / 11 / Server 2016+
310 |
311 | ---
312 |
313 | ### 6️⃣ Remove Ohook Activation
314 | Completely removes previously installed Ohook activation from the system.
315 |
316 | ---
317 |
318 | ### 7️⃣ Activation Check
319 | Displays current activation status for installed Windows and Office products — including channel type, license status, and remaining grace periods.
320 |
321 | ---
322 |
323 | ### 8️⃣ Create $OEM$ Folder
324 | Creates $OEM$ folder for automatic activation during Windows installation. With this feature:
325 | - **TSF $OEM$**: Automatic TSF activation after Windows installation
326 | - **HWID & Ohook $OEM$**: Automatic HWID and Ohook activation after Windows installation
327 |
328 | > 💡 **The $OEM$ folder is created in the system root directory (%systemdrive%\) and can be copied to installation media.**
329 |
330 | ---
331 |
332 | ## ⚙️ System Requirements
333 |
334 | - **Operating System:** Windows 7, 8.1, 10, 11, or Server 2016 and above
335 | - **Architecture:** 64-bit only (32-bit systems not supported)
336 | - **Admin Rights:** Required
337 | - **PowerShell:**
338 | - Windows 7: PowerShell 2.0 or newer
339 | - Windows 8.1/Server: PowerShell 4.0 or newer
340 | - Windows 10/11: PowerShell 5.1 or newer
341 |
342 | ---
343 |
344 | ## 📦 How to Use
345 |
346 | ### Method 1: Using PowerShell Command (Recommended)
347 | 1. **Open PowerShell as Administrator**
348 | 2. Use the appropriate command for your operating system (see "Quick Start" section above)
349 |
350 | ### Method 2: Manual Installation
351 | 1. Download the PMAS script.
352 | 2. Right-click and select **"Run as Administrator"**.
353 | 3. If you're using **Windows 7/8/8.1**, you'll be automatically redirected to the KMS menu.
354 | 4. If you're using **Windows 10/11**, use the interactive PowerShell menu to choose:
355 | - `1` - TSF Activation
356 | - `2` - HWID Activation
357 | - `3` - Ohook Activation [Office]
358 | - `4` - HWID + Ohook Activation
359 | - `5` - KMS Inject Activation
360 | - `6` - Remove Ohook Activation
361 | - `7` - Activation Check
362 | - `8` - Create $OEM$ Folder
363 | - `9` - Exit
364 |
365 | ---
366 |
367 | ## 🔒 Security Features
368 |
369 | PMAS v10 includes SHA256 hash verification to maintain script integrity. The script will not run if it has been modified or corrupted and will alert the user.
370 |
371 | ---
372 |
373 | ## 🧪 Safety Notice
374 |
375 | This script is for **educational and personal use only**. Please ensure compliance with applicable licensing terms before use.
376 |
377 | ---
378 |
379 | ## 🧬 Contribute
380 |
381 | Suggestions, improvements, and pull requests are welcome via GitHub.
382 |
383 | ---
384 | ## 📜 License
385 |
386 | This script is for personal and educational use only. Activation of Microsoft products must be done in accordance with applicable license terms.
387 |
388 |
389 |
390 |
391 |
--------------------------------------------------------------------------------