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. ADA2017

    Opening a folder (using a drive letter) as a different user via RUNAS

    Thanks for the analysis, GUITARZAN. It's actually established that RunAs.vbs is able to execute Tester.vbs. The error CODE: "8007000F - The system cannot find the drive specified." returned refers to this line in Tester.vbs : objSHell.Run("""S:\Photos Folder\User ABC\Face Photos"""). Yes, using...
  2. ADA2017

    Opening a folder (using a drive letter) as a different user via RUNAS

    Let me try to be clearer and use the actual network paths for illustration purposes: ***Please note: Item 4 is important. It's been established 1000 times. Thank you.*** 1. R: drive is mapped to network path [highlight #FCE94F]\\RAO_ARIA_DB\Custom Reports\[/highlight] 2. S: drive is mapped to...
  3. ADA2017

    Opening a folder (using a drive letter) as a different user via RUNAS

    Yes, drive S is mapped to the same location for all users running this script. All verified that they can access the S drive and the location in the S drive.
  4. ADA2017

    Opening a folder (using a drive letter) as a different user via RUNAS

    See attached for the error message. 1. Credentials all verified. 2. Mapped drive and drive letter all good. 3. Tester.vbs and RunAs.vbs are in the same folder. I actually tried "X:\MyFolder\Tester.vbs" and "\\ServerLocation\Folder123\Tester.vbs". Eventually it did work for when you put the...
  5. ADA2017

    Opening a folder (using a drive letter) as a different user via RUNAS

    I failed to mention that that is a given: The drive letter is ALREADY set up for all users.
  6. ADA2017

    Opening a folder (using a drive letter) as a different user via RUNAS

    Hi All, Suppose I have a VBS file named Tester.vbs. Contents below: Set objShell = CreateObject("Wscript.Shell") objSHell.Run("""S:\Photos Folder\User ABC\Face Photos""") This script runs fine and opens the folder. Now, I want to open that specific folder (It's a network folder and the...

Part and Inventory Search

Back
Top