There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Windows XP
Tag Cloud
access acer asus batch bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop lcd malware memory modem monitor motherboard network printer problem ram registry router slow software sound toshiba trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Operating Systems > Windows XP >
Solved: cannot open local disk C: in windows XP

Reply  
Thread Tools
thebest100's Avatar
Junior Member with 11 posts.
 
Join Date: Sep 2007
Experience: Intermediate
14-Sep-2007, 11:30 PM #1
Solved: cannot open local disk C: in windows XP
I am using Windows XP Media Center, Service Pack 2. When I click on Local Disk C: in my computer window the OPEN WITH dialog box appears, it is asking me to choose a program that I would like to use to open LOCAL DISK C: I am able to access my files by using the folders tree to the left, but can somebody please tell me how to solve this problem. I have attached an image of the problem.

Thank You very very much
Attached Thumbnails
Solved: cannot open local disk C: in windows XP-cannot-open-local-disk-c.jpg  
thebest100's Avatar
Junior Member with 11 posts.
 
Join Date: Sep 2007
Experience: Intermediate
15-Sep-2007, 08:08 PM #2
buzz
JohnWill's Avatar
Computer Specs
Distinguished Member with 110,212 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
Experience: Advanced age & experience
17-Sep-2007, 09:02 AM #3
I have moved you to the XP forum, since this doesn't appear to be a malware issue.
Tufenuf's Avatar
Computer Specs
Senior Member with 2,461 posts.
 
Join Date: Jul 2007
Location: Oregon
Experience: Intermediate
17-Sep-2007, 09:19 AM #4
thebest100, Go to the link below and download the "Drive Association Fix (Restores default settings for hard drives) fix". Instructions for using it are on the page.

http://www.dougknox.com/xp/file_assoc.htm

Tufenuf
omuyelijah's Avatar
Computer Specs
Member with 119 posts.
 
Join Date: Jan 2006
Location: Nigeria
Experience: Intermediate
17-Sep-2007, 10:34 AM #5
Hello theBest100,

This is more likely 2 be a virus problem. Such viruses must have be deleted but their
autorun.inf file (that will normally launch them on double-clicking your hard drive) is left intact in the root of drive C:

SOLUTION
------------
1. Enter command prompt on WIN XP. HOW?
Click Start > Run > CMD
2. Navigate to drive C: HOW?
type cd\
3. Type Dir /a
To show all files in root drive. Then identify the autorun.inf file (you may find other autorun-named files there. You this same method to get them out)
4. Type attrib autorun.inf
This will help you get the file attributes on the autorun.inf. Depending on the outcome
(which can be ash, i.e. Archived, System file, Hidden), do the following:
5. Type attrib -a -s -h autorun.inf (assuming above result).
This will make the file a normal file
6. Type del autorun.inf

If you find other autorun-named files, do this to all. I wrote a program for this recently but haven't gotten as yet to the net. Give a system restart and confirm.

Bye.

Last edited by omuyelijah; 17-Sep-2007 at 10:41 AM..
thebest100's Avatar
Junior Member with 11 posts.
 
Join Date: Sep 2007
Experience: Intermediate
18-Sep-2007, 03:11 AM #6
Quote:
Originally Posted by omuyelijah
Hello theBest100,

This is more likely 2 be a virus problem. Such viruses must have be deleted but their
autorun.inf file (that will normally launch them on double-clicking your hard drive) is left intact in the root of drive C:

SOLUTION
------------
1. Enter command prompt on WIN XP. HOW?
Click Start > Run > CMD
2. Navigate to drive C: HOW?
type cd\
3. Type Dir /a
To show all files in root drive. Then identify the autorun.inf file (you may find other autorun-named files there. You this same method to get them out)
4. Type attrib autorun.inf
This will help you get the file attributes on the autorun.inf. Depending on the outcome
(which can be ash, i.e. Archived, System file, Hidden), do the following:
5. Type attrib -a -s -h autorun.inf (assuming above result).
This will make the file a normal file
6. Type del autorun.inf

If you find other autorun-named files, do this to all. I wrote a program for this recently but haven't gotten as yet to the net. Give a system restart and confirm.

Bye.
After step 4 i got SHR C:\autorun.inf do you want me to still continue with step 5 and 6.
redoak's Avatar
Computer Specs
Distinguished Member with 6,788 posts.
 
Join Date: Jun 2004
Location: West Glenville, Sch'dy Cty, NY
Experience: Intermediate
18-Sep-2007, 06:45 AM #7
"100": See post three!! I would be leery of someone with little experience making the assumption that a virus is involved. I would not go ahead with "O's" suggestion. Wait for JohnWill to come back.

