1. Unregistered's Avatar
    I have a script on one of my servers that unlocks all locked out accounts in AD. I can see the file on my phone via work drives, however I can't execute it. Of course I could use an rdp app then execute it on the server that way but I was hoping to have a one tap solution right from my phone.

    So far I have only been able to find information for app developers that doesn't really solve my issue. Can anyone tell me if this is even possible and if so, how do I set it up?

    In case you are wondering I am using a BES10 Server and I have work drives setup via work mode so I don't have to vpn in to access files. I would prefer the solution to work in work mode so I don't have to vpn in but that is a minor issue and I can vpn in if needed.

    Thanks in advance.
    07-17-14 03:50 PM
  2. BergerKing's Avatar
    I sent an alert to our BES users on the team to try and get you some help with your question as soon as possible, it isn't being ignored.
    07-17-14 04:00 PM
  3. rthonpm's Avatar
    I don't know how much help you'll really be able to get since there's no Windows binaries in BlackBerry 10 so you would have to run the batch file from a Windows environment.

    Here's hoping though that our BES gurus have a better answer for you though.

    Posted via CB10
    07-17-14 04:59 PM
  4. Gralen84's Avatar
    I'm the OP, just created an account. I understand about the windows binaries, but hopefully there is a way to send a command from the phone to tell the server to execute the batch. Kind of like patrols does with remote machines.

    I'm probably hoping for something that's not physically possible but thought it was worth am ask.

    Posted via CB10
    07-17-14 05:13 PM
  5. Gralen84's Avatar
    I meant to say pstools not patrols. Auto correct and not proofing my message. Sorry.

    Posted via CB10
    07-17-14 05:14 PM
  6. Branta's Avatar
    I understand about the windows binaries, but hopefully there is a way to send a command from the phone to tell the server to execute the batch. Kind of like patrols does with remote machines.
    The only way I can imagine to do this would be a permanently looping task running on the server which looks for the presence of a specific named trigger file to cause the script to be launched. You simply need to drop the trigger file when you want the script to run. I think it should be possible to do this with a simple MSDOS batch file, something like this logic:

    //Start loop
    If {
    exist (trigger file)
    delete trigger file
    call unlock-script
    }
    // wait 15 minutes (900 seconds) and go back to the top
    sleep 900
    loop
    // end
    07-17-14 08:58 PM
  7. Gralen84's Avatar
    Thanks for getting back to me so quickly. This suggested loop will work for what I'm trying to do. Your help is greatly appreciated.

    Posted via CB10
    07-18-14 09:27 AM
  8. Gralen84's Avatar
    In case anyone else is looking to do this, we ended up creating a citrix app that logs in, runs the unlock script and then logs out.

    Posted via CB10
    07-18-14 09:51 AM
  9. fadmin's Avatar
    So you couldn't run is as a scheduled task?
    07-18-14 09:59 AM
  10. Branta's Avatar
    In case anyone else is looking to do this, we ended up creating a citrix app that logs in, runs the unlock script and then logs out.

    Posted via CB10
    If you have Citrix available for remote access this is a better solution than a looping script. One less task permanently running, one less thing to go wrong.
    rthonpm likes this.
    07-19-14 07:25 AM

Similar Threads

  1. Missing Tweets on Twitter native BB10 app
    By jmaxim917 in forum BlackBerry Z10
    Replies: 12
    Last Post: 06-18-15, 01:30 AM
  2. What emoticon/smiley is this on the BB Z10? %(..)%
    By cloudgirl in forum BlackBerry Z10
    Replies: 7
    Last Post: 07-25-14, 07:38 AM
  3. my phone wont turn on
    By CrackBerry Question in forum Ask a Question
    Replies: 3
    Last Post: 07-18-14, 01:14 PM
  4. Intelligent Assistant on BB OS 10.3.0.700?
    By Gokula Krishnan1 in forum BB10 Leaked/Beta OS
    Replies: 2
    Last Post: 07-18-14, 06:54 AM
  5. Facebook Messenger features finally work on 10.3
    By CatlinFD in forum BB10 Android App Sideloading
    Replies: 1
    Last Post: 07-17-14, 03:47 PM
LINK TO POST COPIED TO CLIPBOARD