Solved

Is there a way to immediately execute a network-wide script?

Posted on 2009-03-31
2
232 Views
Last Modified: 2012-05-06
Just out of curiosity, is there a way for a network administrator to instruct all computers on the network to run a batch file or a script, IMMEDIATELY (ala, not on logon or boot-up, just during session)?

In my scenario, I just want to temporarily map a network drive to all workstations for a demonstration purposes, and I'd like to just push a "net use X: \\blah\blah" kind of thing to everyone.
0
Comment
Question by:ringo380
2 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 500 total points
ID: 24030056
You can use PsExec to run local commands on multiple remote machines simultaneously, but this wouldn't work for your particular example since network drives are mapped on a per-user basis and PsExec's commands don't normally run in the user's context.  To do so you'd have to use the -user and -psswd switches and this would require that you know every user's password.  That wouldn't be secure or practical.
0
 

Author Closing Comment

by:ringo380
ID: 31564898
That's pretty much exactly what I was looking for, not to mention an extremely useful program. I had no clue about it, and I appreciate the link immensely. It doesn't quite accomplish the "gpo-equivalent" network-wide thing that I was talking about, but this is about as close as I think I'll get.
0

Featured Post

Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

Join & Write a Comment

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now