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

  1. ccoll23

    Logon Script and DN

    I have a logon script that I have been using for several years that will perform funtions such as map printers and drives for a computer according to the OU it belongs to.(ex:) Select case(OU) '############## 'Case Ucase("Laptops") WshNet.AddWindowsPrinterConnection "\\server\printer"...
  2. ccoll23

    pass line from text file and use output within script.

    THANK YOU!!!!...Ive been looking at this all day..
  3. ccoll23

    pass line from text file and use output within script.

    The contents of the txt file which is one line and looks like this: OU=Laptops,OU=Dcc,OU=Satelite Thanks
  4. ccoll23

    pass line from text file and use output within script.

    Have a script that reads a txt file which contains the computer's OU path. I want to take that line from the text and put that into the script to have it join the domain. I get the error "an invalid DN syntax hs been specified. How can I get it to read the variable "strContents" ? here is the...
  5. ccoll23

    Snap server 4200

    We have two snap servers(4200) that have Guardian OS 2.6.050. On one of the servers, which is 95% full, I am unable to share out any folder. Previously it had been shared but the server had lost connection to the network, and since rebooting, I am unable to create any shares or edit anything...
  6. ccoll23

    cacls to text file

    Thanks barney2006 and PHV..appreciated
  7. ccoll23

    cacls to text file

    c:\cacls foldername > c:\temp\list.txt <enter>
  8. ccoll23

    cacls to text file

    I can figure out how to send the access control list of a folder with cacls from the command prompt, but can't seem to figure how to do it with .vbs. Any ideas? Thanks
  9. ccoll23

    Location ini

    this is the link I am referring to: thread329-751336
  10. ccoll23

    Location ini

    Yes I am in AD. I currently run logon scripts with gp, but have many OU's with different requirements,(mostly different printers)and am curios about calling an ini file from the logon script, if I understand the concept correctly. Thanks
  11. ccoll23

    Location ini

    I've seen a few posts of "mrmovie" that refer to a logon script referencing an ini file. I am interested in putting together a logon script that references this for mapping drives, printers and other things. Our company has about 1000 workstations which are spread out over 7 physical locations...
  12. ccoll23

    &quot;If&quot; statement to change registry value

    Thanks for the link. I was able to make it work from that info....thanks PHV
  13. ccoll23

    &quot;If&quot; statement to change registry value

    I need help in changing a value of a registry key. If the value is equal to "1" I would like to change it to "2". The key is HKEY_LOCAL_MACHINE\Software\develop\materials, Default connection "1"... Thanks for any help, ccoll23
  14. ccoll23

    List subfolders

    That's it!!..Thanks benchristian for the help!!!...
  15. ccoll23

    List subfolders

    mrmovie, Thanks, but how would I write that to file? That's what I'm having trouble with. How would I change the "Wscript.Echo" to write the results to a txt file? Thanks, ccoll23
  16. ccoll23

    List subfolders

    Does anyone know how to list the following to a text file? Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.GetFolder("C:\FSO") Set colSubfolders = objFolder.Subfolders For Each objSubfolder in colSubfolders Wscript.Echo objSubfolder.Name, objSubfolder.Size...
  17. ccoll23

    show folder security

    Is there a script or utility that will list the effective folder permissions of group folders for a Windows 2003 server? Thanks
  18. ccoll23

    Deleting local printers in w2k

    Thanks for all the input, but I didn't use this one before because I don't want to delete the stand alone printers attached to LPT1 (just the printers that were set up with created local ports of \\server\printer.) Thanks
  19. ccoll23

    Deleting local printers in w2k

    The link states it deletes a "tcp/ip" port, I'm trying to delete a local port. Is there a different method or location for this? (the site also said w2k was not a supported platform). Any other thoughts? Much Appreciated!
  20. ccoll23

    Deleting local printers in w2k

    Yes, this line: objPrinter.Delete_

Part and Inventory Search

Back
Top