Announcement

Collapse
No announcement yet.

VBscript problems on WinSer 2K8R2

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

  • VBscript problems on WinSer 2K8R2

    Platform: Windows Server 2008 R2

    Trying to run a VBscript from Task Scheduler. The script identifies stale accounts (90 days of inactivity) and disables them.

    Getting an error of "Permission Denied Code 800A0046" on the following line of the script -

    Set output=oFSO.CreateTextFile(strLogPath & strOutputLog & strDate & ".log.tab")

    [Didn't see any defined method for including code in a post so I will limit it to just the one line for now]

  • #2
    Re: VBscript problems on WinSer 2K8R2

    NTFS permissions on the output folder?

    EDIT
    To post the script, just type [ CODE ] then paste then [ \CODE] (remove all spaces inside the [ ] or click "Go Advanced" and use the code (#) button
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    PhD, MSc, FIAP, MIITT
    IT Trainer / Consultant
    Ossian Ltd
    Scotland

    ** Remember to give credit where credit is due and leave reputation points where appropriate **

    Comment

    Working...
    X