Posted by paris on Apr 19, 2013 in
Random
After installing the following Windows Update : KB2823324 , the computer reboots and will do a CHKDSK on startup. Microsoft have removed this update however it has still been installed on machines
You will need to remove this Windows Update via the Add and Remove Programs , reboot the computer then run the following command :
chkntfs /x c:
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Posted by paris on Mar 7, 2013 in
Research
Recently a HP 5406 Switch randomly crashed in the middle of a working day. A reboot fixed this however , we wanted to update the firmware from V12.16 to the latest version K.15.09.0012, ROM K.15.28
The link to the latest firmware is here :
https://h10145.www1.hp.com/Downloads/SoftwareReleases.aspx?ProductNumber=J8697A&lang=en&cc=us&prodSeriesId=1827663
After backing up all the config, We downloaded the K.15.09.0012 firmware to start with. These switches have Primary and Secondary firmwares which allows some fault tollerence when it comes to an upgrade. If the Primary firmware fails it will switch to secondary so you can reflash
Upon trying to upload the K.15.09.0012, ROM K.15.28 via the web interface , it error-ed on Internet Explorer and Firefox with no immediate error. The next method we tried was a Telnet Firmware Upgrade , a bit more long winded.
We setup a TFPT server to be able to download the
Just download this free TFTP Server tool and setup defaults and copy the firmware to C;\TFPT ( or your default location )
Next we telneted into the Switch , and used the Command Menu to bring up the Switch Menu
We then went to Download OS , entered the TFTP IP of the PC with the file and the file name , and it brought back
“Aborted, File Error“
OK so the switch is bouncing back the file , probably because it’s referencing something with the current version ( The web interface should of been nice and told us this! )
After checking the ReadMe for the 15 upgrade , we found the following :
(BootROM K.12.12 – K.12.14) Update and reload into software version K.13.58 or K.13.68
So we updated to K.13.68 (for BootROM updates only) via telnet which worked , and then updated to K.15.09.0012, ROM K.15.28
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Tags: 5406zl, Firmware, J8697A, Telnet, Upgrade
Posted by paris on Feb 16, 2013 in
Code
A customer wanted to show visitors when the last modification to the whole wordpress site was on the home page. There’s a function in WordPress which give you the function to the current post or page which is :
the_modified_time('F j, Y');
However to find out the whole site, you need to do the current MySQL Query :
$last_site_update = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts WHERE post_status = ‘publish’ ORDER BY post_modified DESC LIMIT 1″ );
Then you can formulate it with PHP’s Date Function e.g. : echo date(‘F j, Y’, strtotime($last_site_update));
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Tags: wordpress last update time, wordpress site last update date
Posted by paris on Feb 13, 2013 in
Fixes
When trying to open an Office Document ( Work, Excel, Powerpoint etc) attachment in Outlook it displayes the following dialogue box
“You should only open attachments from a trustworthy Source”
As the tick box is greyed out, you can run a registry update to remove this Prompt for all Office Documents. This was the prompt will still display dangerous file types such as .exe
The registry file can be downloaded here or the code can be used from here before hand :
http://pastebin.com/UvsnsVPG
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Tags: Doc, Excel, Outlook, Powerpoint, Xls, You should only open attachments from a trustworthy Source
Posted by paris on Jan 31, 2013 in
Fixes
On documents in Word 2003 with pages around 6 pages , when scrolling up and down a few times e.g. 3 -4 , it starts to duplicate to content on the screen. We expeirenced this in Citrix as well as locally. The issue is resolved by microsoft with a HotFix which is installed after Service Pack 3
Download Link below , the fix works without a restart of the computer but word will need to be closed and opened
http://hotfixv4.microsoft.com/Microsoft%20Word%202003/sp4/office2003KB957706GLB/11.0000.0000.8238/free/363491_intl_i386_zip.exe
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Tags: Word 2003 freezing and duplicating when mouse scrolling
Posted by paris on Jan 29, 2013 in
Random
When using the PCT-Easy Program to file a PCT-EASY type application (paper documents, accompanied by a physical medium containing the request form and abstract data in electronic form) it should save a Zip file containing the application and a log file.
However if it only generates the Zip file and you need to regenerate the Log File from an existing Zip , Select the application form from the PCT-Safe Submitted folder right click and select Resend from the menu. This will open a save as Menu to resave both the documents
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Tags: log file, pct-safe
Posted by paris on Jan 25, 2013 in
Fixes
When create a new secure file in PGP Desktop the following error message is displayed when you try and save to a network Path
“The specified Save Location is not valid.”
This is a restriction on some old apps as well as this version of PGP Desktop which is up-to-date which disables saving to a UNC Path e.g. \\server\user\data. The way around this is either to save locally to the machine or map the UNC path as a network drive and save via that network drive
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Tags: PGP Desktop, the specified save location is not valid, UNC Path
Posted by paris on Jan 18, 2013 in
Random
You can run these commands in a command prompt on any DC or PC With Active Directory Tools installed
Time Perioud = Weeks so for example let’s work with 6
Computer Accounts
Find Old Computer accounts across the whole domain :
dsquery computer -inactive 6 -limit 0
Find Old Computers in a Group CN e.g. if the Icon Looks like this : 
dsquery computer -inactive 6 -limit 0 CN=Computers,DC=domain,DC=local (Add to stop it going further then the current folder) -scope onelevel
Find Old Computers in a Operation Unit OU e.g. if the Icon Looks like this : 
dsquery computer -inactive 6 -limit 0 OU=Clients,DC=domain,DC=local (Add to stop it going further then the current folder) -scope onelevel
User Accounts
Find Old User accounts across the whole domain :
dsquery user domainroot -name * -inactive 6
VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Tags: Find Old Computer and User Accounts in Active Directory through DSQuery
Posted by paris on Jan 17, 2013 in
Fixes
When opening DSS player after modifying the registry or profile settings you might get the following error message
The application cannot be executed because the following Shell Folder defined in the registry cannot be found. Please contact the system administrator. Templates
In my case the following folder was not available
%appdata%\microsoft\windows\template
Recreating this folder fixed the problem. This error message might also display MyDocuments , So I would check the My Documents path in Olympus in the program if you can get in or the registry is set correctly. If not reinstalling should recreate this!
VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Tags: DSS Player, The application cannot be executed because the following Shell Folder defined in the registry cannot be found. Please contact the system administrator.
Posted by paris on Jan 17, 2013 in
Random
Recently we needed to add an address in the
“Do not use proxy server for addresses beginning with”
Setting’s in internet explorer. The box was greyed out via group policy , however this was just for a single user using a a remote citrix enviroment and didn’t have the time to roll it out through Group Policy.
Windows stores the entry in the following location :
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
“ProxyOverride”=
So open up regedit and modify the enteries via this key!
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Tags: do not use proxy server for address beginning with, group policy, registry