none
Need Script -

    Question

  • Requirement: Need to update 3 exe file that i need to update from share folder to client desktop, laptop

    @ c:\prgram files\XXXX\

    I tried with vbs script via group policybut its updating very slow on client side.

    24 location and each location have 1 2003 server Domain controller.

    Need expert suggestion.

    *this exe is allready in client side, due to latest update we have to push the latest update to all client

    Hope i am clear, please write if require more information.

    Piyush

    Monday, December 15, 2014 4:21 AM

Answers

  • id opt for  a GPP as described here it will most likely serve you better http://technet.microsoft.com/en-gb/library/cc772536.aspx
    • Proposed as answer by AlexAdkin Thursday, December 18, 2014 2:42 PM
    • Marked as answer by Frank Shen5Moderator Wednesday, December 24, 2014 4:08 PM
    Monday, December 15, 2014 6:12 PM
  • Hi,

    How is it going? I agree with Zanderol24 that we can use Group Policy Preferences File extension to do this. We can configure a GPP File item to replace the exe files.

    If we still want to use script to do this, please try to manually run the script on a client to see if it can run successfully. Besides, please check event logs in Event Viewer to see if some related events were logged. Moreover, you can run cmd gpresult/h gpreport.html to check how group policy settings are applied.

    If the issue resulted from the script itself, in order to get better help, we can ask for advice in the following forum for script issues.

    The Official Scripting Guys Forum

    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG

    Best regards,

    Frank Shen

    Thursday, December 18, 2014 7:36 AM
    Moderator

All replies

  • Try .bat file to rename existing exe and then to paste new exe.

    use logon script using gpmc.

    give RW access for all domain users on source folder where you will store your exe.

    Monday, December 15, 2014 7:39 AM
  • I am using this batch file

    wscript.exe "\\abc.com\NETLOGON\Software\Script.vbs"

    and type the batch file name on profile in Logon Script of user profile. but its not working

    Monday, December 15, 2014 10:26 AM
  • id opt for  a GPP as described here it will most likely serve you better http://technet.microsoft.com/en-gb/library/cc772536.aspx
    • Proposed as answer by AlexAdkin Thursday, December 18, 2014 2:42 PM
    • Marked as answer by Frank Shen5Moderator Wednesday, December 24, 2014 4:08 PM
    Monday, December 15, 2014 6:12 PM
  • Hi,

    How is it going? I agree with Zanderol24 that we can use Group Policy Preferences File extension to do this. We can configure a GPP File item to replace the exe files.

    If we still want to use script to do this, please try to manually run the script on a client to see if it can run successfully. Besides, please check event logs in Event Viewer to see if some related events were logged. Moreover, you can run cmd gpresult/h gpreport.html to check how group policy settings are applied.

    If the issue resulted from the script itself, in order to get better help, we can ask for advice in the following forum for script issues.

    The Official Scripting Guys Forum

    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG

    Best regards,

    Frank Shen

    Thursday, December 18, 2014 7:36 AM
    Moderator