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: 1173
  • Last Modified:

Cannot delete shortcut (.LNK file) from Desktop with standard NT command

I have a shortcut here:

C:\Documents and Settings\Administrator\Desktop\Acronis True Image.lnk

Can you believe none of these commands work...

DEL "%UserProfile%\Desktop\Acronis True Image.lnk" /i /s /e /r /v /k /f /c /h /y
DEL "%AllUsersProfile%\Desktop\Acronis True Image.lnk" /i /s /e /r /v /k /f /c /h /y
DEL "%Systemdrive%\Documents and settings\Administrator\Desktop\Acronis True Image.lnk" /i /s /e /r /v /k /f /c /h /y
DEL "C:\Documents and settings\Administrator\Desktop\Acronis True Image.lnk" /i /s /e /r /v /k /f /c /h /y

Let me know another command, and I will add it to the list! As soon as it does delete
then, I know its the last DEL command I used.

This file does not reside on ANY other users Desktop apart from Administrator
which of course, I am logged in as - it is the only acount on the system. This
command ALWAYS works with any other LNK file.

My only thought was that Acronis re-creates the shortcut again because
it thinks malware is trying to delete it on the command line? WHAT?!
Why have a command line then if software programs can override it?

It is not because the icon is there it is because I wanna understand
whats so special about THIS one LNK file? Yes it is an LNK file, I have
checked inside WinRAR and ERD Commander the extension is certainly
LNK. Its Acronis True Image v9.0. Ive searched but, nothing.
0
EE33
Asked:
EE33
1 Solution
 
karthikvirusCommented:
hi,

Check out the following sites, They may give u a list of commands:

http://home.att.net/~gobruen/progs/dos_batch/dos_intro.html
http://www.onecomputerguy.com/desktop.htm
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
What you might want to do is restart the computer in safemode and then try deleting the file that way.

Hope this helps
0
 
younghvCommented:
"Delete in Safe Mode" - AND - reset your System Restore Point.
0
 
upul007Commented:
Hi,
If it is getting created by another program safe mode may work till the next normal logon.
Use lavasoft ad-Aware or spybot s&d, maybe even both to find and disable any adware you may have and then delete the link.

Best wishes!
Upul
0
 
war1Commented:
Greetings, EE33 !

Make sure Acronis program is not running in the background and creating the shortcut.

Use Killbox or Unlocker in Safe Mode to remove hard to remove file.

Killbox to remove stuborn files
http://www.scancomplete.com/download/killbox/
OR
Unlocker
http://www.majorgeeks.com/download4660.html

Best wishes!
0
 
EE33Author Commented:
Come to think of it, yes, of course, Trueimage.exe is in the background, hmmmm.....

Let me just have another go, I can kill that with a command then
delete the icon in the one script, hopefully, if its not that creating
it again or protecting it then I dunno what could possibly be!
0
 
EE33Author Commented:
Just tried it, not making any difference after
stopping the process "TrueImageMonitor.exe"

Still the icon is there.

I can just delete this myself, of course, thats not
the point! The point is - why, considering the
extension is .LNK, can't I delete it?

I even tried:

Acronis True Image.*

To delete it no matter what the extension and, nope.

It seems Acronis know something we don't?!
0
 
war1Commented:
See if the file is right protected. Right click on the shortcut and select Properties. Unselect "Read Only" and "System".
0
 
samb39Commented:
You could use "move on boot" as referenced here http://www.softwarepatch.com/tips/howto-delete-xp.html

But if something is really putting it back, that won't stop it.
0
 
dcsbeemerCommented:
Download the Unlocker Utility here: http://www.majorgeeks.com/download4660.html

Install it (after checking for viruses of course), then right-click on the link and click on Unlock. See what it turns up.

If that doesn't work, may I suggest using a live-Linux CD and deleting from there?
0
 
EE33Author Commented:
I can't use thid party apps.

I figured it out, after about a week of trying!

DEL "%SYSTEMDRIVE%\DOCUME~1\ADMINI~1\Desktop\ACRONI~1.lnk"

THIS works! Its an the command line too.

If I solved this myself what happens with the points?
I am "an expert" and didn't lose the points, so, do
nothing?
0
 
war1Commented:
You may want to post a 0-point note in Community Support board with a link to this page to close this question and get your points back. Community Support board link is at the top right of the page.
0
 
EE33Author Commented:
"get your points back."

But thats my point, I never "lost" points,
being an "expert".
0
 
GranModCommented:
PAQed with points refunded (500)

GranMod
Community Support Moderator
0
Tackle projects and never again get stuck behind a technical roadblock.
Join Now