0
votes
1answer
63 views

Query in dsrm command

I need to remove 1000 computers from AD. I tried the script below, but it's not working. When I used dsmod to disable computers, in the same script, it works. @echo off set ...
0
votes
0answers
52 views

System 67 error scheduled task to transfer files

Running directly on command line the batch script works. But when scheduled to run (Windows 2003 R2 server) as the local administrator, I get the following error: D:\ScadaExport\exported>ping ...
0
votes
1answer
47 views

Enable Recovery console from a batch

I want to enable the Recovery Console on a lot of Windows 2003 servers. I want to automate this so I don't have to manually do it on hundreds of servers. The recovery console install process seems ...
2
votes
1answer
146 views

Running a batch script as network services on windows

On linux I know you can run files under different users pretty easily but on Windows how do you do it? Do I have to log in under that user? Can I run it with the schedule system? I need to be able to ...
1
vote
1answer
332 views

How to set the Backup Identification Label of a job in NT backup using the command line

I'm using NTBackup on a server 2003 R2 system, to backup to a file over the network, using a batch script. What I'm trying to do is to change the name of the backup set as displayed in NTBackup's ...
0
votes
2answers
653 views

I Cannot create a .BAT file in the root of C “Access is Denied” Server 2k3

I have an oracle db server on a windows 2k3 box. I am currently unable to create or copy a batch file to the root of c. I can create batch files on different folders (i.e. in my user directory) or I ...
2
votes
2answers
1k views

What rights does an account require to log on as a batch job?

I've got a Windows batch script which I'm trying to get Veritas Cluster Server to control using the process agent. The batch script needs to run as a particular user, but when I try to online the ...
2
votes
4answers
239 views

possible efficient ways of transferring files from one server to another

what are the possible good and efficient ways of transferring files from one server to another? In this case it will be from windows server 2003 to windows server 2008 r2. I am thinking Powershell ...
0
votes
3answers
218 views

Batch file function

I need to create a batch file that will purge data from an existing file. Basically SQL server management studios does not overwrite backup data; therefore after the backups have been run and the data ...
0
votes
1answer
130 views

Errors running Batch files

I have recently constructed a batch file on my server to zip up data and send it to a backup source for archiving. However when I run the batch file I get the following error... '7z.exe' is not ...
1
vote
0answers
217 views

Jungle Disk - Pre and Post Backup Scripts

I've just purchased Jungle Disk so I can backup to my S3 account. One of the most important items on the main server backup is an Act database. In order to backup the ACT database using Backup exec ...
0
votes
1answer
74 views

Changing client devices settings for all users in AD group

I have over 40 users in an Active Directory that need client printers disabled so I can go back and allow only a select few users this without disabling through TSconfig. Really looking for a script ...
1
vote
1answer
480 views

How to check status of one port on remote host using NSClient++?

I know I could check for telnet on a known IP using other programs like: nmap -A 192.168.0.1/32 -p 23 Or, look for open ports from 20 to 30 on host.example.com: nc -z host.example.com 20-30 I ...
0
votes
1answer
211 views

Problem with relative paths(*.bat + VMWARE + Windows 2003)

I have posted this issue on StackOverflow but I thought this question might be a little more VMWare\Windows2008 server specific. Here's my question: I have two VMware instances of Windows 2003. I am ...
1
vote
4answers
2k views

Why isn't my Scheduled Task running a batch script?

OS: Windows 2003 Server Setup: The batch file basically uses 7zip to zip up a few files into a location ready for uploading into an offsite location via FTP. I have run the batch file as myself and ...
0
votes
2answers
262 views

What is wrong with this batch-script?

I've beeen trying to set up a batch-script which should do the following: First, install a exe file, preferrably quietly (of course check if it's already installed). Then traverse to where .net ...
0
votes
3answers
3k views

Schedule a batch file with parameters containing spaces

I need to schedule a task in Windows Server 2003 that executes this script that deletes files older that n days in the specified folder. The script needs 3 parameters: %1 path to folder where files ...
2
votes
1answer
994 views

Spaces in SETX PATH command

Suppose my PATH is C:\WINDOWS\system32\;C:\Program Files\Important\ SET NEW_PATH=C:\My\Dir\ SETX PATH "%PATH%;%NEW_PATH%" Results in a path of: C:\WINDOWS\system32\;C:\Program ...
1
vote
2answers
2k views

Does anyone have a Windows “at /every:” example to explain how to setup a batch file to run every day?

Microsoft documentation for the "AT" scheduler command shows that it has an /every: switch to schedule a script to reoccur on specified days. I've done it before, but I can't remember the syntax for ...
0
votes
2answers
169 views

Find string in command result

I want to do following in a bat file Run a exe Capture results from step 1 find a string in results from step 2 if step 3 find is successful then do something Is this possible(particularly ...
1
vote
2answers
390 views

Bat file in another account

I have a bat file which will delete files in some folder (Profile Folder). But i do-not have access to that folder. But another account has access to the folder. How to run a batch file from one ...
0
votes
1answer
94 views

Transfer files without destination access

HI All, I have a issue where I want to create a script (VB or Batch file) that when a user runs the script it will copy files from Folder1 to Folder2. Here's the rub. I don't want the users to have ...
0
votes
4answers
2k views

Listing all current RDP sessions

We're running a certain application on a client's server. The app runs on the console session, and basically manages some batch processing. Every once in a while we discover the app is not running, ...