1
vote
1answer
115 views

How do I configure a stored procedure wrapper and security settings to provide safe access to command-line operations?

I'm ultimately trying to find a way to allow the safe use of BCP and selected other command-line functionality from within SQL Server. The organisation I am in currently have xp_cmdshell disabled ...
2
votes
2answers
3k views

how to find out the valid store names for certutil

I'm trying to find a way to script installing a certificate. Going "right-click->install certificate" works, and shows the certificate under 'subordinate certification authorities' in IE's ...
2
votes
2answers
1k views

Add a new scheduled task from command line with “wake the computer to run this task” on

I'm trying to add a scheduled task to start every day at a fixed hour even if the computer is in sleep mode. In the Windows Scheduled Tasks Manager UI, there is a check-box labeled "Wake the computer ...
2
votes
2answers
2k views

How to schedule task to run every 10 minutes, from 8:00 to 15:00 on multiple days of week (with schtask.exe)?

How to schedule a task to run every 10 minutes, from 8:00 to 15:00 on multiple days of week, i.e. on Mon,Tue,Wed? The task I described can be defined with the GUI of Task Scheduler by using the ...
1
vote
3answers
3k views

How to update Adobe Flash from command line?

Something I can stick in a shortcut or, ideally, run silently and remotely using psexec (from Sysinternals). A WSUS server is out of the question. Machines needing the updates run Windows XP as ...
1
vote
2answers
2k views

Output List of User's Groups

While easy on Linux, not as easy on Windows from what I've been able to gather so far. I've found the command that kinda does what I want which is: net user username /domain However I wish to strip ...
1
vote
2answers
4k views

Windows XP: How can I get the system language from command-line?

I want to use the command line to install something, we have 2 OS's in 2 languages. To install the package in correct language I need to find out what the system language is. How do I get the system ...
6
votes
7answers
11k views

WebDav System Error 67 in Windows XP

Issue: I'm having issues getting WebDav to work in the command line on Windows XP, both Service Pack 2 and Service Pack 3. C:\>net use z: https://mywebsite.com/software/ System error 67 has ...
1
vote
3answers
156 views

Windows CLI: Built-In Utility to list open Ports in XP / Vista / 7

I need a utility built into several versions of Windows (XP to Win7 specifically) that can tell me if a particular port is in use. I've found a few different ways for each OS, but I'm looking for a ...
0
votes
3answers
1k views

Command line to move folder to parent folder

Windows Server 2003/ XP Since move.exe is not buili-in in windows server 2003. Is there any way to (in command line): move C:\path\to\folder C:\path\folder Since the folder contains a lot files ...
0
votes
5answers
739 views

Send encrypted mail using GPG by command-line?

A few days ago I asked about how I can secure email and many people advised me to use PGP tool, and I read about it and I use it. Now I want to write a batch file to send encrypted email with ...
0
votes
1answer
729 views

How do I copy stdout and stderr into a log file in Windows XP?

I have a script that I'm running from a command line. I want the stdout and stderr to be displayed on the screen and also to be copied into a logfile with append. What is the syntax for this ...
1
vote
1answer
191 views

Windows XP, pipe StdOut to Commandline

As an example, I would like the following commands to put a dir listing with all subdirectories to StdOut copy con test /s^Z dir `test` So, after lines one and two, there's a file in the current ...
2
votes
5answers
4k views

How can I create multiple, numbered copies of a file in Windows?

I have a file named poll001.html, and need to create 100 copies that are named incrementally (i.e poll002.html, poll003.html...etc). I know this is stupid, but it is what boss-man wants. any ...
7
votes
2answers
7k views

Is it possible to disable a scheduled task from the command line in Windows XP?

On my Windows 7 machine I can run something like: schtasks.exe /Change /TN "MyTaskName" /Disable But /Disable doesn't seem to be available in Windows XP - is there any way of disabling it from the ...
0
votes
3answers
5k views

NET VIEW occasionally does not show all computers

I am having an issue on my workstation, where periodically the NET VIEW command does not seem to work. Most times, NET VIEW will return a list of all the machines connected to our domain. ...
2
votes
2answers
2k views

See what time a user logged into a windows box

From a Windows XP command line, how do I get the time I logged into and/or out of the current machine? I'm looking for something like the UNIX last command which lists active and previous login ...
0
votes
1answer
914 views

Rename an account from XP command prompt

How can I rename a local user account from the XP command prompt? Is there a NET.EXE personality that I've missed? (I also didn't see anything under Useful Commandline Commands on Windows.) Thanks. ...
2
votes
2answers
3k views

Installing MS Message Queuing on Windows XP by Command Line

I developed an application that needs MS Message Queuing to work. But it's really boring to have to go to the control panel of every computer where it's going to be running and go to Control Panel - ...
0
votes
2answers
869 views

windowsxp sp3 disable interface from command line

I need to mass disable interfaces on windows machines (more than 100 machines). I tried using: netsh interface set "VirtualBox Host-Only Network" disable But it does not work. (I found an article ...
1
vote
3answers
10k views

Error: “'net' is not recognized as an internal or external command, operable program or batch file”

Has anyone seen this error on an XP desktop machine before? 'net' is not recognized as an internal or external command, operable program or batch file. It's being used in a 'net start ...
0
votes
4answers
2k views

Non-blinking block-cursor in Windows XP command-prompt?

Purpose I normally work in many UNIX-like environments using Xterm. I have grown fond of the non-blinking block-cursor it uses. In fact, I have grown so accustomed to it (especially in Vi) that it ...
2
votes
5answers
3k views

How to set the command prompt font on XP?

I need to set the font on the XP command prompt on a few machines so that it would correctly display Hebrew file names. The default font displays a lot of gibberish, so I'm pretty sure changing it ...
0
votes
4answers
7k views

Can I start networking using XP's “Safe Mode with Command Prompt”? [closed]

In XP, is it possible to start up networking (similar to Safe Mode with Networking) while logged in via the "Safe Mode with Command Prompt" option? I tried net start "network connections" but this ...
12
votes
4answers
23k views

VPN client connect/disconnect via command line in XP

In an XP Pro workstation, is there a way to start the native Windows VPN client and open/close a connection from the command line so it can be scripted in a batch file?
20
votes
10answers
58k views

How to take ownership of files from the command line?

Every so often I run into a file that I need to take ownership of. I normally use cacls for changing ntfs permissions, but it doesn't seem to do ownership. Under *nix I would run something like ...
2
votes
4answers
160 views

source of executable file for command line

What are the "sources" where command line in windows (xp in my instance) is looking for commands to execute? I mean I write for example "java" in command line and then it run java.exe which is found ...
2
votes
3answers
2k views

Possible to add workstation to domain from the command line?

Is there a way to add a XP workstation to a domain via the command line, rather than through My Computer Properties? If this can't be done from the command line, is there any other simple way (a ...