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 strongm 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: *

  1. JBorecky

    Script doesn't work on 2003 box

    OK Here we go for those of you who are in suspense. I guess you need to declare the priviledges you need when you make your connection like below. Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate ,(LoadDriver)}!\\" & _ strComputer & "\root\cimv2") OR...
  2. JBorecky

    Script doesn't work on 2003 box

    Hmmmm interesting. I didn't know that was there, but unfortunatly that wasn't it. Admins have full control in every namespace. Thanks though. MCSE 2003: Security MCDBA
  3. JBorecky

    Script doesn't work on 2003 box

    Ok guys, I've been away for a while but this one has me stumped. This code works fine on a XP box but I get Access Denied on a 2k3 box. I'm an Admin on both, can anyone tell me why? strComputer = "." Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer &...
  4. JBorecky

    Trying to read volume label on DVD\CD

    Set objFSO = CreateObject("Scripting.FileSystemObject") Set objDrive = objFso.GetDrive(objFso.GetDriveName("D:\")) Wscript.Echo "Label: " & objDrive.VolumeName
  5. JBorecky

    Published Software

    Also check the permissions on the policy.
  6. JBorecky

    Allow users to change IP Address

    Being in a corporate enviornment myself, I'd check with corporate. Of course unless you're the MAIN corporate admin. They get kinda funny when you start making unapproved changes that could impact the network.
  7. JBorecky

    Printer IP Addresses

    That is Curious. The only reason I can think of, was if your reservation was part of the exclusions list in the DHCP? This is a common mistake.
  8. JBorecky

    Advice on using ADS

    BE SURE TO READ EVERYTHING, THIS WILL STOP THE GENERAL JOE, BUT WILL NOT STOP SOMEONE WHO KNOWS WHAT THEY ARE DOING!!!!! Also you may find that you have to manually change the .vbs extension to .vbe. Description...
  9. JBorecky

    Read Text File, Pass to script

    Have Fun! Const ForReading = 1 Const ForWriting = 2 Const ForAppending = 8 Set objFSO = CreateObject("Scripting.FileSystemObject") Set objInputFile = objfso.OpenTextFile("InputFile.txt",ForReading) Do While objInputFile.AtEndOfStream <> True strIPAddress = trim(objInputFile.readline)...
  10. JBorecky

    Help searching the registry

    :) Try this now. I promise it won't blow up your machine." Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." const REG_SZ = 1 const REG_EXPAND_SZ = 2 const REG_BINARY = 3 const REG_DWORD = 4 const REG_MULTI_SZ = 7 strOriginalKeyPath = "SYSTEM\CurrentControlSet\Control\Class"...
  11. JBorecky

    Help searching the registry

    lol I just got what you were talking about. I have a habit of running my scripts for a command prompt and use a cscript engine. Sorry about that. I bet it produced a few pop-ups.
  12. JBorecky

    Help searching the registry

    Replace your objReg.GetStringValue with oReg.GetDWORDValue
  13. JBorecky

    Help searching the registry

    This will get you started. [sleeping2] What can I say I got bored. Hopefully you don't need a binary or Multistring value. Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." const REG_SZ = 1 const REG_EXPAND_SZ = 2 const REG_BINARY = 3 const REG_DWORD = 4 const REG_MULTI_SZ = 7...
  14. JBorecky

    Trust relationships between subnets?

    Yes they would. They would have to log on the first time. But if they are running XP or WIN2K, these operating systems will cache the credentials.
  15. JBorecky

    Help searching the registry

    Try this. I don't have that value so I can't make an exact test. I have written a recursive function also to check all the reg keys from a given Key depth, if you need it. I noticed a lot of sub keys in mine. And maybe this is what your looking for. Const HKEY_LOCAL_MACHINE = &H80000002...
  16. JBorecky

    Trust relationships between subnets?

    Are you blocking any ports? AD needs certain ports to communicate. including but not limited to LDAP and Kerberos. http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/activedirectory/deploy/confeat/adrepfir.mspx If you are getting a trust error you may have to pull the...
  17. JBorecky

    Trust relationships between subnets?

    Oh by the way. netdom is a useful tool to use to add workstations to the domain remotely. netdom /? will give you the options. This is a command line utility.
  18. JBorecky

    Trust relationships between subnets?

    You'll like AD. It'll make your job a lot easier
  19. JBorecky

    Prevent users from joining machines to workgroups

    But does the GUI under system properties use netdom also?
  20. JBorecky

    Trust relationships between subnets?

    No, here's the deal basically. If the computer has to have a computer account to get a trust relationship. This is created when you join the computer to the domain. This can be done in Control Panel->System Properties of the local box. You will find under the ComputerName tab at the bottom a...

Part and Inventory Search

Back
Top