DelinvFile – Delete Invalid Files and Folders

Windows allows the creation of file names and folder names that can not be deleted or renamed via Windows Explorer.  This includes names with invalid characters and names that are too long. The current limit is 260 characters.  In other words, windows can create names that are too long for the standard Windows Explorer to delete. When copying or deleting file the message: “Path too long” appears.

 

“DelinvFile.exe” is a Windows program that provides a convenient User Interface for selecting the file that you need to delete and provides for a choice of two delete methods. You use the standard controls for Drives, Folders, and Files to navigate to the Folder and Select the file to be deleted.

 

A trial version is available. See http://www.purgeie.com/delinv/

divfscrn

The Windows Server Update Services console crashes when browsing for updates

The Windows Server Update Services (WSUS) console crashes when browsing for updates and displays the following error message:

error

An unexpected error occurred. 
click reset server node to try to connect to the server again

 

This can occur if the application cache is corrupted.

To resolve this issue, delete the WSUS application cache from the location below:

C:\Documents and Settings\<user profile>\application data\microsoft\mmc

where user profile is the currently logged in user profile.

 

source: http://support.microsoft.com/kb/2761925

Default x.509 Certificates Have Longer Key Length

Openening a java application fails with the following error (Failed to validate certificate):

 

Untitled

 

 

Starting from 7u40, the use of x.509 certificates with RSA keys less than 1024 bits in length is restricted. This restriction is applied via the Java Security property, jdk.certpath.disabledAlgorithms. The default value of jdk.certpath.disabledAlgorithms is now as follows:

jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024

In order to avoid the compatibility issue, users who use X.509 certificates with RSA keys less than 1024 bits, are recommended to update their certificates with stronger keys. As a workaround, at their own risk, users can adjust the key size to permit smaller key sizes through the security property jdk.certpath.disabledAlgorithms.

 

Open the java.security file which is located in your client machine’s Java/JRE installed directory (e.g. C:\Program Files (x86)\Java\jre7\lib\security)

Look for this line:

jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024

Change 1024 to 256 and save.

Now you can open the java application.

 

It looks like every java updates reset this parameter to 1024 so you need to change it to 256 each time you have upgraded java.

Dell: How to install Server Administrator on Windows 2012 Server Core Edition

Do the following to install Server Administrator on a Server Core. Once installed, you can launch OMSA using a supported remote browser.

1. Enable WOW component. Run the following command from the Server Core command prompt:

 dism /online /enable-feature /featurename:ServerCore-WOW64

2. Install x64 Server Administrator. Run the following command to install

Msiexec /i SysMgmtx64.msi

3. Disable WOW: Run the following command to disable WOW feature.

 dism /online /disable-feature /featurename:ServerCore-WOW64

4. Reboot the system.

Note: Disabling or enabling the WOW component would require system reboot.

5. Server Administrator is installed. You can launch the Server Administrator from a remote device as Server Core does not have the user interface

Monitoring Dell Servers in HP Systems Insight Manager

Monitoring Dell Servers in HP Systems Insight Manager

This post explains the details of managing Dell Servers with HP Systems Insight Manager(HPSIM) and enabling SNMP Traps support. The server MIB files “10892.mib” and “dcstorag.mib” can be used for monitoring the Dell Servers in an environment managed by HPSIM.

 

Managed Node Pre-Requisites

 

         Installing the OpenManage Server Administrator

            The Dell Server should be installed with the Server Administrator Software to enable the monitoring. The Server Administrator software comes with the installation DVD and the details for the installation and configuration of the OpenManage Server Administrator is available in support.dell.com manuals.

     Configuring the SNMP Service

            The SNMP Service needs to be configured in the Server to enable the SNMP communication between the Dell Server and HPSIM. To enable the traps to be forwarded to the HP SIM server the SNMP Trap destination needs to be configured properly with the HP SIM Server IP Address. The details for the SNMP configuration configuration is available in the Server Administrator documents in support.dell.com.

The current latest version can be downloaded from support.dell.com :
http://support.dell.com/support/edocs/software/svradmin/7.1/en/index.htm

Loading the Dell MIBs in HPSIM

            The Dell Server MIB files are available with the Server Administrator DVD and also the MIBs can be downloaded from support.dell.com.

 

  • Uploading he MIBs:

Uploading the MIBs is simply copying the MIBs from the downloaded folder to the \Program Files\HP\Systems Insight Manager\mibs folder

  1.  Copy “10892.mib” to \Program Files\HP\Systems Insight Manager\mibs
  2.  Copy “dcstorag.mib” to \Program Files\HP\Systems Insight Manager\mibs

