Trying various versions of syntax as below, in this case to change
ComputerName (also tried other values). Have tried various
combination of case (lower / mixed case), plus including / excluding
the second = in the second line (REG_SZ = TST_CO_W22 vs REG_SZ
TST_CO_W22).
\registry\machine\system\currentcontrolset\control\computername\computername
computername = REG_SZ = TST_CO_W22
\registry\machine\system\currentcontrolset\control\computername\computername
ComputerName = REG_SZ = TST_CO_W22
\Registry\Machine\System\CurrentControlSet\Control\Computername\Computername
ComputerName = REG_SZ = TST_CO_W22
\registry\machine\system\currentcontrolset\control\computername\computername
ComputerName = REG_SZ TST_CO_W22
Any ideas? Would really appreciate help!
Thanks,
Chuck Croll
charle...@bankamerica.com
In article <32124da6.26384981@News>, charle...@bankamerica.com says...
>
>Help! Trying to use Regini to update Registry entries. When program
>runs, sometimes it calls Doc Watson with a Stack Overflow, sometimes
>not. But in no case does it actually update the Registry, as
>documented by Microsoft.
>
>Trying various versions of syntax as below, in this case to change
>ComputerName (also tried other values). Have tried various
>combination of case (lower / mixed case), plus including / excluding
>the second = in the second line (REG_SZ = TST_CO_W22 vs REG_SZ
>TST_CO_W22).
>
--
======================================================
Brad Sileo
GeoData Solutions, Inc.
Network Engineer GIS Consultant
Voice:(303)650-1600 Fax:(303)650-1795
http://www.geodata-gis.com
======================================================
\registry\user\S-1-5-21-107379526-1079251411-1982612992-1001\Software\Netscape
\Netscape navigator\Viewers\junkkey
Will add a key called 'junkkey' to the location:
HKEY_CURRENT_USER\software\netscape\Netscape Navigator\Viewers\junkkey
The long S-x-x-xx... number comes from the HKEY_USERS hive.
But, whenever I try to add a value or modify an existing value, it blows up
with an error dialog...
In article <32124da6.26384981@News>, charle...@bankamerica.com says...
>
>Help! Trying to use Regini to update Registry entries. When program
>runs, sometimes it calls Doc Watson with a Stack Overflow, sometimes
>not. But in no case does it actually update the Registry, as
>documented by Microsoft.
>
>Trying various versions of syntax as below, in this case to change
>ComputerName (also tried other values). Have tried various
>combination of case (lower / mixed case), plus including / excluding
>the second = in the second line (REG_SZ = TST_CO_W22 vs REG_SZ
>TST_CO_W22).
>
>\registry\machine\system\currentcontrolset\control\computername\computername
>computername = REG_SZ = TST_CO_W22
>
>\registry\machine\system\currentcontrolset\control\computername\computername
>ComputerName = REG_SZ = TST_CO_W22
>
>\Registry\Machine\System\CurrentControlSet\Control\Computername\Computername
>ComputerName = REG_SZ = TST_CO_W22
>
>\registry\machine\system\currentcontrolset\control\computername\computername
>ComputerName = REG_SZ TST_CO_W22
>
> Now I've gotten it so that I can add keys to the registry, but I can't add a
> value to either existing keys or the old ones. here is the script file I
> used:
>
> \registry\user\S-1-5-21-107379526-1079251411-1982612992-1001\Software\Netscape
> \Netscape navigator\Viewers\junkkey
The data for a random user isn't normally loaded into the registry - the only
data is for 'default' and the logged-on user (as can be seen by running
regedt32). Are you trying to modify some other user's data? Can't be
done without loading the subtree first, which is possible from a program,
but I don't think regini.exe does it.
>Help! Trying to use Regini to update Registry entries.
Chuck,
I'm in the process of readying a 32 bit version of a very successful
shareware program (RSU). The new version can, among other things like
directory replication, query and change registry entries in Windows 95
and Windows NT. It works on the basis of a simple, Basic-like
programming language.
If you want to do some beta testing, please let me know. Write to my
e-mail address: 74776...@compuserve.com
The current test versions can already work with the registry. We only
have some kinks still in the debugging modes and in the calling of
other programs, but that would probably not hinder you.
Hans-Georg
In article <4vhstp$4...@decius.ultra.net>, por...@ultranet.com says...
>
>In article <4vhr96$9...@nile.Geodata-GIS.com>
>br...@GeoData-GIS.com (Brad Sileo) wrote:
>
>> Now I've gotten it so that I can add keys to the registry, but I can't add
a
>> value to either existing keys or the old ones. here is the script file I
>> used:
>>
>>
\registry\user\S-1-5-21-107379526-1079251411-1982612992-1001\Software\Netscape
>> \Netscape navigator\Viewers\junkkey
>
>
>The data for a random user isn't normally loaded into the registry - the only
>data is for 'default' and the logged-on user (as can be seen by running
>regedt32).
I think that this is the data from me, though I could be wrong. Is there a
way to know who it belongs to? I am logged in to the machine at the time, and
I am an administrator, so it seems I should be able to access this data.
>Are you trying to modify some other user's data?
Eventually I would like to modify the data for whatever user is logged in, but
for know I would be happy to just modify my own entries.
>Can't be
>done without loading the subtree first, which is possible from a program,
>but I don't think regini.exe does it.
>
I started to work on this in VC4.0, but the learning curve is a little steep
since I havn't really done any Windows programming, but it looks like
Hans-Georg(74776...@compuserve.com) might have a solution for me.
Thanks for the info...