VB.Script And script Bat File WScript.exe,CSCRIPT For Map Share Printer Canot Run On Self Service Poltal..

VB.Script And script Bat File WScript.exe,CSCRIPT For Map Share Printer Canot Run On Self Service Poltal..

Hello I want run script add map driver Printer sharing on server
Example : \\server\printer1

Code Bat File: 
CSCRIPT %WINDIR%\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -ac -p "\\server1\Printer1"

Or
 
Code Vbs File:
Dim net
   Set net = CreateObject("WScript.Network")    
   net.AddWindowsPrinterConnection "\\sedcsps01\Canon_BW"
   net.SetDefaultPrinter "\\server1\Printer1"

I Cannot run App On Self Service Poltal   at all .Bat Flie cscript.exe and  .vbs file on packet
Sofware Packet in  >  Pre-Deployment Activities   >   custom script.. 

But
I can Map .Bat Flie cscript.exe and .vbs file  For Map Driver Share Printer on
Configuration   >   Custom Script : Script repository  Done is OK

Please Help Me.
IT Tecnical Support

                  New to ADSelfService Plus?