Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB script to add registry entries

Status
Not open for further replies.

dgcm

IS-IT--Management
Sep 26, 2008
52
0
0
GB
Although I've done some very simple vb scripting before (mainly using examples from the net), this one is beyond me.

I want to do a vb script that at login will create two registry entries (if they don't exist - if they do I just want it to ignore it - not bug the user to do something)

The values I want to create are:


[HKEY_CURRENT_USER\Software\Policies\Titus Labs\Message Classification]
"DefinitionFileServerPath"="C:\\Titus\\yourEmail.tl"

[HKEY_CURRENT_USER\Software\Policies\Titus Labs\Document Classification]
"DefinitionFileServerPath"="C:\\Titus\\yourDocuments.tl"

Could anyone give me some pointers please ?

Thanks :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top