Irfansj Posted January 7, 2013 Report post Posted January 7, 2013 Hello, I have struggling hard to create a simple package using a batch file. Probably if some one can help I need to copy DLL file to c:\windows\system32 directory on all managed clients. Also I need to run .reg file on all client workstations which will create keys in the registry. Action I took: I created a batch file using copy \\ServerName\.... c:\windows\system32 regedit /S \\Servername\path\register.reg I than go up and create a standard program from the Package --> New Package wizard. However i am unable to copy these files to system32 directory. Is there a different way to create such packages?? Where should i search for error logs on client side ?? Quote Share this post Link to post Share on other sites More sharing options...
0 Peter van der Woude Posted January 7, 2013 Report post Posted January 7, 2013 Put all the files (batch, registry and dll) in the same package, change the location in the batch file to %~dp0 and advertise it. Quote Share this post Link to post Share on other sites More sharing options...
Hello,
I have struggling hard to create a simple package using a batch file. Probably if some one can help
I need to copy DLL file to c:\windows\system32 directory on all managed clients. Also
I need to run .reg file on all client workstations which will create keys in the registry.
Action I took:
I created a batch file using
copy \\ServerName\.... c:\windows\system32
regedit /S \\Servername\path\register.reg
I than go up and create a standard program from the Package --> New Package wizard.
However i am unable to copy these files to system32 directory.
Is there a different way to create such packages??
Where should i search for error logs on client side ??
Share this post
Link to post
Share on other sites