This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Getting an error as Can’t create directory when making changes in preferences.

0

I am using Wireshark 1.10.7, whenever I make any changes in preferences and click Apply/Ok, I am getting the follow error "Can't create directory "C:\Users\Admin\Application Data\Wireshark" for preferences file: File exists.

I tried uninstalling and removing all the registry file related to Wireshark and install it again, still hte issue persist. I also removed the wireshark folder from AppData\Roaming folder that didn't help either.

Please Help me resolve this issue.

asked 07 May '14, 13:52

prashant4uall's gravatar image

prashant4uall
11112
accept rate: 0%


One Answer:

0

"Can't create directory "C:\Users\Admin\Application Data\Wireshark" for preferences file: File exists.

That sounds like a Windows file permission problem. Please check the permissions of C:\Users\Admin\Application Data\Wireshark.

To verify the problem: Open the preferences file in an editor. Modify something and then try to save it.

If you get the same error: Check your file permissions (see above).

If you don't get the error: Please tell us how you started Wireshark, as then it apparently is running within a different user context.

Regards
Kurt

answered 09 May '14, 11:06

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 09 May '14, 11:06

Kurt,

As per your suggested I opened preferences file in Notepad, edited it and saved it without any error.

I tried to start it as an Administrator from Start Menu and Program Files\wireshark\wireshark.exe still facing the same issue.

Checked the Permission for Wireshark folder in C:\Users\Current user\AppData\Roaming\Wireshark, it does have full access.

Thanks, Prashant

(09 May '14, 12:44) prashant4uall

tried to start it as an Administrator from Start Menu

Did you also try to start it as user Admin (as shown in the path)?

C:\Users\Current user\AppData\Roaming\Wireshark

Did you also check the path

C:\Users\Admin\Application Data\Wireshark

or is that the same?

(09 May '14, 15:19) Kurt Knochner ♦