Registry Programming - Login Script 
Author Message
 Registry Programming - Login Script

I have been working on a login script for Windows NT using VB. It is
basically finished but the only way I can fully update the registry is to
Shell out and run REGEDIT (which gives a message window - I dont want a
message window). MSDN had an example of programming the Registry using
API's - so I'm 90% there. The only thing I can't do is update registry
entries that have long entries to a REG_BINARY key.

e.g.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Deskto
pStreams\0]
"CabView"=hex:40,00,00,00,00,00,00,00,01,00,00,00,10,00,00,00,00,00,00,00,30
,\

1b,5a,01,00,00,00,00,fe,ff,ff,ff,c4,01,00,00,82,02,00,00,e2,01,00,00,6c,00,\

  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

I've looked at Appleman and others. Does anyone have any ideas?

Thanks

David BJ



Sat, 18 Sep 1999 03:00:00 GMT  
 Registry Programming - Login Script



Quote:
> I have been working on a login script for Windows NT using VB. It is
> basically finished but the only way I can fully update the registry is to
> Shell out and run REGEDIT (which gives a message window - I dont want a
> message window). MSDN had an example of programming the Registry using
> API's - so I'm 90% there. The only thing I can't do is update registry
> entries that have long entries to a REG_BINARY key.

Check out:
HTTP:/www.geocities.com/SiliconValley/Vista/1049

You should find your answers there.
If you need additional help, e-mail me.
I have some code samples



Mon, 20 Sep 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. vbscript login scripts - starting a script from the Windows 95 command prompt

2. Script to remove login script by OU.

3. Registry Entry Created at Login

4. Registry read Failure when program launched by AT scheduling program

5. Global templates and login scripts

6. VBScript NT Login Script - checking for group membership

7. Login Script

8. help me on the login script

9. WSH/VBS Login Script Calls

10. Starting explorer with login script

11. VBScript and NT Login Scripts - Group membership?

12. Login Script

 

 
Powered by phpBB® Forum Software