• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

Startup scipt test without being logged into network

I wanted to know how I could test a startup script without actually starting it up "live".
0
uppercut7141
Asked:
uppercut7141
  • 3
  • 2
1 Solution
 
serialbandCommented:
What do you mean by that?  Do you just want to see what might run?

You could throw some echo commands in front of the statements and put the statements in quotes.
0
 
Pramod UbheCommented:
link it to test ou where you have limited users/computers to get affected or apply the filtering so that specific group members can only get this policy applied.
Capture.JPG
0
 
uppercut7141Author Commented:
I meant to say that I'd like to test the startup script by double clicking the batch file and verifying if the script mapped the proper network drives.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
serialbandCommented:
You can run the script at the command line.  If it is a batch file, just type the name of the file.bat.  Make sure you've named it with a .bat extension.  If it's a visual basic script run cscript file.vbs

It's better to run it command line so that you can see the output and any errors that may have generated.  If you just double click, it may pop up a window briefly, then disappear, far too fast for the average person to read.
0
 
uppercut7141Author Commented:
I was told that there's a way to disconnect from the network and have it run.  This is what I meant to state in the beginning.
0
 
serialbandCommented:
I'm not sure how you can map a network drive while disconnected from the network.  If you run the script, it would error out and fail to map the drive.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now