Some times you need to reclaim space from dynamically expanding vdi images for VirtualBox. Continue reading “Shrinking VirtualBox VMs Under Windows”
When you use your Windows 7 workstation for heavy network file copying the lan manager server tends to run out of memory. By making the following setting changes you can avoid this and enhance the file copy speeds.
Continue reading “The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.”
Error in Outlook 2010:
"Outlook: Can't create file : XYZ.pdf. Right-click the folder you want to create the file in, and then click properties on the shortcut menu to check your permissions for the folder."
This is an annoying message. Even after fixing the users profile permissions it made no difference. This is what worked for me:
- Open REGEDIT.EXE and go to Edit -> Find… In the Find dialog box type “OutlookSecureTempFolder” without the quotes.
- You may also find the key here without searching if you know the users key: HKEY_USERS\%USER PROFILE ID NUMBER%\Software\Microsoft\Office\14.0\Outlook\Security
- When you find it the key will contain the actual folder location, and will look like:
- C:\Documents and Settings\%USER_NAME%\Local Settings\Temporary Internet Files\OLK#\ (where # is a random letter or number)
- Copy the location of that folder.
- Click on Start -> Run… and paste the folder location from step #4 then click OK.
- Explorer will open that folder, then delete all files present.
- Restart Outlook and you should be able to open your attachments.
Last time I did this I found over 14k files in that location. Yikes!
Let me start by saying that HP has some of the worst drivers for their small office printers. Shame on you!
After many rounds with “re-installing”, specifically HP drivers, I found that it was better to just manually wipe them from the computer and start over.
Open a command prompt with administrative privileges and enter:
net stop spooler
Navigate to (Paste one of these paths into the run command:
NOTE: %systemroot% is usually C:\Windows, but it might be “winnt” or something else; this is set when the OS is installed. Most systems are like this C:\Windows\system32\spool\drivers\w32x86 but also note that if you’re using a 64-bit version of windows the drivers will be in the folder called x64
Inside the w32x86/x64 folder there will be other folders and files. Delete the contents of these folders but do not delete them.
Restart the computer and re-install the printer.
Make sure you turn off or unplug the printer if it’s directly attached. If you don’t Windows will try and be smart and reinstall it for you.
I have long hunted for this solution as many of our vendor’s applications break with each Java “update”. So here are the registry entries for Windows XP and Windows 7 x64. Note that this will work w/o Group Policy on a local machine but my purposes is for GP.
In Windows XP the EnableJavaUpdate registry key is located under HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava UpdatePolicy. It’s a REG_DWORD with 0×0000001 (1) value for enabled, and 0×0000000 (0) for disabled.
(You’ll see this in Windows 7 as well for the 32bit versions of Java)
Windows 7 x64
EnableJavaUpdate registry key is located under HKEY_LOCAL_MACHINESOFTWAREWow6432NodeJavaSoftJava UpdatePolicy. It’s a REG_DWORD with 0×0000001 (1) value for enabled, and 0×0000000 (0) for disabled.
Hope this helps. I refer to it constantly.
Note that this applies to ALL users at the machine level!
For some reason I’m always looking for this. This applies to Windows 7. Not sure about other versions.
You must run regedit as an administrator.
To disable these balloon messages follow the steps below:
1. Open the Registry Editor by clicking on Start -> Run and running REGEDIT.
2. Navigate to the following location:HKEY_CURRENT_USER\Software\Microsoft Windows\CurrentVersion\Policies\Explorer
3. Right-click in the blank area of the right-hand pane of the Registry Editor and create a new DWORD Value by selecting New -> DWORD Value.
4. Name this new DWORD Value NoLowDiskSpaceChecks
5. Double-click on the new DWORD value and assign it a value of 1.
6. Close the Registry Editor and restart the computer.
This can also be applied via Group Policy.
Windows Server 2008 and Windows 7 introduced a neat feature in the Task Manager that allows you to see the command line that instantiated the process. This is great for telling processes apart. Especially when svchost and others can have dozens of instances.
Just click View -> Select Columns and pick Command Line at the bottom.
But what if you have Windows Server 2003 or Server 2000? I found a few tricks. They’re not as clean but they work just as well.
This one just lists the processes, their PID and the “services” that are associated with them
This one makes a nice text file with much more info
wmic process get Name,ProcessId,CommandLine /format:table > wmic_task_list.txt
The text file lists the name, process id, command line and puts it in a table in a text file. Genius!
If you want to get really geeky you can see all the wmic options using this command. It can do some really nice output.
wmic process list /format /?
Hope this helps someone! I use it on a regular basis to find out why svchost is going bat shit crazy on my servers. We all know it likes to hit full cpu usage from time to time and these commands will help you find out which process is causing it.
Most often I’ve found that it has to do with Windows Updates but you never know.
Windows 7 can be a serious pain in the ass when deleting files. This may help:
- Take ownership of the file(s). Start a Command Prompt (cmd) as an administrator in the affected folder, and enter:
takeown /f file takeown /f directory /r
- Give yourself full rights on the file:
cacls file /G username:F
cacls can be used with wildcards and directory traversal: Security from the command line with CACLS.
I can never seem to remember the registry settings for this so here it is for review. This works for Windows XP thru 7 to the best of my knowledge.
Continue reading “Auto Logon for Windows XP thru 7”