Registry entries via netlogon batch file
Chris Tooley
ctooley at joslyn.org
Fri May 19 22:16:08 GMT 2000
Is rpcclient a general term to several small little apps that do this sort of thing or is rpcclient a specific binary
that is part of the Samba package? I'm still kind of cutting my teeth on the whole remote registry hacking idea and
since I don't have the luxury of doing it with machines that are at least a little aware of "this networking thing",
it's become quite a pain. I've still got some old Win95 RTM boxes that aren't capable of encrypted passwords. So
this is going to be a royal pain in the butt. Any ideas would be great.
Peter Samuelson wrote:
> [Chris Tooley <ctooley at joslyn.org>]
> > Is there any way to make registry changes to a client machine (change
> > a DWORD value and a key value).
>
> `rpcclient' is made for this sort of thing, although I don't know if
> there's a version out there that can connect to a Win95/98 registry.
> You might look around. I know the TNG one craps out with Win98.
>
> > When they logon to the OLDDC server I want to make the necessary
> > registry changes to change the Domain they are logging into and to
> > disable PlainTextPasswords (which is very easy to do). The next time
> > they reboot, they never know the difference other than some of the
> > names have changed, which they won't notice anyway.
>
> If you can find a `rpcclient' that gets along with Win95, do this:
>
> for m in win95box1 win95box2 win95box3 win98box1 win98box2 win98box3; do
> rpcclient -S $m -c \
> 'regsetval hkey_local_machine\system\currentcontrolset\services\vxd\vnetsup\enableplaintextpassword 4 0; quit'
> done
>
> > Does anyone see any holes in this and if it seems somewhat plausible can
> > someone tell me how to make the registry changes via the Netlogon
> > script?
>
> You can give REGEDIT.EXE an import file (like the ones in samba/docs/)
> and it will plug it right in. (At least the REGEDIT.EXE for NT....)
> There's a flag for quiet/unprompted operation, though I don't remember
> what it is.
>
> Peter
More information about the samba-ntdom
mailing list