Buy Me a Coffee

Wednesday, December 29, 2010

User profile isn’t cached on Windows 7 machines and you can’t logon the computer while out of office

If the user profile isn’t cached on Windows 7 machines, you can’t logon the computer while out of office. To troubleshoot this kind of issue, I would like to suggest:

1.     Check if the logon caching is turned off on Windows 7 machines:

1)    Click Start, type: regedit in the Start Search box.
2)    Open Registry Editor and find the ValueName of CachedLogonsCount under the following path, ensure the value isn’t set 0:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

If the CachedLogonsCount has a value of 0, set the value as 0 to 50. By default,  Windows remember 10 cached logons.

2.     Check if there is a GPO associated with Windows 7 machines to perform the behavior of deleting cached copies of roaming profiles. The Group Policy setting is located:

Computer Configuration\Administrative Templates\System\User Profiles\Delete cached copies of roaming profiles

If you enable it, please disable to test the problem.

3.     Manually delete the domain profile to create a new copy:

1)    Go to the Users folder: %systemdrive%\Users and delete the domain profile.
2)    Open Registry Editor and find the following entry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\

3)    Delete the domain profile according to the user’s GUID.
4)    Restart the computer and logon.

Note: you should delete the domain profile at office, the next time you logon to the domain, the roaming profile will be copied to the local computer.

original post:

Tuesday, December 28, 2010

Access denied while installing or updating hardware driver

While installing an hardware (in my case it was an Nvidia display adapter) you may received an error "Access denied" even if you signed in as Administrator privileges.

Installation using Safe mode failed as well...

I have found that the corporate McAfee Anti-Virus OAS preventing the old driver deletion from the system directory. therefore the installation can not be completed while the error message was "Access denied"...

In order to complate the installation:
1. Disable all McAfee components...
2. Install the driver.
3. Enable all McAfee components...

Oded Rabani

Wednesday, December 22, 2010

Access to the path 'adb.exe' is denied while installing Droid Explorer

While installing Droid Explorer, you get
the following error :

System.UnauthorizedAccessException: Access to the path 'adb.exe' is denied.
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
   at DroidExplorer.Bootstrapper.Panels.DownloadPanel.SdkPathCleanup() in s:\projects\csharp\DroidExplorer\trunk\DroidExplorer\DroidExplorer.Bootstrapper\Panels\DownloadPanel.cs:line 251
   at DroidExplorer.Bootstrapper.Panels.DownloadPanel.RunSetup() in s:\projects\csharp\DroidExplorer\trunk\DroidExplorer\DroidExplorer.Bootstrapper\Panels\DownloadPanel.cs:line 181

In order to solve it, open the task manager and kill the adb.exe process and restart the installation.

Oded Rabani

Tuesday, December 21, 2010

How to reset windows administrator password

Here is a link I have found on the great "how to geek" site about resetting windows administrator password:

HP LA2205wg screen is not detected by windows 7 and Nvidia Quadro NVS 295

After installing Nvidia Quadro NVS 295 and HP LA2205wg screen on windows 7 64 bit, I have found out that screen resolution can not be detected by windows, the max resolution is poor, about 600*800 while it should be 1680X1050.
I have opened a service call in HP customer support but were unable to solve it, I guess this is because I was using a KVM which cause the screen not to be detected.

I order to solve that problem, I have created an ini file which force the operating system to install "another" screen with only one type of resolution 1680 X 1050.
Here is how:

1. Remove the Nvidia Quadro NVS 295 driver and click on "delete driver files" check box.
2. Restart the computer.
3. Install HP driver to the display card (download it from HP site).
4. Install the display driver (HP 2205wg):
    a. Open the device manager.
    b. right click on the installed screen and choose "update device driver".
    c. Browse my computer for driver software
    d. Let me pick from a list
    e. Have Disk
    f. install the following inf file >
    g. confirm the unsigned driver.
    h. Install....
    i. set the computer resolution to 1680*1050.

 This is it, let me know if it helped.

Sunday, December 19, 2010

How to configure Word Automation Services on SharePoint 2010

Word Automation Services should be installed and started in SharePoint Server 2010 by default.

In order to double check the configuration and/or change it, follow the next steps:

  1. Start SharePoint 2010 Central Administration.

  2.  On the home page of SharePoint 2010 Central Administration, Click Manage Service Applications.

  3. In the Service Applications administration page, service applications are sorted alphabetically. Scroll to the bottom of the page, and then click Word Automation Services . If you are installing a server farm and have installed Word Automation Services manually, whatever you entered for the name of the service is what you see on this page.

  4. In the Word Automation Services administration page, configure the conversion throughput field to the desired frequency for starting conversion jobs.

  5. As a developer, you may also want to set the number of conversion processes, and to adjust the number of conversions per worker process. If you adjust the frequency with which conversion processes start without adjusting the other two values, and you attempt to convert many documents, you make the conversion process much less efficient. The best value for these numbers should take into consideration the power of your computer that is running SharePoint Server 2010.

  6. Scroll to the bottom of the page and then click OK.


    1. Source of this article is :
    2. If you are running SharePoint 2010 foundation (The Free version) than please be noted that the Word Automation Services is not available, you can find it only on the Standard or Enterprise version of SharePoint 2010.

Wednesday, December 15, 2010

How to fix Exchange 2010 RC OWA that can't login

Exchange 2010 RC has been installed on Windows Server 2008 R2.
After the installation there is a problem with the OWA (Outlook Web App) that users cannot login to it. It keeps saying the username or password isn't correct.

The solution was simple:
From the Windows 2008 server manager, choose the IIS role and install (under Security) : Basic Authentication and Windows Authentication.

Monday, December 13, 2010

configure network card on RHEL

Edit configuration files stored in /etc/sysconfig/network-scripts/

You can configure network card by editing text files stored in /etc/sysconfig/network-scripts/ directory. 

First change directory to /etc/sysconfig/network-scripts/:
# cd /etc/sysconfig/network-scripts/
You need to edit / create files as follows:
  • /etc/sysconfig/network-scripts/ifcfg-eth0 : First Ethernet card configuration file
  • /etc/sysconfig/network-scripts/ifcfg-eth1 : Second Ethernet card configuration file
To edit/create first NIC file, type command:
# vi ifcfg-eth0
Append/modify as follows:

# Intel Corporation 82573E Gigabit Ethernet Controller (Copper)

Save and close the file. Define default gateway (router IP) and hostname in /etc/sysconfig//network file:
# vi /etc/sysconfig/network
Append/modify configuration as follows:

Save and close the file. Restart networking:
# /etc/init.d/network restart

Make sure you have correct DNS server defined in /etc/resolv.conf file:
# vi /etc/resolv.conf
Setup DNS Server as follows:

Save and close the file. Now you can ping the gateway/other hosts:
$ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=251 time=0.972 ms
64 bytes from icmp_seq=2 ttl=251 time=1.11 ms

You can also check for Internet connectivity with nslookup or host command:
$ nslookup

Non-authoritative answer:

You can also use host command:
$ host
Output: has address mail is handled by 10

How to install Gmail 2.3.2 on MIUI ROM

If you were unable to install the new Gmail update for your Android phone and you are using the MIUI rom, this is the how to for you !

1. Install any root explorer software (you can download one from the market)
2. delete /system/apk/gmail.apk
3. the phone will be restarted, if not, please restart it.
4. Install Gmail 2.3.2 from the Market.

Enjoy !