Hello,
I have a bit of a general security ("best practices") question. Is there any inherent security risk associated with GPO'ing a logon script to import a registry file.
We're having a heck of a time with:
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection ("$PRINTERPATH")
It works 3/4 of the time with a third of our employees. And, it's getting aggravating. Another group of people can't save their settings on a particular shared printer, either.
Testing with a the following in a .bat file:
regedit /s $HKCU\Printers\Connections\Printer.reg
That works perfectly. But, my gut tells me it is not wise to make a change to the registry like this.
I have a bit of a general security ("best practices") question. Is there any inherent security risk associated with GPO'ing a logon script to import a registry file.
We're having a heck of a time with:
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection ("$PRINTERPATH")
It works 3/4 of the time with a third of our employees. And, it's getting aggravating. Another group of people can't save their settings on a particular shared printer, either.
Testing with a the following in a .bat file:
regedit /s $HKCU\Printers\Connections\Printer.reg
That works perfectly. But, my gut tells me it is not wise to make a change to the registry like this.