Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 

Topics

Spacer
< REFRESH >
Topic Title: Batch file error
Topic Summary: Windows XP Professional (corporate PC)
Created On: 10/30/2009 11:23 PM

View topic in raw text format.
 10/30/2009 11:23 PM
 User is offline  Print this message

Author Icon
vinsanity09

Posts: 15
Joined: 04/25/2009

Hi guys,

I'm using batch files here bec. i got limited user account in these GP-controlled AD domain computer.

This is my batch file script:

@echo off
cls
echo running tasks and services found...

tasklist

pause

and this is the error msg:
"running tasks and services found...
ERROR: Initialization failure.
Press any key to continue . . ."

-you know task manager and command prompt are disabled. I'm just wondering what's the cause of this. Any ideas?


-------------------------
"The most difficult phase of life is not when no one understands you ; It's when you don't understand yourself."

Edited: 10/30/2009 at 11:31 PM by vinsanity09
    Reply     Quote     Top     Bottom    
 11/02/2009 05:25 PM
 User is offline  Print this message

Author Icon
Wanderer

Posts: 2923
Joined: 08/23/2002

They aren't disabled. You just don't have rights to run them. If you don't have rights to run them or the account you are using to run the batch file then it will fail to start tasklist

-------------------------
Joshua Bolton
Windows IT Forum Pro
    Reply     Quote     Top     Bottom    
 11/03/2009 08:45 PM
 User is offline  Print this message

Author Icon
vinsanity09

Posts: 15
Joined: 04/25/2009

-OK, thanks a lot!

-------------------------
"The most difficult phase of life is not when no one understands you ; It's when you don't understand yourself."
    Reply     Quote     Top     Bottom    
View topic in raw text format.
< REFRESH >

FuseTalk Enterprise Edition - © 1999-2009 FuseTalk Inc. All rights reserved.

Forum Use Agreement | Meet the Forum Pros | Forum Feedback

Other Forums
Visit SQL Server Magazine's Forums