Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Making a .bat run silently via GPO?

$
0
0
Here's my batch file, in its entirety:

@echo off

NET USER Administrator newpasswordhere


I've been on the search engines and seen suggested adding "/B" before the command I'm executing (didn't work) and "/Silent" after the command I'm executing (also didn't work). What sort of switch or extra line can I add to the code to make it run silently?

It is part of the group policy that starts when a user logs onto the network. But they're still getting prompted with, "This publisher could not be verified. Are you sure you want to run this software?" It should be something that no user sees.

Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>