Cleanup windows 7 disk

To cleanup a disk and remove unused programs start cleanmgr.exe. This small program scans your disk and gives you a choice of items to select from like temporary files, servicepack sources etc.

Posted in Uncategorized | Tagged , | Comments Off on Cleanup windows 7 disk

USR8200 FTP disk problem

Adding an USB storage device to my USR8200 Router ended up with two errors.

  1. mount error
  2. disk full

Problem 1 mount error

The system log showed the following error even after formating the device using USR8200.

daemon.warn Failed to mount device
kern.warn EXT2-fs warning (device sd(8,1)): ext2_read_super: mounting ext3
filesystem as ext2

After trying to preformat the disk or memory stick using XP, Windows 2008 R2 or cleaning the disk with diskpart I finaly got the idea to preformat an USB stick using my QNAP NAS . And it worked.

So here what you have to do:

  1. Create a partition of the size you need using your PC
  2. attach the disk to your QNAP NAS if you have one.
  3. reformat the partition using ext3
  4. detach your disk and connect it to USR8200 (it shows up as linux)
  5. Reformat the disk using ext2 on your USR8200

Problem 2 Disk full

The system log showed the following error while I tried to upload a few test files.

daemon.info rg_system_full:

After looking closer at my FTP command line I recogniced the test folder I created was placed at the system root not within the new added disk subfolder. So i saved all files into the USR8200 it self and there is not a lot of space left.

So the problem is that like other “sealed” linux devices like some QNAP systems, USR8200 places your start position after a login by FTP straight at the root the device. This means, it i not usable for access by other people the your self.

Posted in Uncategorized | Tagged , , | Comments Off on USR8200 FTP disk problem

SCOM Domain Controller greyed out

Possible problems are:

1. HSLockdown has SYSTEM in denied list.
– run : HSlockdown <ManagementGroupName> /R “NT AUTHORITY\SYSTEM”

2. Operations Manager Event log shows Error
 Source: Health Service Script
 Event ID: 10
 Message: AD MP DC Local Discovery : Active Directory Helper Objects Installation unsuccessful. MSI was not found at the specified location

– Uninstall Active Directory Management Pack Helper Object
– copy OOMADs.msi nad MOMAspNet.MSI from SCOM Source to “C:\Program Files\System Center Operations Manager 2007\HelperObjects”
– Run OOMADs.msi
– Restart HealthService

Posted in Information Technology | Tagged , , | Comments Off on SCOM Domain Controller greyed out

Certificate default 2 years valid

Problem:

Microsoft CA is set by default to maximum 2 years certificate validity . So you can’t create a template with  a certificate valid more then 2 years, However, i needed a certificate wirh 10 years .

Solution:

To extend this for your own CA , edit the following registry key and restart the CA service.

KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CertSvc\Configuration\<CA Name>\ValidityPeriodUnits

Posted in Information Technology | Tagged | Comments Off on Certificate default 2 years valid

CKEditor changes Vbscript code

Problem:

After installing CKEditor Pluging, all my vbscript code displayed by WP-CodeBox  in my Posts showed up with converted & and > or <. One time editing was enough to change the code.

Information:

WP-CodeBox is working with a <pre> and </pre> tag encasing the script to display

Solution:

edit CKEditor – configuration file ckeditor.config.js and add the following line

config.protectedSource.push( /<pre[\s\S]*?pre>/g ); // for WP-CodeBox plugin

This way CKEditor ignores all text encased by WP-CodeBox  tags.

Lines for other application code

config.protectedSource.push( /<\?[\s\S]*?\?>/g ); // PHP Code

config.protectedSource.push( /(]+>[\s|\S]*?<\/asp:[^\>]+>)|(]+\/>)/gi ); // ASP.Net Code

Posted in Information Technology | Tagged | Comments Off on CKEditor changes Vbscript code

Barcode EAN13 calculation with Excel

Download the excel-sheet using the link below

Posted in Uncategorized | Comments Off on Barcode EAN13 calculation with Excel

IPv4 special ranges

Private IP

  • 10.0.0.0/8
  • 172.16.0.0./12
  • 192.168.0.0./16

APIPA

  • 169.254.0.0/16

Multicasting

  • 224.0.0.0/4

Local Host

  • 127.0.0.1
Posted in Education, Information Technology | Tagged | Comments Off on IPv4 special ranges