Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 can create .txt files in the root of C, but not batch files.

I know someone might say, just put the batch file somewhere else. We have an update from one of our software vendors that wants to create a batch file in C:\ and they don't want to rewrite their update for one customer.

They suggested it might be caused by our HBSS, but we have another 2k3 box for IIS that has no trouble creating batch files, and it has the same HBSS installed.

I have tried with several admin accounts. My account has domain admin, and my SA colleague has enterprise admin.

Is there something in GPO that prevents you from making bat files in C:\?

share|improve this question
6  
Did you check file permissions? –  Chris S Dec 9 '11 at 18:41
    
Unless someone added something custom to a gp, I don't think that would be your issue. Check the file permissions like Chris S mentioned. –  Jeff Dec 9 '11 at 18:50
    
I can create other files just fine. txt, doc, bmp no problem. The moment I try to copy, create, or rename a file to .bat I get access denied. The administrator group has FC to c:\ and I am definitely in the administrators group. –  SupremeDud Dec 9 '11 at 18:53
    
Check AV, it might be blocking bat and com files. –  Chris S Dec 9 '11 at 19:04
1  
@SupremeDud If that is the resolution to this issue, please post it as an answer and make it "accepted". –  jscott Dec 9 '11 at 19:38
show 3 more comments

2 Answers

Check to see which group policies are being applied to your account by opening up the command line and using gpresult /r. Then check with your system admin to see if any of those policies are set to restrict .bat files on your c drive. You might get lucky and see a group policy that is explicitly named as such.

share|improve this answer
    
Can you point me at the reference for any group policy that would actually do this? I have never seen one. –  Zoredache Dec 9 '11 at 19:25
    
I'd be interested also, I've created File Screens, with FSRM, to block specific extensions, but I did not think I could do it with GP. –  jscott Dec 9 '11 at 19:40
add comment

I've seen this behavior with Anti-Virus blocking batch files in some directories.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.