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 Chris Miller 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. dniskin

    Permission denied

    Const HIDDEN_WINDOW = 12 strComputer = "ADMIN-PC" Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objStartup = objWMIService.Get("Win32_ProcessStartup") Set objConfig = objStartup.SpawnInstance_ objConfig.ShowWindow =...
  2. dniskin

    Permission denied

    Yes, one of them was not helpful, this was the one concerning changing the path of my program. Thankyou.
  3. dniskin

    Permission denied

    Yes it was open I looked in processes, my script had worked once but under a hidden window, then when I tried to do it again, it came up with permission denied and has done since. Thanks for your help.
  4. dniskin

    Permission denied

    It works manually, yes I have the necessary credentials. Should I making 3 scripts instead of 1 i.e split it up?
  5. dniskin

    Permission denied

    Thanks for your help, but sadly it's still not working.
  6. dniskin

    Permission denied

    Sorry didn't help, the problem is with the objFSO.CopyFile line. Thanks anyway.
  7. dniskin

    Permission denied

    This is my code, but it says on line 16 char 1 permission is denied: Const HIDDEN_WINDOW = 12 strComputer = "ADMIN-PC" Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objStartup = objWMIService.Get("Win32_ProcessStartup")...

Part and Inventory Search

Back
Top