+ Post New Thread
Results 1 to 10 of 10
Network and Classroom Management Thread, Logon Batch Script on RM CC4 in Technical; Hello, As anyone had success in executing a batch file (.bat) from the netlogon on a RM CC4.2 network? I ...
  1. #1
    PaulRenda's Avatar
    Join Date
    Mar 2012
    Location
    London
    Posts
    50
    Thank Post
    3
    Thanked 5 Times in 2 Posts
    Rep Power
    6

    Logon Batch Script on RM CC4

    Hello,

    As anyone had success in executing a batch file (.bat) from the netlogon on a RM CC4.2 network?

    I need to run a batch file for all users when they logon, but I'm finding hard to find information on RM on how to do this, although quite a few of their TEC articles say it is possible, but no indication on how to accomplish.

    Thank you.

  2. #2
    foofighterjim's Avatar
    Join Date
    Nov 2011
    Location
    Birmingham
    Posts
    521
    Thank Post
    50
    Thanked 94 Times in 70 Posts
    Rep Power
    36
    What exactly are you trying to achieve? I would always try to find a better way than using a .bat but I believe the following would work (please note that I haven't actually done this myself so you will need to test)

    1. To run a batch file you need to ensure that all accounts have "Allow execution of 16-bit and DOS applications" enabled in the rights tab of the user accounts.

    2. The .bat needs to be in a location accessible to these accounts.

    3. In the relevant User Policy you need to:
    Disable; Software Restrictions> Disable the command prompt.
    Add the file; General> Specify programs to run after logon.

  3. #3
    PaulRenda's Avatar
    Join Date
    Mar 2012
    Location
    London
    Posts
    50
    Thank Post
    3
    Thanked 5 Times in 2 Posts
    Rep Power
    6
    Hi foofighterjim,

    Thanks for that. I got everything up to point 3, but the 'Add the file; General > Specify programs to run after logon I didn't understand.

    Say I have a file called abc.bat, located on the NETLOGON folder (\\servername\netlogon), which actually points to an executable file abc.exe at the same location.

    What would I need to write on the Name and Value boxes?

    Ta.

  4. #4
    foofighterjim's Avatar
    Join Date
    Nov 2011
    Location
    Birmingham
    Posts
    521
    Thank Post
    50
    Thanked 94 Times in 70 Posts
    Rep Power
    36
    This is described better in TEC663412 than what I can put on here. Out of interest why get a bat to reference the exe, why not just run the exe with command line switches if necessary?

  5. #5
    PaulRenda's Avatar
    Join Date
    Mar 2012
    Location
    London
    Posts
    50
    Thank Post
    3
    Thanked 5 Times in 2 Posts
    Rep Power
    6
    Shame that TEC article is for CC3 network. Doesn't quite work the same on CC4.2.

    Quote Originally Posted by foofighterjim View Post
    This is described better in TEC663412 than what I can put on here. Out of interest why get a bat to reference the exe, why not just run the exe with command line switches if necessary?

  6. #6
    PaulRenda's Avatar
    Join Date
    Mar 2012
    Location
    London
    Posts
    50
    Thank Post
    3
    Thanked 5 Times in 2 Posts
    Rep Power
    6
    Reply from RM Support:
    "Hi Paul. unfortunately as you say [TEC article] that relates to CC3. There is no method of doing this natively in CC4.
    You can run them native in Windows but it is not supported by RM."

    Fantastic. I can't believe that no one has accomplished running an exe/bat file at startup logon on a CC4 network.

  7. #7

    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Harpenden
    Posts
    2,584
    Thank Post
    59
    Thanked 371 Times in 287 Posts
    Blog Entries
    7
    Rep Power
    134
    "Not Supported" isn't the same as "doesn't work". It just means that you're on your own if it doesn't work. You could just try using the native Windows script handlers to see what happens.

  8. #8
    jaf
    jaf is offline

    Join Date
    Sep 2013
    Posts
    41
    Thank Post
    1
    Thanked 10 Times in 7 Posts
    Rep Power
    4
    Try putting in (as above) the exe file in RMMC in a user policy - general - "Run these programs after logon". In the Name box just put any name. In value put the full location of the exe or bat file eg \\server\Netlogon\exe.exe -switch if necessary. Works for us!

  9. #9
    PaulRenda's Avatar
    Join Date
    Mar 2012
    Location
    London
    Posts
    50
    Thank Post
    3
    Thanked 5 Times in 2 Posts
    Rep Power
    6
    jaf,

    It worked perfectly!!!

    Quote Originally Posted by jaf View Post
    Try putting in (as above) the exe file in RMMC in a user policy - general - "Run these programs after logon". In the Name box just put any name. In value put the full location of the exe or bat file eg \\server\Netlogon\exe.exe -switch if necessary. Works for us!
    Attached Images Attached Images
    Last edited by PaulRenda; 19th August 2014 at 04:08 PM.

  10. #10
    PaulRenda's Avatar
    Join Date
    Mar 2012
    Location
    London
    Posts
    50
    Thank Post
    3
    Thanked 5 Times in 2 Posts
    Rep Power
    6
    I've done a tutorial on how to force a screen resolution on all CC4 computers.

    How to Force Screen Resolution on CC4 on all Desktops

    I hope you enjoy it.



SHARE:
+ Post New Thread

Similar Threads

  1. Volume Control Muted on RM CC4 Networks . . .
    By ARICHARD5 in forum Windows
    Replies: 2
    Last Post: 23rd May 2014, 01:43 PM
  2. Controlled assessment on RM CC4
    By kai91 in forum Office Software
    Replies: 8
    Last Post: 25th May 2012, 03:20 PM
  3. Controlled assessment on RM CC4
    By kai91 in forum Windows 7
    Replies: 3
    Last Post: 16th May 2012, 01:25 PM
  4. Clear IE addons for all users on RM CC4?
    By gsk in forum How do you do....it?
    Replies: 0
    Last Post: 6th January 2011, 12:46 PM
  5. Installing Quark Xpress 8 on rm cc4 networks.
    By radioguyana in forum General Chat
    Replies: 0
    Last Post: 10th November 2010, 07:06 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •