Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ALLM
  • Order by date
  1. ALLM

    Adding Domain Group to Local Admin Group

    Yes, I think we're done here. Thanks again.
  2. ALLM

    Adding Domain Group to Local Admin Group

    Yes, the script in my last thread is working as a StartUp GPO Script.
  3. ALLM

    Adding Domain Group to Local Admin Group

    Tsuji/mrmovie, So I started over and referred back to a MS Scripting Guy article talking to this but I swear this wasn't working yesterday... Link to the article: http://blogs.technet.com/heyscriptingguy/archive/2005/09/23/how-can-i-add-a-domain-group-to-the-local-administrators-group.aspx...
  4. ALLM

    Adding Domain Group to Local Admin Group

    Tsuji, Yes, it is a member of the domain. MrMovie, Sorry, I'm new at the VBScript arena, how can I write something in to log this? Back to the strDomain question, what are you looking for here, the actual Domain name?
  5. ALLM

    Adding Domain Group to Local Admin Group

    Tsuji, I tried your recommended changes and it runs fine when logged on with a local admin account but at startup it returns an error: "An invalid directory pathname was passed" referring to the statement line: "objGroup.Add(sgroup_adspath)" Thoughts?
  6. ALLM

    Adding Domain Group to Local Admin Group

    The "SYSTEM" account does have the proper permissions as well.
  7. ALLM

    Adding Domain Group to Local Admin Group

    Sorry, Line 16 at the time was: Set objUser = GetObject("WinNT://" & strDomain & "/" & strUser & ",group")
  8. ALLM

    Adding Domain Group to Local Admin Group

    I have a script I got from a scripting guy and he swears this works for him, but I continue to get an error when the startup script runs on the workstations saying the error is on "Line 16, Char 1". I can run this interactively when logged on with Admin permissions without error. So right now...
  9. ALLM

    Removing Mapped Drive based off of Group Membership

    DM4EVER - I'm dissecting a customers Novell Login so it can be converted for the Windows environment. Some of these groups in Novell overlap and need to map the same drive letter to different "UNC" paths. I should probably step back and look at this from a different angle. Most likely some...
  10. ALLM

    Removing Mapped Drive based off of Group Membership

    Question: I'm mapping network drives based off of their Group Membership in Active Directory. I have that working fine, but I now need to add a statement that if they are a member of group "XYZ" then DELETE Mapped Drive P:\ and map the following drives. Any help would be appreciated. Thanks!
  11. ALLM

    Elevated Permissions

    I actually just ran this as a computer startup script in an AD GPO and that runs as the local system account. So no need for the script mods. Thanks.
  12. ALLM

    Elevated Permissions

    That part I'm aware of, so my apologies for not stating that. I would like this script to run with elevated privs without having to have the user/pass written in the script. Thanks for pointing out my mistake.
  13. ALLM

    Elevated Permissions

    Okay, I have a VBScript which is just modifying a registry key. I want this to run at logon throug an Active Directory Logon Script. Users are not local admins on the workstation so I need to figure out how to have this VBS run as a local admin. Can anyone help me with this please? Thanks!
  14. ALLM

    Check for a file to exist first

    I'm running this script to kick this .exe of for a silent uninstall. I need it do a check first to see if the .exe exists and if not then QUIT, but if it does then call out the .exe in the path below. Set wshShell = WScript.CreateObject ("WSCript.shell") wshshell.run...

Part and Inventory Search

Back
Top