Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Startup scipt test without being logged into network

Posted on 2013-05-16
6
Medium Priority
?
289 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
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 new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
Suggested Courses

618 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