printmig and scheduled tasks - backing up print queues programitic

Discussion in 'Windows Server' started by Kieran, Dec 15, 2008.

  1. Kieran

    Kieran Guest

    Hi All,

    I've used print mig with command line to schedule backups however while I
    can run it as a scheduled task with my own user account, as soon as I use
    another user account with the same rights (identical group memberships), it

    From what i've investigated, this is because printmig will always run as a
    gui despite it being called in command line mode. As soon as I change the
    account back to the user who's logged on, the GUI pops up and it works fine.

    Is there a way to make it work as a scheduled task or another way I can
    schedule backups of queues on a daily basis? Clustering isn't a choice for us

    Code being run is as follows:
    dim dateshort
    dim objShell

    dateshort = DatePart("d",Date) & DatePart("m",Date) & datepart("y",date)

    set objShell=CreateObject("")"C:\Windows\printmig.exe -b d:\printmig\backup-" & dateshort &


    Kieran, Dec 15, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.