VBScript is scheduled for deprecation! So?


At the moment the impact is depreciation warning event 4096. I've seen them 1) with a local script - now using Powershell, 2) after running the performance monitor in MMC - a Windows tool, and 3) after running the AMD chipset installer - this last one is commonly used and presumably wouldn't even run if VBscript wasn't installed.
 

My Computer

System One

  • OS
    Windows 11
I converted all of my vbs scripts to js scripts.

I was curious about 2 context menu helper, regjumper and one for ChromePortable register script.

Copilot handled %90 of my vbs scripts (run invisible and run as administrator)
ChatGPT finished the job.

I am ready for deprecation in my personal computer :p
 

My Computer

System One

  • OS
    Windows 11 25H2 Home Single Language (26200.8037)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO IdeaPad 5 15ITL05
    CPU
    Intel Core i3-1115G4
    Motherboard
    There is no such a God, I only know mother-Earth
    Memory
    8GB
    Graphics Card(s)
    on-board
    Sound Card
    on-board
    Monitor(s) Displays
    (s) is too ambitious for me
    Screen Resolution
    1920*1080
    Hard Drives
    256GB (SSD)
    PSU
    I was very young when I last saw a PSU
    Case
    ...
    Cooling
    My coldness is enough to cool the computer
    Keyboard
    A broken and very clean keyboard
    Mouse
    Rat
    Internet Speed
    Slowest internet connection in Europe
    Browser
    ChromePortable / FirefoxPortable / TorBrowser
    Antivirus
    G-Virus
    Other Info
    I can simply say that I took the red pill and I am not happy with it.
Lucky. I setup a detection in Intune to look for VBScript detection events. We’re gonna have quite the fun time cleaning these up. Yay!
 

My Computer

System One

  • OS
    Windows 11 Pro 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Core i7-1260P
    Motherboard
    NUC12WSBi7
    Memory
    64 GB Micron PC4-25600
    Graphics Card(s)
    Intel Iris Xe Graphics
    Sound Card
    on-board Realtek HD Audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840 x 2160
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Crucial MX500 2 TB
    Antivirus
    Microsoft Defender
The batchfile I wrote below uses the C# 5 compiler that is part of any default installation of Windows 11. It compiles a small .exe file that you can run with parameters to specify a command, program, or script that will be run invisibly, without any noticeable delay, and without any blinking whatsoever (so no blinking of the busy wheel on the mouse cursor either). It depends entirely on .NET Framework 4.8.1, which is an inherent part of Windows 11 that cannot be removed. So, you don't have to worry that Microsoft might one day decide to ditch wscript.exe altogether, which would destroy the ability to use .js files for this purpose (so that you would be back at square one).
Batch:
// 2>nul&@echo off&cls&goto batch
/*
:batch
for /f "tokens=3,*" %%F in ('reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" /v InstallPath') do set "InstallPath=%%F"
if exist "%InstallPath%csc.exe" ("%InstallPath%csc.exe" /out:"%~dp0\invis.exe" /target:winexe "%~dpnx0") else (echo ERROR - Missing csc.exe)
pause&exit
*/

using System;
using System.Diagnostics;

class Program
{
    static void Main(string[] args)
    {
        if (args.Length == 0)
        {
            return;
        }
        using (Process process = new Process
        {
            StartInfo = new ProcessStartInfo
            {
                FileName = args[0],
                Arguments = string.Join(" ", args, 1, args.Length - 1),
                WindowStyle = ProcessWindowStyle.Hidden,
                CreateNoWindow = true,
                UseShellExecute = false
            }
        })
        {
            process.Start();
//          process.WaitForExit(); // Blocks execution until the process finishes
        }
    }
}
 

My Computers

System One System Two

  • OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    30Mbit/s up, 500Mbit/s down
    Browser
    FF
    Antivirus
    What's an antivirus?
  • Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    30Mbit/s up, 500Mbit/s down
    Browser
    FF
Back
Top Bottom