1
vote
1answer
357 views

Accessing Workgroup Shared Folder from Domain

I have a domain and a workgroup. My users are supposed to upload files on regular basis to several shared folders on the workgroup. I have difficulty accessing the workgroup shared folders without ...
0
votes
1answer
88 views

Is it possible to script install modems for Windows XP?

Right now I have to go to "Phone and Modem Options" -> "Modems" -> "Add..." and then select the driver and com port to add the modem. I need to do this about 40 times and on many workstations so I was ...
2
votes
2answers
4k 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 ...
1
vote
1answer
2k views

Detecting a registry key with a space in the path from the CLI (or .bat file)?

I've run into a problem in which my experience (and Google-fu) have let me down. Basically, I need to push out KB968730 to a couple hundred clients or so. Naturally, would like to check for the ...
3
votes
6answers
2k views

Windows XP autostart process as administrator

I am looking for a way with which i can autostart a certain program on logon of a user with user-rights with administrator-rights. I already tried using task scheduler but it didn't work out because ...
1
vote
1answer
281 views

What application is used to run cmd scripts?

I am creating an application whitelist in a local group policy and need to be able to run cmd script files. Simply adding cmd.exe, wscript.exe, or cscript.exe to the whitelist does not effect ...
0
votes
2answers
4k views

How to add a shutdown script (not by using gpedit.msc or active directory)?

I have created a script I want to deploy on my XP workstations as a shutdown script. I know I can add my script as a shutdown script with the UI (gpedit.msc), but I want to automate the deployment of ...
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 ...
4
votes
3answers
1k views

How would I create a PDF print server?

I have some old workstations with WindowsXP that I can install pretty much anything on, an office with about 80 people, a wintel environment, an existing Server 2003 file/printer server, and everybody ...
3
votes
2answers
106 views

Is there a program to batch-configure Windows settings?

I was about to write a quick script/program to configure Windows, but thought I would check before I spent a few hours coding. I'm looking to configure things like power settings adding domain ...
0
votes
3answers
3k views

Deleting the oldest file in a folder with batch scripting

I have to write a batch file to delete the oldest file in a folder, but i don't know how to get the name of the oldest file. I can sort files with DIR, DIR /B /O:D /T:C but this is a list and i need ...
0
votes
2answers
1k views

Add Group Policy by Script

I'm trying to make it easy to add a LogOff script to Group Policy and am having difficulty finding any information on adding Group Policy via script. I already have the script I want to run at ...
0
votes
1answer
138 views

Alternatives to Login Script used to Launch application

I'm a software developer who has been tasked with finding a systems admin solution, so I am out of my depth here. We have a little 100k application which sits on a share drive and is launched by a ...
2
votes
2answers
2k views

Restrict Administrators from changing system time - Windows XP machines (no domain)

I need to write a script that will remove all users under Local Computer Policy > Computer Configuration > Windows Settings > Security Settings > User Rights Assignment > Change the ...
2
votes
2answers
2k views

Script to populate computer description for windows xp and win7

I wish to populate the local machine description (overwrite if already present) with the Model of the computer. Is there some sort of script that can perform this task for me? I have found a site that ...
0
votes
1answer
171 views

XP shutdown script using the network

On an XP Pro box, using gpedit.msc I set up a shutdown script to log something over the network. However, the script was failing, and after some research, it appears that the network is practically ...
3
votes
2answers
1k views

Script shutdown a computer with gpo

Hello everybody I have windows server 2003 domain and windows xp workstation. it is necessary that at 6.00 pm on computer was displayed a window (Do you really want to shutdown a computer and Yes/no ...
0
votes
1answer
141 views

Scripts on UNC paths take very long to run

I have several scripts in UNC paths (from Windows batch files to PHP scripts). No matter how I run them (double click on explorer, my editor's run command menu or Windows command prompt) they take ...
2
votes
2answers
275 views

script Disk Management configuration

I have 10 workstations with large monitors that have USB slots and several card readers built in. The card readers cannot be disabled and will map to drive letters when I image the computers. I go ...
1
vote
3answers
29k views

Script to list current user's mapped network drives

I have a Windows XP/ Server 2003 environment here users have mapped different network drives themselves using arbitrary drive letters. Some of these users do not know how to tell the true UNC path of ...
0
votes
2answers
801 views

Check for the presence of a printer connection (unreliable printer mappings)

I have a lab area with about 75 XP boxes in it. At logon, we map two served printers with the AddWindowsPrinterConnection method in a VBS. 5-10% of the time, the users find that the printers have ...
1
vote
8answers
1k views

how to visit every computer on the network and modify the hosts file in windows xp

We need to append a line to the hosts file for every user on our network. I have admin privileges, but don't know the first thing about windows scripting. Can someone point me in the right direction ...
0
votes
2answers
2k views

Create a batch file that deletes all user data folders except for All Users and Default User?

I am using Windows XP and would like to create a batch file that deletes all user data folders except for All Users and Default User. How can I achieve this?
1
vote
3answers
11k 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 ...
2
votes
2answers
2k views

Running script on Windows XP shutdown/reboot

I have been looking for a way to run a batch script(just a single 'del' command) whenever the system shutdowns or reboots. The system is running a Windows XP Professional with Service Pack 2.
6
votes
4answers
11k views

How can I prevent a scheduled task from running if the same task is already running?

I have written a php script to check if there are any new files in a folder and, if any new files exist, upload them to a server. These files can be quite large. I want to run this script ...
4
votes
6answers
5k views

How can I run a script when my network connection changes?

I'd like to create a script to do various things when the network connection changes. For example, if the machine connects to my office network I might desire it to: mute itself change its DNS ...
6
votes
6answers
16k views

Delete temporary files from batch script in xp

I'm looking for a good batch script that would quickly find & clean all the known safe temporary folders/files from Windows (as many variants as possible) machines (e.g. the windows temp folder, ...