diff options
| author | WindowsAddict | 2025-02-01 22:20:02 +0000 |
|---|---|---|
| committer | WindowsAddict | 2025-02-01 22:20:02 +0000 |
| commit | b5ba36c033f160a7e8814d6f96d33ebfc5105e67 (patch) | |
| tree | 44adbcecc83e4221bb23c3bd7ba09bebd0e53521 | |
| parent | d10b6d691e4af66c22fc5038ef9c50ee4c197ab1 (diff) | |
| download | Microsoft-Activation-Scripts-b5ba36c033f160a7e8814d6f96d33ebfc5105e67.zip | |
Remove UnQuickEdit in check activation script
| -rw-r--r-- | MAS/All-In-One-Version-KL/MAS_AIO.cmd | 18 | ||||
| -rw-r--r-- | MAS/Separate-Files-Version/Check_Activation_Status.cmd | 18 |
2 files changed, 0 insertions, 36 deletions
diff --git a/MAS/All-In-One-Version-KL/MAS_AIO.cmd b/MAS/All-In-One-Version-KL/MAS_AIO.cmd index 90639da..d16eb7d 100644 --- a/MAS/All-In-One-Version-KL/MAS_AIO.cmd +++ b/MAS/All-In-One-Version-KL/MAS_AIO.cmd @@ -6613,23 +6613,6 @@ $Admin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdenti $line2 = "============================================================"
$line3 = "____________________________________________________________"
-function UnQuickEdit
-{
- $t=[AppDomain]::CurrentDomain.DefineDynamicAssembly((Get-Random), 1).DefineDynamicModule((Get-Random), $False).DefineType((Get-Random))
- $t.DefinePInvokeMethod('GetStdHandle', 'kernel32.dll', 22, 1, [IntPtr], @([Int32]), 1, 3).SetImplementationFlags(128)
- $t.DefinePInvokeMethod('SetConsoleMode', 'kernel32.dll', 22, 1, [Boolean], @([IntPtr], [Int32]), 1, 3).SetImplementationFlags(128)
- $t.DefinePInvokeMethod('GetConsoleWindow', 'kernel32.dll', 22, 1, [IntPtr], @(), 1, 3).SetImplementationFlags(128)
- $t.DefinePInvokeMethod('SendMessageW', 'user32.dll', 22, 1, [IntPtr], @([IntPtr], [UInt32], [IntPtr], [IntPtr]), 1, 3).SetImplementationFlags(128)
- $k=$t.CreateType()
- if ($winbuild -GE 17763) {
- if ($k::SendMessageW($k::GetConsoleWindow(), 127, 0, 0) -EQ [IntPtr]::Zero) {
- return
- }
- }
- $v=(0x0080, 0x00A0)[!($winbuild -GE 10586)]
- $b=$k::SetConsoleMode($k::GetStdHandle(-10), $v)
-}
-
function echoWindows
{
CONOUT "$line2"
@@ -7538,7 +7521,6 @@ function ClicRun #endregion
$Host.UI.RawUI.WindowTitle = "Check Activation Status"
-UnQuickEdit
if ($All.IsPresent) {
$B=$Host.UI.RawUI.BufferSize;$B.Height=3000;$Host.UI.RawUI.BufferSize=$B;
if (!$Pass.IsPresent) {clear;}
diff --git a/MAS/Separate-Files-Version/Check_Activation_Status.cmd b/MAS/Separate-Files-Version/Check_Activation_Status.cmd index 3340948..52b15b7 100644 --- a/MAS/Separate-Files-Version/Check_Activation_Status.cmd +++ b/MAS/Separate-Files-Version/Check_Activation_Status.cmd @@ -140,23 +140,6 @@ $Admin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdenti $line2 = "============================================================"
$line3 = "____________________________________________________________"
-function UnQuickEdit
-{
- $t=[AppDomain]::CurrentDomain.DefineDynamicAssembly((Get-Random), 1).DefineDynamicModule((Get-Random), $False).DefineType((Get-Random))
- $t.DefinePInvokeMethod('GetStdHandle', 'kernel32.dll', 22, 1, [IntPtr], @([Int32]), 1, 3).SetImplementationFlags(128)
- $t.DefinePInvokeMethod('SetConsoleMode', 'kernel32.dll', 22, 1, [Boolean], @([IntPtr], [Int32]), 1, 3).SetImplementationFlags(128)
- $t.DefinePInvokeMethod('GetConsoleWindow', 'kernel32.dll', 22, 1, [IntPtr], @(), 1, 3).SetImplementationFlags(128)
- $t.DefinePInvokeMethod('SendMessageW', 'user32.dll', 22, 1, [IntPtr], @([IntPtr], [UInt32], [IntPtr], [IntPtr]), 1, 3).SetImplementationFlags(128)
- $k=$t.CreateType()
- if ($winbuild -GE 17763) {
- if ($k::SendMessageW($k::GetConsoleWindow(), 127, 0, 0) -EQ [IntPtr]::Zero) {
- return
- }
- }
- $v=(0x0080, 0x00A0)[!($winbuild -GE 10586)]
- $b=$k::SetConsoleMode($k::GetStdHandle(-10), $v)
-}
-
function echoWindows
{
CONOUT "$line2"
@@ -1065,7 +1048,6 @@ function ClicRun #endregion
$Host.UI.RawUI.WindowTitle = "Check Activation Status"
-UnQuickEdit
if ($All.IsPresent) {
$B=$Host.UI.RawUI.BufferSize;$B.Height=3000;$Host.UI.RawUI.BufferSize=$B;
if (!$Pass.IsPresent) {clear;}
|
