VBScript has an execute option that can hide the command window. But really this is just security-through-obscurity. Anyone can accidently "edit" rather than "run" the file, and there's the username/password.
Maybe to be a bit more secure - write a little service. The service has the credentials (e.g. stored in DPAPI store, or a config file that the end user doesn't have access to). The end user runs the command that merely passes in a list of computers to the service. Cheers Ken From: David Lum [mailto:[email protected]] Sent: Wednesday, 17 November 2010 12:05 AM To: NT System Admin Issues Subject: Hide PSSHUTDOWN output Anyone know how to hide PSSHUTDOWN output? I have a .CMD file that calls it and sends username and password that I don't want the person who invokes it to see. I have tried the > NUL at the end but that doesn't work, and I combed the switches for the tool and came up empty. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin
