Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 413
  • Last Modified:

desktop.ini - Safe to overwrite?

I'm using a slick little XCOPY loop in a batch file to move files in a user profile from an old computer to a new computer. (I'm not a big fan of Windows Easy Transfer.) While I'm omitting AppData from the loop, I'm not bothering to omit desktop.ini files.

I think it's safe to simply delete a desktop.ini file. Is it safe to overwrite a desktop.ini file with a file from an older machine that might contain some invalid configuration settings? In other words, is Windows 7 or Windows 8 on the new machine smart enough to look at a desktop.ini file and come to the conclusion, "The contents of that desktop.ini file look wrong. I'm going to delete it and create a clean desktop.ini file with default Windows settings."
0
jdana
Asked:
jdana
1 Solution
 
P0j0Commented:
"This file can be safely deleted from any directory.  However, because this file may have settings associated with the folder that it contains and deleting this file will change these settings back to default. For example, if the folder containing this file has a different icon and you delete this file the default folder icon will be re-enabled."

Source

Best Regards,

P0j0
0
 
LeeTutorretiredCommented:
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
jdanaAuthor Commented:
P0j0,

I appreciate the thoughtful response.

Thanks!

J
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now