{redoak}
omuyelijah's Avatar
Computer Specs
Member with 119 posts.
 
Join Date: Jan 2006
Location: Nigeria
Experience: Intermediate
18-Sep-2007, 07:29 AM #8
Hello theBest100,

Good try. Since you got SHR (i.e. System file, Hidden, Readonly), continue like this:
1. At the command prompt, type attrib -s -h -r autorun.inf
This makes the file a normal file.
I am interested 2 show u something about that file. Redoak is giving u some advice but pls continue with me cos u r on track.

Type notepad autorun.inf

Pls do the above, copy the contents of that file and reply back. Its rear and questionable for such file 2 exist in the root of drive C:

2. You may now safely delete the file by typing del autorun.inf

Hoping 2 hear from u.

Regards.
Goku's Avatar
Computer Specs
Senior Member with 1,468 posts.
 
Join Date: May 2007
Location: India
Experience: Intermediate
18-Sep-2007, 07:30 AM #9
Welcome to TSG thebest100

Here is some information that will be useful to you:

In some situation especially when anti-virus program has cleaned, healed, disinfected or removed a worm, trojan horse or virus from computer, there may be error happening whenever users try to open or access the drive by double clicking on the disk drive icon in Explorer or My Computer window to try to enter the drive’s folder. The problem or symptom happens in hard disk drive, portable hard disk drive or USB flash drive, and Windows will prompt a dialog box with the following message:

Windows Script Host

Can not find script file autorun.vbs.

Sometimes you will be asked to debug the VBScript with error code of 800A041F - Unexpected ‘Next’.

or

Choose the program you want to use to open this file with:

In this case, the “Always use the selected program to open this kind of file” option is grayed out.

The symptom occurs because when autorun.vbs is created by trojan horse or virus. The virus normally loads autorun.inf file to root folder of all hard drive or USB drive, and then execute autorun.bat file which contains script to apply and merge autorun.reg into the registry, with possible change to the following registry key to ensure that virus is loaded when system starts:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Userinit=userinit.exe,autorun.exe

Finally, autorun.bat will call wscript.exe to run autorun.vbs.

When antivirus or security software detected the autorun.vbs file as infected, the file will be deleted or removed or quarantined. However, other files (autorun.*) and registry value still referring to autorun.vbs, and this document no longer exists, hence the error when users double click to open a drive folder.

To correct and solve this error, follow this steps:

1. Run Task Manager (Ctrl-Alt-Del or right click on Taskbar)
2. Stop wscript.exe process if available by highlighting the process name and clicking End Process.
3. Then terminate explorer.exe process.
4. In Task Manager, click on File -> New Task (Run…).
5. Type “cmd” (without quotes) into the Open text box and click OK.
6. Type the following command one by one followed by hitting Enter key:

del c:\autorun.* /f /s /q /a
del d:\autorun.* /f /s /q /a
del e:\autorun.* /f /s /q /a

c, d, e each represents drive letters on Windows system. If there are more drives or partitions available, continue to command by altering to other drive letter. Note that you must also clean the autorun files from USB flash drive or portable hard disk as the external drive may also be infected.
7. In Task Manager, click on File -> New Task (Run…).
8. Type “regedit” (without quotes) into the Open text box and click OK.
9. Navigate to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
10. Check if the value name and value data for the key is correct (the value data of userint.exe include the path which may be different than C drive, which is also valid, note also the comma which is also needed):

“Userinit”=”C:\WINDOWS\system32\userinit.exe,”
If the value is incorrent, modify it to the valid value data.
Original Article

Try the suggested solution and see if it works for you or not. Good Luck.
devil_himself's Avatar
Distinguished Member with 4,922 posts.
 
Join Date: Apr 2007
Location: India
Experience: Advanced
18-Sep-2007, 08:01 AM #10
Try This

Control Panel--> Folder Options--> File Types-->Drives--> Advanced --> Set Default
thebest100's Avatar
Junior Member with 11 posts.
 
Join Date: Sep 2007
Experience: Intermediate
18-Sep-2007, 12:14 PM #11
Quote:
Originally Posted by Goku
Welcome to TSG thebest100

Here is some information that will be useful to you:

In some situation especially when anti-virus program has cleaned, healed, disinfected or removed a worm, trojan horse or virus from computer, there may be error happening whenever users try to open or access the drive by double clicking on the disk drive icon in Explorer or My Computer window to try to enter the drive’s folder. The problem or symptom happens in hard disk drive, portable hard disk drive or USB flash drive, and Windows will prompt a dialog box with the following message:

Windows Script Host

