in reply to Refreshing the Windows Registry
Your not supplying much information. What errors do you get, and from which modules/code?
Posting the script in question, if it isn''t too big, would help a lot.
I suspect that you aren't untying the registry, and hence your changes aren' being commited before you try to move on to the second step, but that's a guess.
You might try using the Flush method, though the docs say that it isn't usually necessary.
Flush( $bFlush ) Flushes all cached information about the Registry key so that future u +ses will get fresh data from the Registry. If the optional $bFlush is specified and a true value, then RegFlushKe +y() will be called, which is almost never necessary.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Refreshing the Windows Registry (Flush)
by tye (Sage) on Jan 15, 2004 at 20:38 UTC |