Ok, now that coherent thought is possible, for anyone who wants to use this reg entry, here goes:
I've put up the actual reg key (pilfered from winguides.com...excellent resource for reg tweaks, btw) and put up the example code.
Correct me if I am wrong, but this is a value I want put in reguardless of condition, so no error checking should be needed, except perhaps for a brief check of OS (NT4/2k) which I'm going through the cleanup.kix and trying to graft the needed code.
code:
Windows 2000 and XP Reg Entry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkStation\Parameters]
Kix Entry
WriteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkStation\Parameters", "EnablePlainTextPassword ", "1", "REG_DWORD")
Windows NT Reg Entry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Rdr\Parameters]
EnablePlainTextPassword REG_DWORD 0x00000001 (1)
Kix Entry:
WriteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Rdr\Parameters", "EnablePlainTextPassword ", "1", "REG_DWORD")
On a side note:
How does one get the code in the tags to be color coded and not this ugly 7pt font that is unreadable and non-color coded?
I've see it on occasion and the readability difference is astounding.
[ 10. March 2003, 14:58: Message edited by: a_non_moose ]