Solved

Startup scipt test without being logged into network

Posted on 2013-05-16
6
268 Views
Last Modified: 2013-06-12
I wanted to know how I could test a startup script without actually starting it up "live".
0
Comment
Question by:uppercut7141
  • 3
  • 2
6 Comments
 
LVL 27

Expert Comment

by:serialband
ID: 39173716
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
 
LVL 10

Expert Comment

by:Pramod Ubhe
ID: 39180572
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
 

Author Comment

by:uppercut7141
ID: 39184651
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 27

Accepted Solution

by:
serialband earned 500 total points
ID: 39184876
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
 

Author Comment

by:uppercut7141
ID: 39201377
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
 
LVL 27

Expert Comment

by:serialband
ID: 39202000
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Whether you believe the “gig economy,” as it has been dubbed, is the next big economic paradigm shift (https://www.theguardian.com/commentisfree/2015/jul/26/will-we-get-by-gig-economy) or an overstated trend (http://www.wsj.com/articles/proof-of-a-g…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

760 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

21 Experts available now in Live!

Get 1:1 Help Now