Re: Getting List of Unknow Reg Entries
From: Terry M (Nospam_at_hotmail.com)
Date: 04/13/04
- Next message: tom: "install ie shortcuts"
- Previous message: Justin: "Re: Getting List of Unknow Reg Entries"
- In reply to: Justin: "Re: Getting List of Unknow Reg Entries"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Apr 2004 10:59:28 -0700
The problem with that is all users don't always show up in HKEY users
depending on who is looking. What you really need to do is enumerate the
Docs and settings\users... they weed out the standard ones.
However they is a even a better way to make the changes you want to.
There is a utility called 'modifyprofile.exe" that I have used many times
from within SMS Installer scripts. The syntax takes a little time to get
use to but once you figure it out it works great.
Try this:
http://www.optimumx.com/download/#ModifyProfile
Terry
"Justin" <j_user1@hotmail.com> wrote in message
news:uZVArvWIEHA.3356@TK2MSFTNGP11.phx.gbl...
> Terry,
>
> Thanks for your reply. That is exactly what I would like to do. I have
so
> far used the script that Rod Trent from MyItForum.com wrote to enumerate
> HKEY_USERS. From there, I delete the key mentioned in my original post.
>
> That is where I am at this moment, still having problems with it applying
> changes to all users who have previously logged on to the client in the
test
> lab.
>
> If you know of a better way, I would be all too happy to hear it! Thanks!
>
>
> "Terry M" <Nospam@hotmail.com> wrote in message
> news:%23jxVNvOIEHA.3528@TK2MSFTNGP09.phx.gbl...
> > So you just want to modify a certain reg key for all users on the
machine,
> > correct.
> >
> > There are many ways to do that. If that is the case let me know, it
> sounds
> > like you are trying to do it the hard way.
> >
> > Terry
> >
> > "Justin" <j_user1@hotmail.com> wrote in message
> > news:%23yS5dmLIEHA.2744@TK2MSFTNGP10.phx.gbl...
> > > Good Day,
> > >
> > > I have to root out all of systems with Symantec Antivirus that have a
> > > manually scheduled scan, and delete that scan from the registry
> > > (HKEY_USERS\S-1-5%sid
> > >
> >
>
id%\software\intel\landesk\Virusprotect6\currentVersion\CustomTasks\TaskPadS
> > > cheduled\Scan). The problem is that there is an unknown number of
users
> > for
> > > each machine. For example, in HKEY_USERS there might be a bunch of
> users
> > > represented by SIDs or few.
> > >
> > > Using SMS installer, I would like to read the number of user keys and
> put
> > > them into a variable, let's say N. Then, while N > 0 perform
function,
> > > which would be to delete the key that represents the manually
scheduled
> > > scan. I am having problems with the first part of this however, which
> is
> > > telling SMS installer to read the number of user keys and place that
> > number
> > > in the varible.
> > >
> > > Has anyone else had to do something simular in function here? If so,
> > could
> > > you shed some light on this?
> > >
> > > Thank you!
> > >
> > > Justin
> > >
> > >
> > >
> >
> >
>
>
- Next message: tom: "install ie shortcuts"
- Previous message: Justin: "Re: Getting List of Unknow Reg Entries"
- In reply to: Justin: "Re: Getting List of Unknow Reg Entries"
- Messages sorted by: [ date ] [ thread ]