Right. So I've got to add a security package to the key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Edit the entry called "Security Packages" and add the value "tspkg"
under normal circumstances
Would make the specific key value be tspkg, but the requirement is to append the current value, rather than replace it.
For example the current value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa "Security Packages" is
kerberos
msv1_0
schannel
wdigest
pku2u
and it needs to read as
kerberos
msv1_0
schannel
wdigest
pku2u
tspkg
I would just specify the list of packages I want to allow, but there's possible circumstances where this list has already been changed
and thus specifying the entire list would be unhelpful as it would remove the other entries
so what I need is a way to meerly append the current value
thoughts or ideas?
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Edit the entry called "Security Packages" and add the value "tspkg"
under normal circumstances
Code:
reg add reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa /v "Security Packages" /t REG_MULTI_SZ /d tspkg
Would make the specific key value be tspkg, but the requirement is to append the current value, rather than replace it.
For example the current value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa "Security Packages" is
kerberos
msv1_0
schannel
wdigest
pku2u
and it needs to read as
kerberos
msv1_0
schannel
wdigest
pku2u
tspkg
I would just specify the list of packages I want to allow, but there's possible circumstances where this list has already been changed
and thus specifying the entire list would be unhelpful as it would remove the other entries
so what I need is a way to meerly append the current value
thoughts or ideas?