Advertisements

Category Archives: Windows

Sophos Auto Update Error – Installation could not upgrade the current version of product SAVXP – Windows 7 64-bit

Copy the destination files in the bullet list to folder  C:\Program Files (x86)\Sophos\Sophos Anti-Virus\

  • native.exe from C:\ProgramData\Sophos\AutoUpdate\Cache\savxp\native\amd64\
  • All files from C:\ProgramData\Sophos\AutoUpdate\Cache\savxp\drivers\onaccess\win7_amd64\
  • All files from C:\ProgramData\Sophos\AutoUpdate\Cache\savxp\drivers\boottasks\win7_amd64\
  • All files from C:\ProgramData\Sophos\AutoUpdate\Cache\savxp\drivers\sdcfilter\win7_amd64\

Right-Click Sophos Icon from the taskbar and run update now. Sophos should update now and the latest IDE should appear in the C:\Program Files (x86)\Sophos\Sophos Anti-Virus\ folder

Advertisements

Windows Server 2012 R2 only boots to command prompt

A week back I had encountered a very strange behavior with one of our servers running on Windows Server 2012 R2. My colleague was trying something on the server where he had to remove the .Net Framework 3.5 or so, but in the midst of all this, he restarted the server and the sever boots only to command prompt. Upon checking the server, I figured out that it was doing all the basic functions that were allowed to do while being on a command prompt window. But it was not opening Servermanager or Powershell at all. This made me suspicious on it’s behavior.

I did a bit of research on this issue and found out from a Technet blog that for some reason, the GUI installation of the server was undone and it was now acting like a core server installation (where only command prompt operations were possible). Sounds somewhere like LINUX right? Yes that’s what I thought too. There were instructions on how to get the GUI part of the server back.

We are asked to run the following command from the command prompt that is open upon logging into the server:
Dism /online /enable-feature /featurename:Server-Gui-Mgmt /featurename:Server-Gui-Shell /featurename:ServerCore-FullServer /all

This will install the GUI features and all the requisites for those features. The installation itself will take quite a while. Once the installation is complete, reboot the server with the command “shutdown /r /t 0“. The server also prompts to be restarted once the installation is complete. However I chose to run the command after hitting a “No” to the restart option. The GUI features were installed back after the restart.

nVidia Graphic card not being detected and does not show up on the Device Manager

Hi,

Just today morning, my laptop had suddenly started acting weird. One of the graphic cards, nVidia, was not being detected. Each time I tried to reinstall the driver it kept saying that there was no nVidia GPU found on my laptop. It was too quite unreal for me because everything was just fine until yesterday. I went ahead and uninstalled all the programs and the driver that were related to nVidia. I then went to the Device Manager to check for the Graphic card, to my shock, there was nothing listed there. However when I checked if it was listed in the hidden devices option, surprisingly not just one but 2 graphic cards (not even the model that was installed on the laptop) were present. I deleted them all and tried to do a Scan Hardware change, but it didn’t fetch any result at all! By this time, I had completely sunk in thoughts about what had happened to my laptop in one night!

I then went to the nVidia website and tried to make it do an autodetect. It failed! The next stop was the manufacturer’s website and I downloaded the default driver from there. It still wasn’t working. I then started researching on the issue quite much. There was no answer until I stumbled upon a question that was posted on Microsoft forums by someone by the name DU. I read through it until my eyes got stuck on what this user had written on the 2nd page of this post. The link above takes you to the same page and not the first page. His laptop was an Asus and it had similar issues as mine. However when he contacted Asus regarding his problems after having gone through all the steps in the forum to resolve this issue, he got a very surprising yet a working solution! They asked him to do a “restore default BIOS”. I’m not sure how, but yes this worked for me after hours of breaking my brains over this issue. PS:This option may appear in different names with different brand of laptops. You will come to know why. Read through!

You can get into the BIOS settings of your laptop/desktop in different ways set by the manufacturer. You can try to run a google search if you do not know how to get to the BIOS settings of your laptop/desktop. However on my laptop which is a Lenovo Z400, you need to first shut it down. Once powered off completely there’s a small button to the left of the laptop (which is called Novo Key I suppose) just beside the power outlet. Just press this button for a few seconds and release it. This powers on the laptop once again but goes to a screen where it asks for a few options.

First Screen after Novo Press - Lenovo Z400

Scroll down and enter the BIOS Setup option.

Inside BIOS Settings - Lenovo Z400

Go to the last tab, Exit, and look for the option OS Optimized Defaults.

Restore Default Bios - Lenovo Z400

This on my laptop is the equivalent of “Restore Default Bios”. I got to know this by reading it’s description on the right hand side of the BIOS menu. Each menu had a description on what it does. No magic here! Just logic!

Once done, the PC boots back normally. Go to Device Manager, and you should find the graphic card listed back! I then tried to install the driver and this time it worked! It very well detected the graphic card and sanity was restored!

Solved – You may not have permission to access this network resource

folder_permission

Note: The below solution is considering the computer you wish to connect to is turned on; has sharing enabled, has the sufficient right active and you are able to ping to it

