Click here to Skip to main content
15,920,503 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: All seeing Mouse? Pin
Dave Kreskowiak10-May-05 17:34
mveDave Kreskowiak10-May-05 17:34 
GeneralRe: All seeing Mouse? Pin
Christian Graus10-May-05 17:37
protectorChristian Graus10-May-05 17:37 
GeneralComparison of dates Pin
vishalmishra10-May-05 8:07
vishalmishra10-May-05 8:07 
GeneralRe: Comparison of dates Pin
Dave Kreskowiak10-May-05 8:15
mveDave Kreskowiak10-May-05 8:15 
GeneralRe: Comparison of dates Pin
vishalmishra10-May-05 10:55
vishalmishra10-May-05 10:55 
GeneralRe: Comparison of dates Pin
Dave Kreskowiak10-May-05 12:21
mveDave Kreskowiak10-May-05 12:21 
GeneralRe: Comparison of dates Pin
jasncab10-May-05 14:06
jasncab10-May-05 14:06 
GeneralWMI call from VB6 locking HKCU Pin
dougstratton10-May-05 7:38
dougstratton10-May-05 7:38 
Cry | :(( We have a bunch of terminal servers using roaming profiles (copies user setting to network share, includes contents of HKCU).

Problem is our logon script is locking the HKCU hive and it is not unloading to be copied.

I installed a tool that is now telling us this is what is locking it.
wmiprvse.exe (1428)
HKCU (0x1dc)

Then I found out that if a certain part of our logon script does not run the profile unloads

We don't really have any WMI experts here. I think we just copied this from somewhere. But what I think is going on is we are not "cleaning up" correctly after doing our calls and this is resulting in the profile being locked.

This is one section that we do some calls.

Set objReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
' determine the logon server
objReg.GetStringValue HKEY_CURRENT_USER, "Volatile Environment", "logonserver", strLogonServer
' "\\" prefix needs to be removed

Anyone know what we should do after this to free up the HCKU hive?


GeneralRe: WMI call from VB6 locking HKCU Pin
Dave Kreskowiak10-May-05 8:09
mveDave Kreskowiak10-May-05 8:09 
GeneralRe: WMI call from VB6 locking HKCU Pin
dougstratton10-May-05 8:13
dougstratton10-May-05 8:13 
GeneralRe: WMI call from VB6 locking HKCU Pin
Dave Kreskowiak10-May-05 8:17
mveDave Kreskowiak10-May-05 8:17 
GeneralListview Pin
suiscf10-May-05 6:36
suiscf10-May-05 6:36 
GeneralFTP Automation Pin
Rajkumar S10-May-05 5:39
Rajkumar S10-May-05 5:39 
GeneralRe: FTP Automation Pin
Dave Kreskowiak10-May-05 7:59
mveDave Kreskowiak10-May-05 7:59 
GeneralShow new form without taking focus off first form Pin
carlos_rocha10-May-05 4:22
carlos_rocha10-May-05 4:22 
GeneralRe: Show new form without taking focus off first form Pin
rudy.net10-May-05 10:08
rudy.net10-May-05 10:08 
GeneralRe: Show new form without taking focus off first form Pin
carlos_rocha10-May-05 22:26
carlos_rocha10-May-05 22:26 
GeneralRe: Show new form without taking focus off first form Pin
carlos_rocha11-May-05 0:19
carlos_rocha11-May-05 0:19 
GeneralRe: Show new form without taking focus off first form Pin
rudy.net11-May-05 2:12
rudy.net11-May-05 2:12 
GeneralRe: Show new form without taking focus off first form Pin
carlos_rocha11-May-05 3:33
carlos_rocha11-May-05 3:33 
Generalhelp on add-in for outlook and outlook express Pin
iamalik10-May-05 3:48
professionaliamalik10-May-05 3:48 
GeneralCount lines in textbox Pin
josblow10-May-05 3:12
josblow10-May-05 3:12 
GeneralRe: Count lines in textbox Pin
Dave Kreskowiak10-May-05 8:42
mveDave Kreskowiak10-May-05 8:42 
GeneralRe: Count lines in textbox Pin
rudy.net10-May-05 10:28
rudy.net10-May-05 10:28 
GeneralPrinting Forms in VB.NET 2003 Pin
Treacherous_110-May-05 2:43
Treacherous_110-May-05 2:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.