Answer the question
In order to leave comments, you need to log in
How to add a script when entering a domain network?
There is a program called Frendly Pinger. I planned to use it to inventory computers on the network.
The scheme is as follows, there is a file (Collect.exe) that collects information about the computer (does not require administrator rights), I placed it on the server itself.
And actually the script \\SERVERNAME\netlogon\Collect.exe -s:NAMECOMPUTER-a -Desktop -StartMenu The batch
file added to netlogon. I also added a batch file to the login script.
It seems that I did everything, but nothing works) I'm new to this business, maybe tell me something. Seems like I'm missing something.
Answer the question
In order to leave comments, you need to log in
The network directory must be attached as a net use drive How to use net use correctly? and run the script from under it.
You can add a domain to the trusted zones so that the exe shnik does not swear at security at startup - https://www.mytechnote.ru/article/dobavlenie-domen...
If it still does not start, then this program will need to be from the batch file run:
start \\path\to\prog-parameters
There was a similar situation, if I'm not mistaken, I was helped by placing the script along the path "C:\Windows\SYSVOL\sysvol\domain.local\scripts" (I created a couple of scripts and did not share them with policies) and prescribed it for the user (one big note, the name of the script should be without spaces ).
Didn't realize it's been a year...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question