As per requirement, we need to change all client windows (XP, and 2003) desktop BG color, but it’s impossible to change BG colour manually over 1000 desktop. So, we have to do it with an automatic process. First we have to find out what happened on registry, while we changing Desktop BG color, and to do so, we need a
Category: Server and Virtualisation
Server Administration, Windows Server administration, Nginx, Apache, MySQL, PostgreSQL, MariaDB, MongoDB, VMware, vCenter, ESXi, Proxmox VE, Hyper-V, KVM, QEMU, libvirt, container, server monitoring, server security, SSH, remote access, FTP, SFTP, server performance, server hardening, iSCSI, NFS, SMB, CIFS, DNS server, DHCP server, web server, bare metal, rack server, IPMI, BIOS, RAID
OS Dependent Logoff/Logon Script run via GPO
Use following VBS script Startup or Shutdown script. vb Option Explicit Dim objItem, colItems, objWMIService, strComputer, objShell strComputer = “.” Set objShell = CreateObject(“WScript.Shell”) Set objWMIService = GetObject(“winmgmts:\” & strComputer & “rootcimv2”) Set colItems = objWMIService.ExecQuery(“Select * from Win32_OperatingSystem”,,48) For Each objItem in colItems If InStr(objItem.Caption,”2000″) Then ‘Add your line here for 2000 objShell.Run “regedit”, 1, True End If If

