[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2009-03-31
2
Medium Priority
?
241 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 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

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Question has a verified solution.

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

Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
LinkedIn blogging is great for networking, building up an audience, and expanding your influence as well. However, if you want to achieve these results, you need to work really hard to make your post worth liking and sharing. Here are 4 tips that ca…
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.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

872 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