Categories
Operating Systems Windows 8

alt f4 on surface pro with type keyboard 2

I couldn’t get alt f4 working on any of my apps on my new microsoft surface pro with type keyboard 2. It ended up being that my function lock was set! I had to unlock that via: function + caps lock (Thanks rsutoratosu on Anandtech). And now ALT F4 works, time to go kill some apps!

Categories
cPanel linux

How to delete all mail in queue for cPanel exim

I ran into an issue where a user was spamming and queue up thousands of email in our cPanel server. To clear it out, I did this:

/etc/init.d/exim stop

exim -bpru | awk {'print $3'} | xargs exim -Mrm

or

exim -bpru|grep frozen|awk {'print $3'}|xargs exim -Mrm

/etc/init.d/exim start

I had about 120k emails in queue and it took about 20 seconds to remove them all. If you want to fine tune it, you can have exim delete only specific emails in queue:

grep -lr 'a certain string' /var/spool/exim/input/ | \sed -e 's/^.*\/\([a-zA-Z0-9-]*\)-[DH]$/\1/g' | xargs exim -Mrm

Credit to: http://bradthemad.org/tech/notes/exim_cheatsheet.php
 

To delete frozen emails from a specific email address:

exiqgrep -i -f luser@example.tld | xargs exim -Mrm

If you just want to delete mail queue directories, sometimes faster delete:

/var/spool/exim/input and the /var/spool/exim/msglog directories

Categories
Software

Microsoft Office 2013 PRO ISO/IMG Direct Downloads

I needed these for a retail key I received from my employer for $10, so these were useful, as I did not want to install the cheap software they had to go and download the IMG.

64bit:

http://care.dlservice.microsoft.com/dl/download/2/9/C/29CC45EF-4CDA-4710-9FB3-1489786570A1/OfficeProfessionalPlus_x64_en-us.img 

32bit:

http://care.dlservice.microsoft.com/dl/download/6/6/2/662A612F-B3E9-4A94-9396-C92F656BA100/ProjectProfessional_x86_en-us.img

Categories
cPanel linux

Fatal error: Allowed memory size of 134217728 bytes exhausted – MySQL error – PHPMyAdmin

I had a client trying to import a 200M zip file to phpmyadmin to import into his MySQL database, he kept receiving this error:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 201380904 bytes) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/zip_extension.lib.php on line 65

It ends up that phpmyadmin is using its own php.ini config, and defaults the memory size to 128M.

Edit the file : /usr/local/cpanel/3rdparty/etc/php.ini.dist

there is a line that says memory_limit, change that to what you’d like. I changed mine to 264M.

You will want to restart cPanel as well:

/etc/init.d/cpanel restart

You will lose this setting upon reboot, so if you want to keep it, you will want to run this:

echo "/usr/local/cpanel/3rdparty/etc/php.ini.dist" >> /etc/cpanelsync.exclude

This will exclude the file when it goes to sync/update with cPanel.

Categories
Operating Systems Windows 7

How To Install Windows 7 from a USB Key with ISO links!

I’ve been reading a few methods to install Windows 7 from an ISO to a jump drive, or DVD. The best method to do it from a Windows computer is to obtain Microsoft’s own software for the task :

http://images2.store.microsoft.com/prod/clustera/framework/w7udt/1.0/en-us/Windows7-USB-DVD-tool.exe

Install that, and point it to the jump drive you want to use (it will get wiped), and point it to the ISO you want to install on to it.

Windows 7 Ultimate SP1-U ISO

English x86: X17-59463.iso
English x64: X17-59465.iso

French x86: X17-59477.iso
French x64: X17-59479.iso

Spanish x86: X17-58877.iso
Spanish x64: X17-58879.iso

Windows 7 Professional SP1-U ISO

English x86: X17-59183.iso
English x64: X17-59186.iso

German x86: X17-59886.iso
German x64: X17-59885.iso

French x86: X17-59195.iso
French x64: X17-59197.iso

Spanish x86: X17-58866.iso
Spanish x64: X17-58868.iso

Italian x86: X17-59212.iso
Italian x64: X17-59215.iso

Portuguese x86: X17-59246.iso
Portuguese x64: X17-59247.iso

Swedish x86: X17-59271.iso
Swedish x64: X17-59273.iso

Norwegian x86: X17-59229.iso
Norwegian x64: X17-59231.iso

Finnish x86: X17-59192.iso
Finnish x64: X17-59194.iso

Dutch x86: X17-59233.iso
Dutch x64: X17-59236.iso

Danish x86: X17-59891.iso
Danish x64: X17-59883.iso

Traditional Chinese x86: X17-59295.iso
Traditional Chinese x64: X17-59297.iso

