Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Windows Server Networking

Help, need a VBScript

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2006, 04:32 PM
Default Help, need a VBScript



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




Clayton Sutton
Reply With Quote
  #2  
Old 10-17-2006, 05:23 PM
RC
Guest
 
Posts: n/a
Default Re: Help, need a VBScript

configure a temp group policy at the domain level. make everyone log
off/on

Reply With Quote
  #3  
Old 10-17-2006, 05:25 PM
Clayton Sutton
Guest
 
Posts: n/a
Default Re: Help, need a VBScript

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
  #4  
Old 10-17-2006, 05:28 PM
Clayton Sutton
Guest
 
Posts: n/a
Default Re: Help, need a VBScript

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
  #5  
Old 10-17-2006, 05:46 PM
Lanwench [MVP - Exchange]
Guest
 
Posts: n/a
Default Re: Help, need a VBScript

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
  #6  
Old 10-17-2006, 06:14 PM
Paul Bergson [MVP-DS]
Guest
 
Posts: n/a
Default Re: Help, need a VBScript

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
  #7  
Old 10-17-2006, 06:53 PM
Florian Frommherz
Guest
 
Posts: n/a
Default Re: Help, need a VBScript

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
  #8  
Old 10-17-2006, 07:47 PM
Paul Williams [MVP]
Guest
 
Posts: n/a
Default Re: Help, need a VBScript

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
  #9  
Old 10-17-2006, 08:29 PM
Clayton Sutton
Guest
 
Posts: n/a
Default Re: Help, need a VBScript

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
  #10  
Old 10-17-2006, 08:32 PM
Paul Williams [MVP]
Guest
 
Posts: n/a
Default Re: Help, need a VBScript

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

Tags
vbscript

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
Forum Jump


All times are GMT. The time now is 10:31 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.