Attrib command problem please help

September 5, 2012 at 18:05:37
Specs: Windows XP
I was helping a friend to remove a virus and used the attrib command to see hidden files. I managed to clear the virus but each time I boot up there is a 'desktop ini ' window on the desktop.
The command I used was ( attrib -s -h *.* /s /d ). Anyone know how I can clear that or was that the virus too. Any help much appreciated. Pat

See More: Attrib command problem please help

Report •

#1
Report •

#2
September 5, 2012 at 21:03:11
what's the text in desktop.ini ?
i think that's not a virus.
you can see the script with text editor. notepad for example. if you see an encrypted text that's virus probably.

if you see the script is like this (shellclass.info) or anything else, you can delete it.
that's not a virus


Report •

#3
September 6, 2012 at 06:01:14
Is show hidden files and folders enabled? That file is always going to be there, but it's a hidden and system file, so you don't see it unless show hidden files is enabled under control panel - folder options.

--
Andrew Leonard
BL Technical Services
Emergency IT Support


Report •

Related Solutions

#4
September 6, 2012 at 11:07:08
If you are trying to remove a virus at the file level you have no idea what you are doing. I know that may sound harsh but you will do more damage to a system using this approach then is caused by the virus.

You use virus removal tools of which there are dozens.

You should not have included the -s [system file attribute] in the command. That removed the system attribute and you have no way of putting them back since only certain files are attrib as system.

You should review this article as a start
http://windows.microsoft.com/en-US/...

Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's


Report •

#5
September 6, 2012 at 16:44:47
You should be able to "show hidden files" on XP without desktop.ini files showing anywhere - not so Vista or Windows 7.

Make sure you are not set to show "Protected System Files" - that can make desktop.ini files show up.

There are ways to set the attributes of specific files but check out the above first.

Always pop back and let us know the outcome - thanks


Report •

#6
September 7, 2012 at 02:50:13
You say there are dozens of virus removal tools but what if your computer is completely tied up. Nothing works, no internet no email or task manager. No file access....nothing. So I tried to boot in dos but couldn't find the virus. I thought it may be a hidden file so ,wrongly I will admit, I tried those commands to show hidden files.
I am the first to admit I know very little dos but as the virus ridden comp was about to be dumped, I was trying things. This was a particularly nasty virus that arrived as a parcel notification on email. In the end, I found five huge viruses 300k each and got rid of them by fitting the hard drive into my comp and scanning it from there. Its working perfectly now and all I had to do was delete the ini file from startup. I appreciate your input though and thank you for replying. In my ignorance I thought I had un-hid hidden files and wanted undo that. Many thanks anyway

Report •

#7
September 7, 2012 at 02:56:26
I just want to reply to all the kind posters who replied to my call for help. My friend is delighted with his saved computer and the chance to save all his stuff on there for when he is ready to get a new one. I think that's the worst thing about loosing your computer and can't save all the things you have gotten so used to. Thanks again for a very helpful and friendly site

Report •

#8
September 7, 2012 at 07:31:27
Hi internetjunkie, Derek, hollowman512 , Johnw and wanderer and anyone else who replied to my post.I did reply to a few of the other posts but must have messed it up somehow. Just wanted to say thanks to all you guys who took time to reply.
Malaclyppse

Report •

#9
September 7, 2012 at 08:24:15
"This was a particularly nasty virus that arrived as a parcel notification on email."

This wasn't just a virus. This was a hacker attack that was successful. This form of attack is called social engineering. This needs to be taken seriously.

http://en.wikipedia.org/wiki/Social...

Your friend is not out of the woods yet. You may think the virus is gone but the hacker installed tools that are still there. And you will not be able to detect them.

Only known solution if backup your data files [not programs or any executable/com files] then reformat and reinstall the OS and programs from scratch. Then get your antivirus/antimalware/firewall programs installed, then selectively put the data back.

Understand the hacker is after personal info like identity info, banking info, other customers info, things of that sort that can be stolen and used to make the hacker money.

Good luck!

Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's


Report •

#10
September 7, 2012 at 11:29:22
Hi wanderer, I have passed on what you said and was wondering if you knew about re-loading win xp if it came pre-loaded on hard disk. I have loaded many versions of windows but always from the original cd. This PC came with XP and vista pre-loaded and he has never used vista. do you think I could format the main section of hard disk without erasing the pre-loaded XP. Also, How do I get all the drivers required , like motherboard and graphic drivers. Do you think all that stuff would be on a cd supplied with the original machine?
Malaclyppse

Report •

#11
September 7, 2012 at 12:53:54
Re #6 "So I tried to boot in dos"

Just to clarify, there is no true DOS in XP and above - the Windows system is effectively its own DOS. Old operating systems such as Windows 3.1 and 95/98 ran on top of DOS (using it).

There is Command Prompt that "runs within Windows". It therefore has very limited abilities. Handy for writing the odd batch file, changing attribs and so forth but that's about it.

Always pop back and let us know the outcome - thanks


Report •

#12
September 7, 2012 at 14:00:40
Hi Derek, I am just a dabbler and have loved computers for a long time. I got a win 95 pc when they first came out but being so unreliable, it broke down within a few months and that's when I started learning a little bit. Just enough to do repairs and to upgrade. I read a few books about dos but I found it hard going to be honest. I did think it was the language running behind windows and the base language if you see what I mean. I don't know much other than a few dos commands. Its great to be able to upgrade and repair . I also love the challenge of a virus and that one was a stinker.Its very satisfying to clean up a messed up computer. But as you have seen, I sometimes bite off a bit more than I can chew. Its interesting, what you said about dos not being used because I noticed when trying to examine files under dos, they still had their 'password protection' which I thought dos would ignore. Anyway, I learned a little bit more this time. thanks again.
Malaclyppse

Report •

Ask Question