Solved

Startup scipt test without being logged into network

Posted on 2013-05-16
6
286 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
[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
  • 3
  • 2
6 Comments
 
LVL 29

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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 29

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 29

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

Independent Software Vendors: 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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Modify Permissions in Windows Folders. 15 53
Windows Modify Permissions 19 66
Remote start and stop of service 3 47
Exchange 2010 mailbox move 7 52
Originally published Entrepreneur.com Booming numbers of freelancing professionals are changing the face of work. In the United States alone last year, the number of workers freelancing grew from 700,000 to 54 million, according to a Freelancers’…
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 walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

730 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