?
Solved

Startup scipt test without being logged into network

Posted on 2013-05-16
6
Medium Priority
?
288 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 30

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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 30

Accepted Solution

by:
serialband earned 2000 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 30

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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

764 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