Networking Forums

Networking Forums > Computer Networking > Windows Networking > Help, need a VBScript

Reply
Thread Tools Display Modes

Help, need a VBScript

 
 
Clayton Sutton
Guest
Posts: n/a

 
      10-17-2006, 03:32 PM
Hey everyone,

We are running a Windows 2003 domain and Win2k and Win2k3 workstations. I
need a vbscript to add a domain acct. to the LOCAL Admin acct. to ALL of our
workstations. Can anyone help by pointing me in the right direction where I
can download that type of script?


TIA,


Clayton


 
Reply With Quote
 
 
 
 
RC
Guest
Posts: n/a

 
      10-17-2006, 04:23 PM
configure a temp group policy at the domain level. make everyone log
off/on

 
Reply With Quote
 
Clayton Sutton
Guest
Posts: n/a

 
      10-17-2006, 04:25 PM
Hey RC,

Thanks for the reply. However, can you explain a little more? I know how
to do GPOs, I just need a little more info. from you.


Clayton



"RC" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> configure a temp group policy at the domain level. make everyone log
> off/on
>



 
Reply With Quote
 
Clayton Sutton
Guest
Posts: n/a

 
      10-17-2006, 04:28 PM
Where would I do it at?


Clayton


"Clayton Sutton" <(E-Mail Removed)> wrote in message
news:Tt7Zg.65785$(E-Mail Removed). ..
> Hey RC,
>
> Thanks for the reply. However, can you explain a little more? I know how
> to do GPOs, I just need a little more info. from you.
>
>
> Clayton
>
>
>
> "RC" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ups.com...
>> configure a temp group policy at the domain level. make everyone log
>> off/on
>>

>
>



 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      10-17-2006, 04:46 PM
In news:cI6Zg.142655$(E-Mail Removed),
Clayton Sutton <(E-Mail Removed)> typed:
> Hey everyone,
>
> We are running a Windows 2003 domain and Win2k and Win2k3
> workstations. I need a vbscript to add a domain acct. to the LOCAL
> Admin acct. to ALL of our workstations. Can anyone help by pointing
> me in the right direction where I can download that type of script?
>
>
> TIA,
>
>
> Clayton


You can either use restricted groups (see
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=5319 for some help)

....or you could use a computer startup script assigned via group policy -
such as a simple batch file using
net localgroup Administrators DOMAIN\user_or_group /add


 
Reply With Quote
 
Paul Bergson [MVP-DS]
Guest
Posts: n/a

 
      10-17-2006, 05:14 PM
You could use the restricted user group gpo setting

computer configuration \ windows settings \ restricted groups

group = your group to be made local admins
member of = BUILTIN\Administrators

http://www.windowsecurity.com/articl...ed-Groups.html
http://www.microsoft.com/technet/pro...a15c18f6a.mspx
http://www.microsoft.com/resources/d...ictgroups.mspx

There is absolutely nothing that has to be done on the client side.

Create the gpo in the ou where the Computers reside (NOT the users), go to
computer configuration/windows settings/security settings/restricted groups,
right click on restricted groups and select new group (For the local
computers, this group name should be - administrators) and key in the group
you want auto populated. Select add on the Members of this group and then
add the members you want populated.


--
Paul Bergson
MVP - Directory Services
MCT, MCSE, MCSA, Security+, BS CSci
2003, 2000 (Early Achiever), NT

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.

"Clayton Sutton" <(E-Mail Removed)> wrote in message
news:cI6Zg.142655$(E-Mail Removed). ..
> Hey everyone,
>
> We are running a Windows 2003 domain and Win2k and Win2k3 workstations. I
> need a vbscript to add a domain acct. to the LOCAL Admin acct. to ALL of
> our workstations. Can anyone help by pointing me in the right direction
> where I can download that type of script?
>
>
> TIA,
>
>
> Clayton
>



 
Reply With Quote
 
Florian Frommherz
Guest
Posts: n/a

 
      10-17-2006, 05:53 PM
Howdie Clayton!

Clayton Sutton wrote:
> Where would I do it at?


I wrote an article about this:
http://www.frickelsoft.net/blog/?p=13

cheers,

Florian
--
Nachwuschsadmin aus dem Süddeutschen/Germany.
eMail: Vorname [bei] frickelsoft [Punkt] net.
blog: http://www.frickelsoft.net/blog.
 
Reply With Quote
 
Paul Williams [MVP]
Guest
Posts: n/a

 
      10-17-2006, 06:47 PM
There's a bunch of choices, as others have mentioned. Two are covered here:
-- http://www.msresource.net/content/view/45/47/


There's also CUSRMGR (resource kit I think).

--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net



 
Reply With Quote
 
Clayton Sutton
Guest
Posts: n/a

 
      10-17-2006, 07:29 PM
How about "except" servers? What if I only want to do this to Workstations?
That way I can just setup an acct. for our help desk that they could use to
log into workstations but NOT be able to log into my servers!


Clayton



"Paul Williams [MVP]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> There's a bunch of choices, as others have mentioned. Two are covered
> here:
> -- http://www.msresource.net/content/view/45/47/
>
>
> There's also CUSRMGR (resource kit I think).
>
> --
> Paul Williams
> Microsoft MVP - Windows Server - Directory Services
> http://www.msresource.net | http://forums.msresource.net
>
>
>



 
Reply With Quote
 
Paul Williams [MVP]
Guest
Posts: n/a

 
      10-17-2006, 07:32 PM
No problem. Scope and/ or filter the GPO to only apply to computers.

Also consider modifying the logon locally right on the servers in question
as by default a user can logon to a member server interactively.

--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows VBScript to renew DHCP & display status John Navas Wireless Internet 1 07-12-2006 09:08 PM
VBScript program loses network access phil.george999@gmail.com Windows Networking 0 09-15-2005 12:10 PM
VBScript to generate strong WPA pre shared keys? Wireless Networks 1 11-15-2004 09:30 PM
Vbscript WMI access GetObject Permission denied martin Windows Networking 1 09-06-2004 03:16 AM



1 2 3 4 5 6 7 8 9 10 11