By 9 Dicembre 2013 0 Comments

Esportare una Lista di Tutti gli Utenti di Windows

IIS ServerPotrebbe essere utile, in caso di ricostruzione di un server, il dover esportare una LISTA di tutti gli utenti creati (localmente) nel sistema, ovviamente senza la password.
Questo script VBS può venire in aiuto:

Set objNetwork = CreateObject(“Wscript.Network”)
strComputer = objNetwork.ComputerName
Set colAccounts = GetObject(“WinNT://” & strComputer & “”)
colAccounts.Filter = Array(“user”)
For Each objUser In colAccounts
Wscript.Echo objUser.Name
Next

About the Author:

shared on wplocker.com