blogs.msdn.com blogs.msdn.com

Introducing Visual Studio Administrator Updates

During the month of April 2021, Visual Studio will start publishing administrator updates to Visual Studio 2017 and Visual Studio 2019 via Windows Server Update Services (WSUS) and the Microsoft Update Catalog. Enterprises will be able to then use standard deployment tools like Microsoft Endpoint Configuration Manager to easily roll out these updates throughout their organization. In order to take advantage of administrator updates,...

programmer group

Batch code that blocks all non administrator users

The local test is OK. Make sure that the default user of your computer is adminstrator and you have not changed the user name, or you will not be able to log in to the computer. Copy codeThe code is as follows: @echo off :: by SKB setlocal enabledelayedexpansion Net user|find / V “command completed successfully” > tmp.txtecho.>tmp2.txt for /f “skip=4 tokens=1” %%i in (tmp.txt) do echo %%i >>tmp2.txt...