Changing Users Registry remotely on Windows 2000 - TechRepublic
Question
October 4, 2009 at 02:35 PM
f0rensic

Changing Users Registry remotely on Windows 2000

by f0rensic . Updated 16 years, 9 months ago

Hey guys I’m having difficulty modifying a users registry remotely on windows 2000 PC’s using vbscript.

When attempting to alter the registry settings on Win XP using this script it works fine but when applying the same script to Win2000 workstations it doesnt seem to work

I’m attempting to connect to the registry by identifying the SID of a client and altering the users current hive

Method I’m using to alter the registry is as follows

Set oRegistry = GetObject(“winmgmts:{impersonationLevel=impersonate}!\\” & strWorkstation & “\root\default:StdRegProv”)

Result = oRegistry.SetStringValue(sstrRoot, sstrPath, sstrName, sstrValue)

Windows 2000 Pc’s use SP4

This discussion is locked

All Comments