Note – As HPSIM generates an error when a MIB has a filename that contains only    numbers, rename “10892.mib” to “new10892.mib”, and for consistency also rename to “dcstorag.mib” to “newdcstorag.mib”.

  • Compiling the MIBs:

The MIBs needs to be compiled to generate the intermediate .cfg file which can be used to register the MIBs in HP SIM.

  1. Open a command window (cmd.exe)
  2.  Change the working directory to \Program Files\HP\Systems Insight Manager\mibs.
  3. Enter the command “mcompile new10892.mib”. The MIB should compile and return the message “Mib Compilation completed successfully”.
  4. Enter the command “newdcstorag.mib”. The MIB should compile and return the message “Mib Compilation completed successfully”.
  • Registering the MIBs:

 

Register the Server MIB files as follows:

  1. Enter the command “mxmib -a new10892.cfg”. The MIB should register and return the message “COMMAND COMPLETED SUCCESSFULLY”.
  2. Enter the command “mxmib -a newdcstorag.cfg”. The MIB should register and return the message “COMMAND COMPLETED SUCCESSFULLY”.

HPSIM – System Type Manager

The System Type Manager is used to define the rules to identify the different systems in HP SIM. The steps used to configure the System Type Manager to recognize a Dell Server are as follows:

Dell Windows Server

  1. Login to HPSIM.
  2. Select Options ‐> Manage System Types.
  3. Click the New… button. The New Rule pane will open below.
  4. Beside System object identifier click the Retrieve from system… button. The Retrieve from system pane will appear below the current pane.
  5. Enter the hostname or IP address of the target Dell system in the Target hostname or IP address text box.
  6. Click Get Response. Note that the response value of “1.3.6.1.4.1.311.1.1.3.1.2” is displayed below.
      • Figure 1
  7. Click the OK button to accept this value and return to the New rule pane.
  8. Beside MIB variable object identifier enter the OID for the Server MIB Attribute “systemManagementSoftwareName” value as “.1.3.6.1.4.1.674.10892.1.100.1”.
      • Figure 2
  9. Beside Object Value click on “Retrieve from System”
  10. Click Get Response. Note that the response value of “Server Administrator” is displayed below. This is the OpenManage Server Administrator software name retrieved from the Dell Server.
      • Figure 3
  11. Click the OK button to accept this value and return to the New rule pane.
  12. Beside Compare rule select Match.
  13. Beside System Type select Server.
  14. Beside Subtype select “Dell”.
  15. Beside Product model enter “Dell Windows Server”.
  16. Leave the Custom management page field blank and click the OK button.

Dell Linux Server

  1. Login to HPSIM.
  2. Select Options ‐> Manage System Types.
  3. Click the New… button. The New Rule pane will open below.
  4. Beside System object identifier click the Retrieve from system… button. The Retrieve from system pane will appear below the current pane.
  5. Enter the hostname or IP address of the target Dell system in the Target hostname or IP address text box.
  6. Click Get Response. Note that the response value of “1.3.6.1.4.1.8072.3.2.10” is displayed below.
      • Figure 4 
  7. Click the OK button to accept this value and return to the New rule pane.
  8. Beside MIB variable object identifier enter the OID for the Server MIB Attribute “systemManagementSoftwareName” value as “.1.3.6.1.4.1.674.10892.1.100.1”.
  9. Beside Object Value click on “Retrieve from System”
  10. Click Get Response. Note that the response value of “Server Administrator” is displayed below. This is the OpenManage Server Administrator software name retrieved from the Dell Server.
  11. Click the OK button to accept this value and return to the New rule pane.
  12. Beside Compare rule select Match.
  13. Beside System Type select Server.
  14. Beside Subtype select “Dell”.
  15. Beside Product model enter “Dell Linux Server”.
  16. Leave the Custom management page field blank and click the OK button.

Discovering Dell Servers

Once the Dell Server system type has been configured in the HP SIM, the Dell Servers can be properly discovered in HP SIM.

 

  • Global Protocol Settings:

The SNMP settings can be changed as follows:

  • Click Options ‐> Protocol Settings ‐> Global Protocol Settings. The Global Protocol Settings window will appear.
      • Figure 5 
  • Scroll down to the Default SNMP settings section and click on “Global Credentials” and Verify that the required community strings is configured and click on OK button to save the changes.
    • Figure 6

 

  • Discovering Dell Servers:

 

    • Click Options ‐> Discovery. The Discovery summary page will be displayed.
      • Figure 7

 

 

    • Click on New button, the Discovery options page will be shown.
    • Select the Discovery option “Discover a Single System” and enter the name for the discovery option and enter the IPAddress of the Dell Server.     Note – Also the Group discovery can be used to discover multiple servers.
      • Figure 8

 

 

    • Click on Save button to save and accept the changes.