Solution (Applies to Windows 7 / Windows 8 / Windows 8.1)

  • It is most likely that this folder was accessed with a wrong password earlier
  • Open Control Panel – User Accounts
  • From the left panel – Click Manage your credentials

windows_manage_credential

  • For Windows 8 and 8.1 users the Web and Windows Credentials will show separately. Click Windows Credentials
  • Under Windows Credentials; the PC name or IP Address that you were trying to connect to must be listed

windows_credentials

  • Click Remove to delete the existing credential
  • Once done; try accessing the shared folder once again.

 

Opening winmail.dat file in email attachment

Is winmail.dat file a virus? Why does this happen?

Below is a link to a post from Microsoft as to why this happens and what you can do to stop this from happening in future

http://support.microsoft.com/en-us/kb/278061

Does the winmail.dat file have any content?

Not all winmail.dat files have content. Right-Click the winmail.dat and open in notepad. The first 2 lines of text will give you an idea if it contains any relevant data (eg: IPM.Microsoft Mail.Note)

How to open a winmail.dat file?

Found a simple and easy to use website that helps you extract the contents online

http://www.winmaildat.com/

winmail_extract

Have to type single/double quotes twice for them to appear

Quotes, Tilde and Caret Symbol appears only when clicked twice

If you are faced with the above error, it is most likely that you are using US International as your Keyboard Layout

Screen Shot from Window 8.1

  • Control Panel – Language

US_International

  • Click Options to change the Keyboard Input

us_international_input_method

  • Click Add an input method and select US / US English
  • Remove the US International entry and Save

Robocopy and the many ways to use it!

Powerful File Management with Robocopy

Robocopy is a utility developed my Microsoft to enable copying higher volumes of data (in GB’s and TB’s) from one location (on a server/workstation) to another (server/workstation). The normal copying may not do the job for us as they do keep getting interrupted with pop ups on whether or not to copy a certain file/files. With Robocopy, this issue can be overlooked at. When I first used robocopy, I wasn’t too sure about how the commands would be like. However the robocopy commands are simple and can be used on a simple command prompt or even on Windows Power Shell! I particularly found this website very helpful with the different attributes or options we could add to the robocopy command. The normal usage of robocopy is ROBOCOPY Source_folder Destination_folder [files_to_copy] [options] The various [options] that can be used along with the robocopy command are available in the link provided above. Now there may be many of them like me who wouldn’t want to type in a lot of commands and instead use a GUI. Well, this is possible too. Thanks to a few good souls at Microsoft this is now possible. These applications Robocopy GUI and RichCopy were developed in 2006 and 2009 respectively. One can download them and try to use them with whatever options he/she requires. For my case I used Robocopy GUI as I was quite comfortable with it because of it’s simple GUI. But beware! To install these applications on Windows OS’s like Windows 7, Windows 8 or 8.1, Windows Server 2008R2, 2012, 2012R2 one may need to install the older .NetFramework versions. I had encountered such an issue while installing Robocopy GUI on Windows Server 2012R2. So go on, try this utility and see how helpful it is. The transfer rate is properly controlled and there were no interruptions or pop ups waiting for the user to acknowledge.

Windows cannot be installed to this disk. This computer’s hardware may not support booting to this disk. Ensure the disk’s controller is enabled in the computers BIOS menu

Unable to Install Windows 7 to Disk

If you encountered above error when installing an Operating System on your PC; use below solution

  • Restart your system and get into BIOS
  • Change the Boot Mode/Priority from Legacy to AHCI or UEFI
  • Save the BIOS Settings
  • Retry the installation and it will work as intended

 

Manage Storage of IIS Log Files – Scheduled Deletion of IIS Logs

Drive Space Full with IIS Log Files / Reclaim Disk Space

Are your Local Drives of your IIS Server running out of space? Have you checked the size of your IIS Logs?

If your IIS was setup by a professional; you would not have to go through this issue. The log files would have been managed appropriately

Ideally I do not see a purpose to keep IIS Log files beyond a period of 1 month. Those older than one month should ideally be removed to prevent disk space issues

I found below posts which will assist you. Before you use the below scripts; please identify the location of your log files

Using Powershell

http://www.codeproject.com/Articles/663000/Simple-Powershell-script-to-clean-up-IIS-log-files

Using VBScript

http://www.iis.net/learn/manage/provisioning-and-managing-iis/managing-iis-log-file-storage#02

By default; you would find them on C:\inetpub\logs\LogFiles\

To verify the location; open IIS and select the Default Website and click Logging

IIS_Screenshot

Take note of the path mentioned in the directory field

IIS_Logging

Error 1721 There is a problem with this Windows Installer Package – Windows 8.1

Error 1721.There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor

I had trouble uninstalling a program from Windows 8.1 and the above message showed. For a change I did not end up having to use any Third-Party tools to solve this problem. Microsoft has a useful tool which will help resolve Install and Uninstall issues related to Microsoft Installer

Using below link will guide you through

http://support.microsoft.com/kb/290301

 

Strangely, Microsoft does not link the Error 1721 to this post. If it did, I wouldn’t have to write this post

Happy troubleshooting 🙂