Saturday, January 5, 2013

Cannot Open dndlog.conf file

In Vmware Workstation, sometimes the dndlog.conf file will be deleted automatically.
The reason for deletion is, you may close the virtual machine abrubtly when the Operating System is in process.
It's not a big issue.
The following steps are used to solve this issue.

In Windows XP : 

Error :  
Cannot open file "C:\Users\All Users\Application Data\VMware\dndlogs\dndlog.conf": The system cannot find the path specified.

Solution :
1. Open Command Prompt (Press winkey+r and type cmd then press enter) 
2. After that type the below two steps in command prompt
  • mkdir "C:\Users\All Users\Application Data\VMware\dndlogs"
  • echo > "C:\Users\All Users\Application Data\VMware\dndlogs\dndlog.conf"
3. Now open Vmware Workstation and run the OS. It will be working fine.

In Windows 7 : 

Error : 
Cannot open file "C:\ProgramData\VMware\dndlogs\dndlog.conf": The system cannot find the path specified.

Solution :
1. Open Command Prompt (Press winkey+r and type cmd then press enter)
2. After that type the below two steps in command prompt
  • mkdir C:\ProgramData\VMware\dndlogs
  • echo > C:\ProgramData\VMware\dndlogs\dndlog.conf 
3. Now open Vmware Workstation and run the OS. It will be working fine.

In Linux OS :

Error :  
Cannot open file "~/.vmware/dndlogs/dndlog.conf": The system cannot find the path specified.

Solution : 
1. Open the terminal
2. After that type the below two steps in terminal
  • mkdir ~/.vmware/dndlogs
  • touch ~/.vmware/dndlogs/dndlog.conf
3. Now open Vmware Workstation and run the OS. It will be working fine. 

3 comments:

  1. C:\ProgramData\VMware\dndlogs\dndlog.conf” line 1: Syntax error. Same here

    ReplyDelete
    Replies
    1. Hi Mohamed Salah,

      Power OFF the virtual machine and ON it again.

      or Delete the dndlog file and create it again.

      Delete
  2. i make all the solutions but it fails again?

    ReplyDelete