i.        Once the discovery rule is saved, Click on “Run Now” option to execute the discovery Rule. The Discovered Dell Server will be shown as

      • Figure 9

 

ii.        The “Tools and Links” tab contains the link to launch the OpenManage Sever Administrator Console for Dell Servers.

      • Figure 10

 

 

iii.        The Events tab will List the associated events with the corresponding Dell Server.

      • Figure 11

 

  • Testing Dell Server SNMP Traps:

 

    • Log on to Dell Server OpenManage Server Administrator console by clicking on the “openmanage” link from “Tools and Links” tab.
    • Navigate to the Temperature page in Main System under Server Module in the left-side navigation tree
      • Figure 12

 

 

    • Click on the “System Board Ambient Temperature” in the right-side navigation pane.
    • The Properties page tab will be displayed and select “Set to Values” option and set a value higher than the current Temperature reading to simulate the Warning alert for Temperature.
      • Figure 13
    • Click on Apply option to save the changes and verify that the Temperature status has been changed to Warning.
      • Figure 14

 

    • Navigate to the Events Tab in the HP SIM and the Temperature Alert should be shown in the Events page.
      • figure 15

The Server Administrator SNMP Traps details are documented in the Message Reference guide and can be downloaded from support.dell.com.

Appendix

MIB Files

#

MIB

MIB Filename

Description

1 Server Administrator Instrumentation MIB 10892.mib The Server Administrator Instrumentation MIB provides

instrumentation data that allows you to monitor the health of a system with

SNMP management applications. It provides:

• Information about the status of temperatures, power supplies, voltages,

currents, fans, and memory at key points in the system

• Rapid access to detailed fault and performance information gathered by

industry standard systems management agents

• Version information for Basic Input/Output System (BIOS), firmware, and operating system

• A detailed account of every cost of ownership (COO) detail about your system

In addition, traps are sent to report a change in status of the health of critical components.

2 Server Administrator Storage Management MIB dcstorag.mib The Server Administrator Storage Management MIB provides storage management data that allows you to monitor the health of storage resources with SNMP management applications.

 

If interested to know about Monitoring Dell Servers using HP Operations Manager for Windows, please refer to the Dell SPI white paper here

 

source: http://en.community.dell.com/techcenter/systems-management/w/wiki/3891.monitoring-dell-servers-in-hp-systems-insight-manager.aspx

Dell Client System Update Application

This package provides the application for Dell Client System Update and is supported on Optiplex, Tablet, Precision and Latitude models that are running the following Windows Operating Systems: XP, VISTA (32/64-bit), Windows 7 (32/64-bit) and Windows 8 (32/64-bit).

1.Dell Client System Update 1×1 Tool is a stand-alone application that provides a Windows Update like experience for Dell Business Client platforms.
2.The application provides the ability to retrieve and update systems software released by Dell.
Note: The updates offered and provided by this tool may be a subset of the updates offered on Dell’s support website.

link: http://www.dell.com/support/drivers/us/en/19/driverdetails?driverid=MJH8R

CLI uninstall Powerchute Business Edition from Windows 2012 Core

Run the following command to deinstall PBE from the Command Line Interface

 

PowerChute Business Edition Agent:

“C:\Program Files (x86)\InstallShield Installation Information\{BCE9F441-9027-4911-82E0-5FB28057897D}\setup.exe” -runfromtemp -l0x0409 AnyText -removeonly

PowerChute Business Edition Server:

“C:\Program Files (x86)\InstallShield Installation Information\{A6491A4A-AAA0-4892-BFEF-ECD6CECE2FF3}\setup.exe” -runfromtemp -l0x0409 AnyText -removeonly

PowerChute Business Edition Console:

“C:\Program Files (x86)\InstallShield Installation Information\{0F86FD09-BA63-4E45-A70B-604C1106C2F2}\setup.exe” -runfromtemp -l0x0409 AnyText -removeonly

 

The corresponding directories in “C:\Program Files (x86)\InstallShield Installation Information” could also be removed

Excel – Count colored cells

Copy and paste the following code into you VBA project (alt+f10 in excel)

 

Public Function cell_colour(Cell_Check As Range) As Long
cell_colour = Cell_Check.Interior.Color
End Function

Public Function count_colour(Count_Range As Range, Colour As Long) As Long
Dim x As Range
count_colour = 0
For Each x In Count_Range
If x.Interior.Color = Colour Then
count_colour = count_colour + 1
End If
Next x
End Function

 

With the formula “count_colour(B1:B10;cell_colour($A$1))” you can count the colorourd cells in B1 to B10 with the same colour as the cell in A1

