Announcement

Collapse
No announcement yet.

Is there one VB script to....

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there one VB script to....

    Is there one vb scipt to :

    map network drives
    - remove existing drive mappings + remap

    Map printers

    clear tmp files

    make the current user loggin on a local administrator

  • #2
    map drive:
    http://forums.petri.com/viewtopic.php?t=352
    disconnect drive:
    Code:
    Dim Network 
    Set Network = CreateObject("Wscript.network") 
    Network.RemoveNetworkDrive "G:", "\\Server1\Data"
    map printers:
    http://forums.petri.com/viewtopic.php?t=426

    check local admin rights:
    http://www.microsoft.com/technet/com.../scrug111.mspx

    temp files:
    which files/folders do you mean? installed temp files or IE temp files?
    which path are the files located?
    Marcel
    Technical Consultant
    Netherlands
    http://www.phetios.com
    http://blog.nessus.nl

    MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
    "No matter how secure, there is always the human factor."

    "Enjoy life today, tomorrow may never come."
    "If you're going through hell, keep going. ~Winston Churchill"

    Comment


    • #3
      IE Temp FIles

      Thanks

      Comment

      Working...
      X