+ Post New Thread
Results 1 to 15 of 15
Windows Server 2000/2003 Thread, Open VLC on all PCs from one location i.e Windows server in Technical; Hi All Is it possible to open VLC on 30 PCs from a server using some kind of net send ...
  1. #1

    Join Date
    Sep 2010
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Open VLC on all PCs from one location i.e Windows server

    Hi All

    Is it possible to open VLC on 30 PCs from a server using some kind of net send or something else?

  2. #2
    TheLibrarian
    Guest
    It is entirely possible, I would suggest you look at PSEXEC PsExec.

  3. #3
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,529
    Thank Post
    108
    Thanked 89 Times in 75 Posts
    Blog Entries
    47
    Rep Power
    41
    something like

    for /f %a in ('net view | find "prefix" ') do psexec %a "c:\program files\vlc\etc"

  4. #4
    Admiral208's Avatar
    Join Date
    Mar 2008
    Location
    Bridgwater
    Posts
    722
    Thank Post
    176
    Thanked 63 Times in 55 Posts
    Rep Power
    40
    check out EZ Execute. Its a gui for PSexec.

  5. #5

    Join Date
    Sep 2010
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Can you give an example of a PSEXC script I could run to open VLC on 2 PCs via the server?

    I guess you cannot do the same for login....?

  6. #6

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,234
    Thank Post
    894
    Thanked 1,780 Times in 1,534 Posts
    Blog Entries
    12
    Rep Power
    462
    We just installed it on all machines using a simple startup script.

    Code:
    if exist "C:\Program Files\VideoLAN\VLC" goto :eof ELSE
    @echo off
    \\server\share\vlc-1.1.4-win32.exe /S


    PS: The switch is case sensitive.

  7. #7

    Join Date
    Sep 2010
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Im sorry .... I cannot get this to work... Is there some kind of dummys guide of how to use this? From opening the program to executing commands like open VLC....

  8. #8

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,234
    Thank Post
    894
    Thanked 1,780 Times in 1,534 Posts
    Blog Entries
    12
    Rep Power
    462
    Quote Originally Posted by niloc View Post
    Im sorry .... I cannot get this to work... Is there some kind of dummys guide of how to use this? From opening the program to executing commands like open VLC....
    Do you mean my script.

    Well do the following

    1. Create a shared folder. Permissions must be set so Domain Computers can have view rights.
    2. Download VLC and place it into the share
    3. Open note pad. Copy and paste my above text. Change the servername and share path and possibly file name.
    4. File > save as. Call the file install.bat and on the "save file type as" select all files
    5. Open group policy and select a group policy that applies to your computers.
    6. Under computer configuration and startup scrips find the install.bat file.

    Reboot your machines you should be fine.


    EDIT: Sorry i misread your post this will install VLC not open it
    Last edited by FN-GM; 25th October 2010 at 11:00 AM.

  9. #9

    Join Date
    Sep 2010
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Once I have installed this is there then a way of streaming content to 30 laptops? I will setup a stream from the server and have a shortcut on 30 PCs that subscribe to that stream. I want to open all the streams around the same time.... want to automate the process basically..

  10. #10
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    112
    Quote Originally Posted by Admiral208 View Post
    check out EZ Execute. Its a gui for PSexec.
    Do you know where I can obtain EZ Execute? Their website is down.

  11. #11

    Join Date
    Sep 2010
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

  12. #12

    Join Date
    Sep 2010
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Can anyone help further with this?

  13. #13
    TheLibrarian
    Guest
    Do the PC's you want to run VLC on have follow a naming convention? If so post the convention they follow please if you want help with the for command.

    The program that will allow you to remotely execute VLC on the workstations / laptops is PsExec.


    The parameters you need to pass to execute VLC remotely are -s -d -i \\remotecomputername C:\path to vlc\vlc.exe [parameters for vlc here].
    For completeness I should make you aware that the -s switch will run VLC with SYSTEM priviledges.
    You may not need the -s switch, it'd be worth testing with and without it and if it works without, don't use it.

    Alternatively, if you do not want to use the for command, or the PC's do not follow a naming convention then you can use \\remotecomputername1,remotecomputername2,remoteco mputername3 and so on.

    If you want the PC's to start VLC more or less at the same time then I'd suggest using the start "Starting VLC" /min command preceding the psexec otherwise the last PC to start VLC will likely be behind the first one by a number of seconds multiplied by the number of PC's you started VLC on.
    Last edited by TheLibrarian; 28th October 2010 at 10:58 AM.

  14. #14

    Join Date
    Sep 2010
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    What if the PCs have a shortcut on the desktop which point to a UDP multicast stream..... Can you open this?

  15. #15
    TheLibrarian
    Guest
    If you take the parameters passed to VLC in the shortcut and pass them on the psexec line after the vlc.exe, that should do it.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 4
    Last Post: 18th November 2011, 03:36 PM
  2. Edit default "open & save" location of programs using ORCA
    By setchuk in forum How do you do....it?
    Replies: 5
    Last Post: 28th July 2010, 03:15 PM
  3. Default Windows Explorer Opening Location
    By EJWill in forum Windows 7
    Replies: 11
    Last Post: 2nd February 2010, 02:36 PM
  4. Recent Windows patch breaks VLC DVD playback
    By cookie_monster in forum Windows
    Replies: 3
    Last Post: 23rd July 2009, 01:33 PM
  5. FTP Location & Windows Explorer
    By thegrassisgreener in forum Windows
    Replies: 2
    Last Post: 18th October 2007, 01:49 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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