Re: Change permission remotely
- From: "James Whitlow" <jwhitlow@xxxxxxxxxx>
- Date: Sat, 16 Jul 2005 19:52:08 -0500
"Sam Chan" <schan17@xxxxxxxxxx> wrote in message
news:cY_Be.2456$Y54.65@xxxxxxxxxxxxxxxxxxxxx
> Hi,
> I would like to change security permission for everyone from "no access"
to
> "read only" on each temp folder. I have about 200 computers to reset. Is
it
> a way to do it by VBscript?
I have a few questions:
** Are all of the computers inside the same subnet (or can a single CIDR
encompass them)
** If yes to the above, are all of the computers within the range to be
updated or just some of them?
** Should server(s) be excluded from the script?
** Are all of the computers to be updated NT based (NT, 2K, XP) or are there
some 9X machines?
When I need to do something to all of the computers in an office, I
generally walk the subnet by IP address. I use a small routine to create a
dictionary object of IP addresses from a given CIDR. I then loop through the
IP addresses in the dictionary, checking to see if the IP address pings. If
it does, I then check for whatever criteria I want (is it a workstation or
server, does 'somefile.txt' exist, etc).
Answer the questions above and I will see if I can post an example that
you could easily customize for your needs. Feel free to include any
additional information you think relevant.
.
- Follow-Ups:
- Re: Change permission remotely
- From: Sam Chan
- Re: Change permission remotely
- References:
- Change permission remotely
- From: Sam Chan
- Change permission remotely
- Prev by Date: Re: How to get long filename from short filename?
- Next by Date: Re: RunAs Alternatives
- Previous by thread: Re: Change permission remotely
- Next by thread: Re: Change permission remotely
- Index(es):
Relevant Pages
|