KMS Client Setup Keys

Computers that are running volume licensing editions of Windows 8, Windows Server 2012, Windows 7, Windows Server 2008 R2, Windows Vista, and Windows Server 2008 are, by default, KMS clients with no additional configuration needed.

If you are converting a computer from a KMS host, MAK, or retail edition of Windows to a KMS client, install the applicable setup key (GVLK) from the following tables

To install a client setup key, open an administrative command prompt on the client, type slmgr /ipk <setup key> and press ENTER.

Operating system edition KMS Client Setup Key
Windows 8 Professional NG4HW-VH26C-733KW-K6F98-J8CK4
Windows 8 Professional N XCVCF-2NXM9-723PB-MHCB7-2RYQQ
Windows 8 Enterprise 32JNW-9KQ84-P47T8-D8GGY-CWCK7
Windows 8 Enterprise N JMNMF-RHW7P-DMY6X-RF3DR-X2BQT
Windows Server 2012 Core BN3D2-R7TKB-3YPBD-8DRP2-27GG4
Windows Server 2012 Core N 8N2M2-HWPGY-7PGT9-HGDD8-GVGGY
Windows Server 2012 Core Single Language 2WN2H-YGCQR-KFX6K-CD6TF-84YXQ
Windows Server 2012 Core Country Specific 4K36P-JN4VD-GDC6V-KDT89-DYFKP
Windows Server 2012 Server Standard XC9B7-NBPP2-83J2H-RHMBY-92BT4
Windows Server 2012 Standard Core XC9B7-NBPP2-83J2H-RHMBY-92BT4
Windows Server 2012 MultiPoint Standard HM7DN-YVMH3-46JC3-XYTG7-CYQJJ
Windows Server 2012 MultiPoint Premium XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G
Windows Server 2012 Datacenter 48HP8-DN98B-MYWDG-T2DCC-8W83P
Windows Server 2012 Datacenter Core 48HP8-DN98B-MYWDG-T2DCC-8W83P
Operating system edition KMS Client Setup Key
Windows 7 Professional FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
Windows 7 Professional N MRPKT-YTG23-K7D7T-X2JMM-QY7MG
Windows 7 Professional E W82YF-2Q76Y-63HXB-FGJG9-GF7QX
Windows 7 Enterprise 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
Windows 7 Enterprise N YDRBP-3D83W-TY26F-D46B2-XCKRJ
Windows 7 Enterprise E C29WB-22CC8-VJ326-GHFJW-H9DH4
Windows Server 2008 R2 Web 6TPJF-RBVHG-WBW2R-86QPH-6RTM4
Windows Server 2008 R2 HPC edition TT8MH-CG224-D3D7Q-498W2-9QCTX
Windows Server 2008 R2 Standard YC6KT-GKW9T-YTKYR-T4X34-R7VHC
Windows Server 2008 R2 Enterprise 489J6-VHDMP-X63PK-3K798-CPX3Y
Windows Server 2008 R2 Datacenter 74YFP-3QFB3-KQT8W-PMXWJ-7M648
Windows Server 2008 R2 for Itanium-based Systems GT63C-RJFQ3-4GMB6-BRFB9-CB83V
Operating system edition KMS Client Setup Key
Windows Vista Business YFKBB-PQJJV-G996G-VWGXY-2V3X8
Windows Vista Business N HMBQG-8H2RH-C77VX-27R82-VMQBT
Windows Vista Enterprise VKK3X-68KWM-X2YGT-QR4M6-4BWMV
Windows Vista Enterprise N VTC42-BM838-43QHV-84HX6-XJXKV
Windows Web Server 2008 WYR28-R7TFJ-3X2YQ-YCY4H-M249D
Windows Server 2008 Standard TM24T-X9RMF-VWXK6-X8JC9-BFGM2
Windows Server 2008 Standard without Hyper-V W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ
Windows Server 2008 Enterprise YQGMW-MPWTJ-34KDK-48M3W-X4Q6V
Windows Server 2008 Enterprise without Hyper-V 39BXF-X8Q23-P2WWT-38T2F-G3FPG
Windows Server 2008 HPC RCTX3-KWVHP-BR6TB-RB6DM-6X7HP
Windows Server 2008 Datacenter 7M67G-PC374-GR742-YH8V4-TCBY3
Windows Server 2008 Datacenter without Hyper-V 22XQ2-VRXRG-P8D42-K34TD-G3QQC
Windows Server 2008 for Itanium-Based Systems 4DWFP-JF3DJ-B7DTH-78FJB-PDRHK

 

source: http://technet.microsoft.com/en-us/library/jj612867.aspx