Korea x86: X17-59299.iso
Korea x64: X17-59300.iso

Windows 7 Professional N SP1-U ISO (Note: N editions come without media components)

English x86: X17-59335.iso
English x64: X17-59337.iso

German x86: X17-59323.iso
German x64: X17-59327.iso

French x86: X17-59348.iso
French x64: X17-59351.iso

Spanish x86: X17-58871.iso
Spanish x64: X17-58874.iso

Italian x86: X17-59364.iso
Italian x64: X17-59366.iso

Portuguese x86: X17-59395.iso
Portuguese x64: X17-59398.iso

Swedish x86: X17-59418.iso
Swedish x64: X17-59424.iso

Norwegian x86: X17-59380.iso
Norwegian x64: X17-59383.iso

Finnish x86: X17-59344.iso
Finnish x64: X17-59346.iso

Dutch x86: X17-59384.iso
Dutch x64: X17-59387.iso

Danish x86: X17-59318.iso
Danish x64: X17-59320.iso

Windows 7 Home Premium SP1-U ISO

English x86: X17-58996.iso
English x64: X17-58997.iso

Spanish x86: X17-58857.iso
Spanish x64: X17-58859.iso

French x86: X17-59007.iso
French x64: X17-59009.iso

Thanks to mydigitallife.info, where I got the information easily. These are the official ISO’s from Microsoft, so get them while you can!

Categories
Operating Systems Software Windows 7

Temporary profile creates in Windows 7

I had a user who logs in with a domain account and creates a temporary directory every time he logs in. This is what I did that fixed it :

1. Log on to the system by using an administrative user account other than the user account that is experiencing the problem.
2. Back up all data in the current user’s profile folder if the profile folder still exists, and then delete the profile folder. By default, the profile resides in the following location: %SystemDrive%\Users\UserName, you could just rename it something different in the same folder.
3. Click Start, type regedit in the Start Search box, and then press ENTER.
4. If you are prompted for an administrator password or for confirmation, type your password, or click Continue.
Locate the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
5. Under the ProfileList subkey, delete the subkey that is named SID.bak
Note SID is a placeholder for the security identifier (SID) of the user account that is experiencing the problem. The SID.bak subkey should contain a ProfileImagePath registry entry that points to the original profile folder of the user account that is experiencing the problem. You would delete the SID.BAK with an issue :

[zp src=”sidkey.jpg” album=”blog/etc/” width=”600″]

6. Exit Registry Editor.
7. Log off the system.
8. Log on to the system again.

Categories
Server 2003

Large ntuser.dat files in server 2003 – HP driver issue

Originally our terminal service server ran out of space, wondering why, we went to investigate and saw that ntuser.dat files were about 400MB or more. We also noted that new users logging in were taking 15-20 minutes to actually load into the terminal service the first time. What we eventually found out was that the HP Drivers were causing the issue.

You will want to delete this key + and sub keys (I advise running a export of the registry first, just in case):

– HKLM\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\hewlett-packard

Then we deleted all the user profiles that were bigger then 100mb and they recreated.

You will also want to verify that the default user registry hive (the ntuser.dat file) is not over 512kb or so (that was our default size).

– HKUsers\.Default\Software\Hewlett-Packard

Categories
Software

How to convert to PDF for free?

Okay, this seems to be a pretty common question “How do I convert my BLANK document over to PDF? Without paying for Adobe Acrobat STD/PRO?” Very simple, use a freeware program called doPDF. All it does is installs a PDF Printer, so when you print from your document, you can print it to the PDF Converter.

Very simple, and free with no ad-ware/spyware! You can download it directly form their website :

http://www.dopdf.com/download/setup/dopdf-7.exe

Categories
drivers Operating Systems Windows 7

Getting Panasonic CF-53 USB3.0 Drivers to load into WinPE/Landesk

This one was a headache! I got all drivers loaded properly for Panasonic CF-53 in Windows 7, except one unknown device, which was actually a USB 3.0 Hub driver. It would not load the traditional way, so what I ended up doing was taking the drivers, and putting them on the image itself under C:\windows\inf folder

If you would like the drivers, you can get them here :

http://www.uploadland.com/?d=4F7316241

Categories
drivers Operating Systems Windows 7

Panasonic Toughbook CF-53 ACPI\MAT0021 driver

We are getting in some new CF-53 – Standard laptops. My task is to find some drivers that are missing. One was

ACPI\MAT0021

The driver is for the Panasonic Misc. You can get it from Panasonic’s website, or you can pull it from here (this one is for windows 7 32bit sp1):

http://www.uploadland.com/?d=4F43AEA31

If you have a different model Toughbook, you will want to go through Panasonic’s driver website, searching with your specific model laptop.

Enjoy :).