Tag: Windows 7
Microsoft Security Essentials MsMpEng.exe using high CPU Time
by Greg on Feb.01, 2010, under Security, Windows 7
I have Windows 7 Ultimate x64, but I think this might be problem in any version. I keep having issues with MsMpEng.exe using a large amount of resources, like 100% CPU time or a lot of memory. The system will work just fine, even after running for hours, when suddenly the system slows to a crawl, almost to the point I have to reset the system. I finally narrowed the culprit to MsMpEng.exe, the scanner for MSSE.
I found a link on a Google search about adding exclusions, which I suspected would be a problem for things like my backup programs. I added Crashplan and Syncback programs already, but what I found in that Google search was that you need to add the MSSE directories in C:\ProgramData to the exclusion list. WHAT!!??? Are you kidding me? MSSE doesn’t already exclude itself? Come on MS!! I really like MSSE, but that’s pretty stupid.
I went ahead and added these to MSSE exclusions:
C:\ProgramData\Microsoft\Microsoft Antimalware
C:\ProgramData\Microsoft\Microsoft Security Essentials
C:\Program Files\Microsoft Security Essentials
Now, for a couple days, I have had no more issues!!! We’ll see in a week if it really fixes it. That’s an easy fix, but completely annoying! I still like MSSE regardless. It’s not perfect, but I’d rather have it than anything else.
I am curious to know if anyone else found this fix to work?
Note: I do recommend people run a manual scan with MalwareBytes and SuperAntispyware once in a while, along with the real time scanner in MSSE. MSSE didn’t catch a recent trojan at one of my clients, same one was blocking MalwareBytes too. Only SuperAntispyware cleaned the system properly.
Couple useful Windows Explorer shortcuts
by Greg on Jan.21, 2010, under Windows 7, Windows Vista, Windows XP
So I never took the time to look these up, but I just heard about them recently. I always wanted to know how to create a new folder in Windows Explorer without having to use menu’s, by just using a keyboard shortcut.
In the right side of the Explorer window, where you want the new folder, press your “CTL+SHIFT+N” keys. You’ll get a new folder ready to type in a new name.
Also, you can hit “CTL+N” to get a new window in the same location.
The specified server cannot perform the requested operation
by Greg on Jan.12, 2010, under Networking, Windows 7, Windows Server
I was not able to access a newly joined Windows 7 computer on our domain from our Windows 2000 Server. I just received that error. “Cannot perform the requested operation” Sharing was setup ok, permissions and security set ok, firewall was turned off. I saw an Event ID 2017 on the Windows 7 system, too. Something about “unable to allocate from the system nonpaged pool”.
I found this online. Add the MaxNonpagedMemoryUsage value below in the client’s registry. (Windows 7 system) Make a restore point first so you can undo if any problems arise.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\MaxNonpagedMemoryUsage
DWORD VALUE: 0xFFFFFFFF
Next, restart the “Server” service on the Windows 7 machine. Then go back to Windows 2000 Server and try to connect to \\window7machine and see if it can access it now.
This worked great for me, hopefully it works for you too. However, it may be wise to increase that value in small increments from the default, which I THINK is 0×100000. I just maxed it out and on my client system to test, and it’s working fine. Just thought I’d make note of it. If you have further problems, or this doesn’t fix the issue, remove the value and reboot. This should return it back to the default.
ZFS CIFS Network Password Is Not Correct
by Greg on Oct.25, 2009, under OpenSolaris
Check the /etc/pam.conf has the smb line:
other password required pam_smb_passwd.so.1 nowarn
If not, add that to the end of the file. If you, check /var/smb/smbpasswd you should also see a line for your account with a hashed password listed. In my case, I had my username and an ID listed, but not hashed password. I didn’t have the line in pam.conf. After I added it, I had to run the passwd username command on my account, which generated the smb password and inserted it into the smbpasswd file. Then the error about password not being correct went away and I could get in from Windows. (Windows 7 too! With the “NTLMv2 if negotiated” option in policy.)
Extend Windows 7 Activation
by Greg on Oct.22, 2009, under Windows 7
I am testing Windows 7 Pro on my laptop and wanted to decide if I can get by with that instead of Ultimate. Well, my time is running out and I need a couple day to backup everything before I change it. So… I need to “rearm” the activation system.
Go to the start menu, and in search box type “cmd” and hit CTL-SHIFT-ENTER to open the command prompt with elevated rights. Type this:
1: slmgr -rearm
You’ll get a popup telling you it was successful and you need to restart a few seconds later.
Logged on with a temporary profile
by Greg on Jul.01, 2009, under Windows 7, Windows Vista
This is a pain. For some reason, unkown even to Microsoft aparently, I reboot my system only to login to a temporary profile in Windows Vista or Windows 7. As of this writing, I am using the release candidate of Windows 7, but since I’ve seen this on Vista and even on Windows XP, I kind of suspect this has nothing to do with this being a beta product. XP doesn’t give the same error. I can’t remember what it says, but it basicaly does the same thing, it logs you in under the “Default” profile in windows, which is temporary and you lose everything once you logout.
You might see this error:
Your user profile was not loaded correctly! You have been logged on with a temporary profile.
Changes you make to this profile will be lost when you log off. Please see the event log for details or contact your administrator.
Why this happens is a mystery. I found one article on the MS knowledge base about your account that is a member of Guests or Domain Guests, but that’s not the case for my issue. I found this article, which led me to a quick fix. (I doubt a fix permanently though)
http://support.microsoft.com/kb/947242
The solution in that article did not fix it for me. Also, I’ve heard you can simply logout and back on, but that doesn’t fix it for me either. What I did was delete the subkey in the ProfileList registy key mentioned in the article above. If you go in there, you’ll see two keys with the same SID. One will end in “.bak”, which should be your correct key. Look within that key for the value of ProfileImagePath. It should show the path to your windows profile. Mine, for example, is : “C:\Users\greg”. Now look into the newly created profile key (SID without the “.bak”), this should show ImageProfilePath of “C:\Users\Temp”. Obviously wrong.
The fix in the article tells you to delete the key with the “SID.bak”, but that just left in the temp profile and didn’t work for me. I went back in to the registry, deleted the one with the C:\Users\Temp in the path, and then renamed my original one (Which I had exported! Named with the “.bak” and has your correct profile path.) by simply removing the “.bak” at the end. Log off and back on, problem solved.
I hope this helps! Backup your registry first!!
EnV Touch dial pad goes blank and importing contacts
by Greg on Jun.30, 2009, under Windows 7
I love my new Env Touch, since I can’t get an iPhone it’s just awesome, but there’s a couple little things I don’t like. Like the fact that the dial pad goes blank when entering my PIN in voice mail. I have the screen set to 30 seconds timeout, but it still instantly goes blank. Well, guess what I discovered? If you just hold the phone flat, the screen lights up again! LOL! That’s the trick, just hold it flat, and you can see the numbers to enter!
Also, it drove me nuts that I couldn’t get all my contacts imported somehow. I finally took some time to do a little searching and found this awesome post:
I have all my contacts in Google Apps, but that was just a simple export to CSV, which I took and imported into Outlook 2007 easy enough. I am using Windows 7 RC – 64bit. I took the modem driver and the Outlook sync tool and set them both with Windows XP sp2 compatibility, then I ran them “As Administrator” as well. The modem driver installed, can’t remember if it said success or not though. Then the sync tool, that installed just fine.
I took my phone and set the USB to Modem mode, then plugged it in. Windows 7 saw it, but the LG software to run updates didn’t see it. I don’t care, because I just want my contacts. So I opened Outlook, at the top toolbar was a new LG button. Open that and do your sync. I only ran the Contacts, so I don’t know if the Calendar will work yet, but all my contacts are now in my phone. Now, I just need to setup a sync to Google Apps, and then a sync using this tool, and I’ll be dual syncing!
Download the Outlook sync tool here:
http://www.lgmobilephones.com/images/support/resources/LG_Outlook_Sync.msi
And the modem driver (URL is shortened):
http://www.lgmobilephones.com/…LGUSBModemDriver_Eng_WHQL_Ver_4.9.4_All.exe
Join Windows 7 to Samba PDC on Ubuntu Jaunty
by Greg on May.31, 2009, under Linux, Networking, Windows 7
I found some info on Google searches to get Windows 7 to join a Samba domain controller. I have Ubuntu 9.04 Jaunty which runs Samba 3.3.2, which I guess does not work. You need 3.3.4. Windows 7 needs a registry change:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters]
“DomainCompatibilityMode”=dword:00000001
“DNSNameResolutionRequired”=dword:00000000
The above need to be added to allow the join to work. Then find the key below and set those values to 0.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon\Parameters]
“RequireSignOnSeal”=dword:00000000
“RequireStrongKey”=dword:00000000
The Netlogon values need to be updated, or Windows 7 will not allow domain logons. You’ll get an error about credentials and no domain controller, or something like it. Adding the second two will allow the logon.
Adding the registry keys above, plus upgrading Samba, did the trick. I was able to join Windows 7 to Samba 3.3.4, but I did get a weird error about the DNS suffix being wrong. I just said OK and left it. I tried to change it several times after, too, but always get the same error. System working fine so far though!
As for upgrading Samba, you’ll have to Google that one. But here’s what I did, in a nutshell. (This is NOT a HOWTO, just a record of my experience, so if you follow this, it might break your system. Just be warned.) I had a working domain controller, so I had a SAM database already with SID’s and passwords. I didn’t want to lose those. After backing up my server and Samba configs (including all the tdb files) I removed Samba 3.3.2 package from Ubuntu. Then I downloaded the Samba source tar.gz for version 3.3.4, unpacked and “./configure” and then compiled. (make && make install)
At this point I found all my tdb files and copied them into the default Samba installation, which was different than the Ubuntu package. I think the original tdb files from Ubuntu are in /var/lib/samba. I copied all that to /usr/local/samba/var/lock. (the default when compiling from source) I also setup a link from the original smb.conf in /etc/samba to /usr/local/samba/lib/smb.conf.
Now I’ve got my Windows 7 system logged in and joined to my Samba domain!