Tagged Questions
1
vote
2answers
293 views
Can't run batch files from server, Users do not have permission to access file
We're trying to run some logon / logoff scripts on server 2008r2 domain controller. The script is located in the default group policy logoff directory
...
0
votes
1answer
450 views
Joining an Active Directory domain using netdom
I have a simple script to join an AD domain and rename the computer. When I execute these commands directly on the CLI, it works fine.
When I execute the same via batch file, I get an error saying
...
0
votes
1answer
84 views
Batch file installing executable only gives SYSTEM permissions
So, I have a couple of batch files that install some executables and they work, but when the executables setup shortcuts on the desktop only SYSTEM has access to them. Is there a way I can prevent ...
1
vote
4answers
239 views
Setup.exe called from a batch file crashes with error 0x0000006
We're going to be installing some new software on pretty much all of our computers and I'm trying to setup a GPO to do it. We're running a Windows Server 2008 R2 domain controller and all of our ...
2
votes
0answers
303 views
Scheduled task fails, but runs fine when triggered manually
We have a 2008 R2 server with a scheduled task that runs a .bat file which executes a call to a Java app. The task triggers just fine, but stops executing anything after it creates the log file. ...
1
vote
1answer
476 views
batch file infinite loop when parsing file
EDIT: Apparently I don't have enough rep to answer my own question, so the answer is going here.
OKAY!
SO! I didn't exactly solve the problem... but I stopped using cacls.exe and started using ...
6
votes
2answers
828 views
Mass delete mapped & local printers
Is there any way to mass remove all local and network mapped printers from all workstations on a domain via group policy or a batch file?
I need to remove local Windows 7 printers such as Fax, ...
0
votes
3answers
479 views
Batch file and other scripts on windows 2008 r2
is thee a way to make a all the scripts in a specific folder running without the need of the UAC prompt?
or maybe using power-shell to run the scripts without using "Set-ExecutionPolicy Unrestricted"
...
0
votes
2answers
1k views
How to schedule batch file to run on the desktop in win 2008 R2
I have some backup batch file scripts which I was running in xp and I have migrated to windoes server 2008 R2 where it's not running in front when scheduled with task manager. I struggled a lot to ...
2
votes
4answers
208 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
2answers
598 views
Shortcut to open IIS 7 Manager so it Shows “Sites” view (status) by Default?
I would like to quickly be able to check whether a site is online after logging into the desktop of Windows Server 2008 R2 (x64). I would prefer to be able to do this in just 1 single or double-click ...
6
votes
7answers
7k views
“Delete Files Older Than” Batch Script
So in the work of doing backups, I need a batch script that would allow me to delete files in a specified directory, that are older than lets say, 3 days. This script will be set as a scheduled task ...