?
Solved

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

Posted on 2009-03-31
2
Medium Priority
?
238 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 2000 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

762 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