PDA

View Full Version : load the registry



AlanChan
07-28-2001, 05:54 PM
I am implementing a document viewer by using IE 5.5. As a result, the registry is modified to prevent other people from printing the documents. Now, these modified registry settings are stored in the server. Are there any ways to load the registries into the clients during boot up time? If Yes, can you explain how?

RWSchlatter
07-28-2001, 07:51 PM
"...Are there any ways to load the registries into the clients during boot up time?..."
not at boot up time, but when users logon and are verified at the server. Then you can run Regedit as part of the logon script using the .reg file from the server (PS just to give you trhe answer in advance: use /S option for silent mode).

Depends if you want to setup what is called IE in kiosk mode, but otherwise may J put a question mark at your solution ? This way you have turned the internet browser tool into a restricted viewer. Users will not be able to use IE for what it was originally designed. And users will not be able to work with other HTML documents the way they usually would do (local or remote). The way to keep IEs original functionality and have a home made browser / viewer is to reference the MSHTML.DLL browser component from a small driving application and control / restrict its functionality by properties setting.

______________
Regards - Richard

AlanChan
07-29-2001, 04:48 AM
But what is the syntax of the command regedit? Does this command allow the IP address of the server to be entered?

RWSchlatter
07-30-2001, 09:27 AM
on the client, the logon script has to first establish the share on the server, then run regedit referencing the .reg file as input (coming from the share) and if not used further, drop the share.

"...But what is the syntax of the command regedit? ..."
Can be found in Microsofts Resource Kit documentation, but also here at the WinGuides site. Please skip over to the Registry Guide (link in the left border of this page), then read the Registry FAQ, syntax used to be on the fourth page.
______________
Regards - Richard