Double Clicking C drive gives an “Open With…” Dialogue list.

This issue is most certainly the byproduct of a virus hitting your system and subsequently being cleaned by an anti-virus product. I strongly suggest you do a full system scan in safe mode with your anti-virus security suite of choice with virus definitions updated before doing anything else.

To fix the Open with issue you will need to open a command prompt window by clicking the start button then run and typing “cmd” into the run box and click on Ok

cdriveopen1

In the command window type in the following commands “cd \” to take you to the root of the c drive. Then “attrib -r -s -h autorun.inf” then “del autorun.inf” as shown below. This will delete the Autorun.inf  on the hard drive placed there by the virus or malware.

cdriveopen2

Now to reset windows so it will open your drives without the “Open with…” message you need to run the command “regsvr32 /i shell32.dll” in a run window and click Ok.

cdriveopen3

After a few moments you will get a message stating “DllRegisterServer and DllInstall in shell32.dll succeeded.”

cdriveopen4

Share

This product requires ASP.NET v2.0 to be set to ‘Allow’ in the list of Internet Information Services (IIS) Web Server Extensions.

When trying to install Microsoft Windows SharePoint Services 3.0 you receive the following error:

sharepoint1

—————————
Setup Errors
—————————
Setup is unable to proceed due to the following error(s):
This product requires ASP.NET v2.0 to be set to ‘Allow’ in the list of Internet Information Services (IIS) Web Server Extensions. If it is not available in the list, re-install ASP.NET v2.0.
Correct the issue(s) listed above and re-run setup.

—————————
OK
—————————

In my case the .Net Framework was installed but it wasn’t in the Web Services Extensions list. I’m assuming this is because I installed IIS after the .NET framework.

To fix this error you will need to open up a command prompt window and change your directory to “C:\Windows\Microsoft.NET\Framework\v2.0.50727″ and run the command “aspnet_regiis.exe -i” as shown below.

sharepoint2

After this command completes successfully you will need to open up IIS Manager and go to Web Service Extensions and mark “ASP .NET v2.0.50727″ as Allowed if it isnt already.

sharepoint3

Share

Redirecting Favorites using Group Policy

Windows Active Directory and group policy lets you easily redirect your users Desktop, My Documents folders, Start Menu and Application Data (although I would like to know why anyone would redirect the App data folder). But for some reason the users Favorites redirection was left out of these defaults.

I’m sure there are multiple ways to do this but the way I’ve accomplished this at many sites by doing the following:

Create a blank group policy and call it something like “favoritesredirection” and assign it to the user Organisational Unit you want redirection to occur.

Within your new policy navigate to  the User Configuration -> Windows Settings -> Scripts (Logon/Logoff) and double click on Logon from the right hand side.

redirectfavorites1

Click on Show Files….

redirectfavorites2

Now create the following files within this folder using something like notepad to do the editing as it doesn’t add any extra useless formatting:

A “favoritesredirection.bat” containing:

%systemroot%regedit /s favoritesredirection.reg

A “favoritesredirection.reg” file containing:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerUser Shell Folders]

“Favorites”=hex(2):25,00,48,00,4f,00,4d,00,45,00,44,00,52,00,49,00,56,00,45,00,
25,00,5c,00,46,00,61,00,76,00,6f,00,72,00,69,00,74,00,65,00,73,00,00,00

[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell Folders]
“Favorites”=”\servernameHomefolders%username%_favorites”

The directory should look like this:  redirectfavorites3

Back on the “Logon Properties” window click on Add.

redirectfavorites4

Type in favoritesredirection.bat (or browse and select favoritesredirection.bat) and click on Ok -> Ok and close out of the group policy object editor.

redirectfavorites5


Share