문제

So I've been able to make use of the GPMC library to add GPO's and link them to OU's. However my program needs to be able to attach logon/logoff/etc scripts to the GPO User/Computer configuration. I could go and edit the scripts.ini file and then proceed to edit the gpt.ini file version, but this seems @$$ backwards to be doing it that way. Is there something I'm missing in the GPMC library that I can utilize to do this?

Thanks.

도움이 되었습니까?

해결책

There doesn't seem to be a direct way, but I was able to use GPMC's backup/restore/import feature to help set up the GPO to the point where I was able to just edit the scripts.ini file.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top