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

    Permission Denied 800A0046

    Or is the \ just for DOS? in that article it says to do the RunAs in the Start - Run, or at a command prompt. Brad
  2. tekmbrad

    Permission Denied 800A0046

    Thank you for your help. I really appreciate how you put the colors in the code examples to show me what I'm doing. That really helps. I copied your code into my script and nothing happened. I have some WScript.echo's in the second script that is being called and they don't pop up. When I...
  3. tekmbrad

    Permission Denied 800A0046

    I'm still doing testing to get it to work This works: oShell.Run "cscript.exe ""C:\Documents and Settings\bmcintyr\My Documents\Scripts\CopyMarcotteFiles.vbs""" but this won't oShell.Run "RunAs /noprofile /user:bmcintyr ""cscript.exe ""C:\Documents and Settings\bmcintyr\My...
  4. tekmbrad

    Permission Denied 800A0046

    oooohhhh I get it. I stared at it for a while. It was kind of like those pictures that you have to stare at until the hidden picture comes out. Thanks. Brad
  5. tekmbrad

    Permission Denied 800A0046

    That doesn't quite make sense to me... The first open quote is on "RunAs The close to that quote is after abcdef " The next open quote is on "cscript.exe The close to that quote is after .vbs" Why do I need the extra 2 at the end? Thanks again for your help and direction I really appreciate...
  6. tekmbrad

    Permission Denied 800A0046

    The only issue is that the site where I need the code run is 13 hrs drive away, and I don't want to provide my network creds for the folks to type in. I just want to put the script on the PC, get the local users to run it then delete it. Plus when you do option one, the creds are saved until...
  7. tekmbrad

    Permission Denied 800A0046

    This link may provide help to other users: http://blogs.technet.com/b/heyscriptingguy/archive/2006/04/28/how-can-i-use-the-runas-command-to-run-a-script-under-alternate-user-credentials.aspx
  8. tekmbrad

    Permission Denied 800A0046

    Excellent suggestions. I'll see if I can make them work. Thanks so much for the very quick reply. Have a great day, Brad
  9. tekmbrad

    Permission Denied 800A0046

    Thanks for taking the time to read my question. I have been searching for a solution, but have not found one online. I have a script that copies a folder from a PC to the server. It works well on my laptop if I'm logged on as me and on the local domain. The problem I'm up against is the PC...

Part and Inventory Search

Back
Top