Re: Applying Group Policies

From: Andrew Mitchell (amitchell_at_removecasey.vic.gov.au)
Date: 02/17/05


Date: Wed, 16 Feb 2005 18:46:40 -0800


"Cary Shultz [A.D. MVP]" <cwshultz@mvps.org> said

> Andrew,
>
> Looks like someone has been doing his homework in WMI class! Great job.
>

I was lucky and found an old script in a magazine. I just hacked it together
to do what I wanted. It's amazing what you can do to shut up a whinging user.
I had one user who like to log into his laptop (not plugged into the network)
then plug it into the LAN and wanted his network drives mapped. He didn't
want to see any errors like "mapped drive has not been restored' when he
wasn't on the network.
The only way I could think to do it was to throw together an event trap that
would detect when he got a legitimate IP address and run his login script.

> I must admit that I have fallen off of the wagon in regards to WMI and
> ADSI. There are just so many things that come up that I am constantly
> side-tracked!

Well I've only recently moved into a network admin role. My previous jobs
have been writing applications and scripts, some of which were used by
admins, so I've got a bit of a head start.........

-- 
Andy.


Relevant Pages

  • Re: Modelling Complex Sentences
    ... re-inventing the network data model). ... If such as classifying node does not exist, ... Since people complained that dbd's scripts were too long, ... you typically use the CREATE/INSERT commands to ...
    (comp.databases.theory)
  • Re: Change IP related values due to WAN design change
    ... Unknown network, ... For the cost of testing a dangerous script in a big ... > recurse your text file into an array. ... > var newSettings = new NetworkSettings; ...
    (microsoft.public.windows.server.scripting)
  • Re: Request help with simple network
    ... You do need to let DNS queries through the firewall, ... >> well as web browser connections. ... the machines behind the network to get them working (they just had the ... Below is my networking script, I run it *ONCE* on my gateway PC, whenever ...
    (alt.os.linux.redhat)
  • CW committed to schedule of scripted dramas
    ... The CW is sticking with the script. ... That?s the word from CBS Corp.?s Nancy Tellem and Warner Bros.? ... to building a network based on original hourlong dramas. ...
    (rec.arts.tv)
  • Re: Script Execution Over Network
    ... what happens if the network is down - do the Logon Scripts cater for it ... This depends somewhat on what you would consider satisfactory. ... Domain-based logon scripts will only run for domain users logging on at ... But the "satisfactoriness" of the result would depend on what that script ...
    (microsoft.public.scripting.vbscript)