Can not find script file autorun.vbs.

Sometimes you will be asked to debug the VBScript with error code of 800A041F - Unexpected ‘Next’.

or

Choose the program you want to use to open this file with:

In this case, the “Always use the selected program to open this kind of file” option is grayed out.

The symptom occurs because when autorun.vbs is created by trojan horse or virus. The virus normally loads autorun.inf file to root folder of all hard drive or USB drive, and then execute autorun.bat file which contains script to apply and merge autorun.reg into the registry, with possible change to the following registry key to ensure that virus is loaded when system starts:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Userinit=userinit.exe,autorun.exe

Finally, autorun.bat will call wscript.exe to run autorun.vbs.

When antivirus or security software detected the autorun.vbs file as infected, the file will be deleted or removed or quarantined. However, other files (autorun.*) and registry value still referring to autorun.vbs, and this document no longer exists, hence the error when users double click to open a drive folder.

To correct and solve this error, follow this steps:

1. Run Task Manager (Ctrl-Alt-Del or right click on Taskbar)
2. Stop wscript.exe process if available by highlighting the process name and clicking End Process.
3. Then terminate explorer.exe process.
4. In Task Manager, click on File -> New Task (Run…).
5. Type “cmd” (without quotes) into the Open text box and click OK.
6. Type the following command one by one followed by hitting Enter key:

del c:\autorun.* /f /s /q /a
del d:\autorun.* /f /s /q /a
del e:\autorun.* /f /s /q /a

c, d, e each represents drive letters on Windows system. If there are more drives or partitions available, continue to command by altering to other drive letter. Note that you must also clean the autorun files from USB flash drive or portable hard disk as the external drive may also be infected.
7. In Task Manager, click on File -> New Task (Run…).
8. Type “regedit” (without quotes) into the Open text box and click OK.
9. Navigate to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
10. Check if the value name and value data for the key is correct (the value data of userint.exe include the path which may be different than C drive, which is also valid, note also the comma which is also needed):

“Userinit”=”C:\WINDOWS\system32\userinit.exe,”
If the value is incorrent, modify it to the valid value data.
Original Article

Try the suggested solution and see if it works for you or not. Good Luck.
Hey, thanks for the suggestion, this solved the problem with OPEN WITH dialog box, but now when i click on Local Disk (C a new SEARCH RESULTS window opens up. When I right click on LOCAL DISK (C. the options are as follows:

Search...
Open
Explore
thebest100's Avatar
Junior Member with 11 posts.
 
Join Date: Sep 2007
Experience: Intermediate
18-Sep-2007, 12:15 PM #12
Quote:
Originally Posted by omuyelijah
Hello theBest100,

Good try. Since you got SHR (i.e. System file, Hidden, Readonly), continue like this:
1. At the command prompt, type attrib -s -h -r autorun.inf
This makes the file a normal file.
I am interested 2 show u something about that file. Redoak is giving u some advice but pls continue with me cos u r on track.

Type notepad autorun.inf

Pls do the above, copy the contents of that file and reply back. Its rear and questionable for such file 2 exist in the root of drive C:

2. You may now safely delete the file by typing del autorun.inf

Hoping 2 hear from u.

Regards.
autorun.inf deleted what after that
Tufenuf's Avatar
Computer Specs
Senior Member with 2,461 posts.
 
Join Date: Jul 2007
Location: Oregon
Experience: Intermediate
18-Sep-2007, 12:19 PM #13
Quote:
Originally Posted by thebest100
Hey, thanks for the suggestion, this solved the problem with OPEN WITH dialog box, but now when i click on Local Disk (C a new SEARCH RESULTS window opens up. When I right click on LOCAL DISK (C. the options are as follows:

Search...
Open
Explore
Go to Start>Run and type in:

regsvr32 /i shell32

Click OK

Note that the spacing is important.

Tufenuf
Goku's Avatar
Computer Specs
Senior Member with 1,468 posts.
 
Join Date: May 2007
Location: India
Experience: Intermediate
18-Sep-2007, 12:29 PM #14
I have never came across this problem before but since you have encountered it, let me try and see if I can help you.

Search Companion Starts If You Double-Click a Folder

Hope that helps. Good Luck.
thebest100's Avatar
Junior Member with 11 posts.
 
Join Date: Sep 2007
Experience: Intermediate
18-Sep-2007, 06:35 PM #15
Quote:
Originally Posted by Tufenuf
Go to Start>Run and type in:

regsvr32 /i shell32

Click OK

Note that the spacing is important.

Tufenuf
Thanks, that solved the problem.

Thank You everybody in helping me solving this problem.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:09 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.