aspose file tools*
The moose likes General Computing and the fly likes unable to use net command in windows vista Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "unable to use net command in windows vista" Watch "unable to use net command in windows vista" New topic
Author

unable to use net command in windows vista

Susmitha Metlapalli
Ranch Hand

Joined: May 16, 2007
Posts: 45
Hi,

I ma working on my personal laptop. I am unable to start any service using net start <servicename> on windows vista.

i am getting the following error.

System error 5. Access is denied.

Is there any service/process that should be started for using this command?

i searched google. i think netlogon service should be started. but i am unable to start this.

Thanks in advance,
Susmitha.
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Firstly make sure that you are logged in as administrator.
The netlogon service starts automatically.
You can check if it is running from the Task manager->Services tab.


Hope this helps


SCJP, SCWCD.
|Asking Good Questions|
Susmitha Metlapalli
Ranch Hand

Joined: May 16, 2007
Posts: 45
Hi,

I looged in as administrator only. Even then i am unable to start the service.

In TaskManager also it is in stopped stage. i cannot start from there also.

Please help me.

Susmitha.
Carey Evans
Ranch Hand

Joined: May 27, 2008
Posts: 225

By default, you don't have all the administrative privileges when logged in as an administrator in Vista. You may have to find the Command Prompt in the Start menu, right click on it, and choose to run it as an administrator to use the net command.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to use net command in windows vista