Archive for the ‘Windows’ Category

System error 2148073478 has occurred.

Tuesday, January 15th, 2013

As we start to play with Windows 8 in our environment; we run into many new things. One such issue was trying to mount a network drive from a Netapp Filer.

We issued the command and received the following error:

System error 2148073478 has occurred.

A quick check at Microsoft showed this was due to Windows 8 and Server 2012 now using “secure negotiate” in their use of SMBv3. This requires servers using SMBv2 (which the filer in question uses) to use a signed response for all error messages which some filers don’t use and it causes the connection to fail.

The suggested resolution was to get the third party vendor to provide an update which in this case was not possible as it’s a “Release Candidate” at this time. This is not always the best thing to run in a production environment. Especially, for only a couple clients that are being used to test the new operating system versus having a genuine need.

The other option was to perform a registry edit via PowerShell to disable the “secure negotiate” on Windows 8.

I opened the PowerShell window and pasted:

Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters” RequireSecureNegotiate -Value 0 -Force

But, it didn’t work.  I received this nice little message:

> Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Serv
ces\LanmanWorkstation\Parameters" RequireSecureNegotiate -Value 0 -Force
Set-ItemProperty : Requested registry access is not allowed.
At line:1 char:1
+ Set-ItemProperty -Path
"HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstatio ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : PermissionDenied: (HKEY_LOCAL_MACH...tion\Parame
   ters:String) [Set-ItemProperty], SecurityException
    + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.Powe
   rShell.Commands.SetItemPropertyCommand

One of the things to remember is Microsoft is trying to be more secure with such things. Being a local administrator isn’t what is used to be.

The way around this was to right-click the tile for powershell (I have the administrative tools displayed on the desktop).  This made a check appear on the tile and a menu appear at the bottom of the screen.  On that menu was the option to “run as administrator”

I clicked the option and was able to run the command.

After that; I was able to mount shares from the filer.

Windows 8 Administrative menu

Sunday, January 13th, 2013

Windows 8 is almost a treasure hunt to find the old menus. One missing menu is the Administrative menu. To get a quick display of available administrative tools:

  1. Move the cursor to the bottom left corner where you should see a thumbnail of the metro desktop.
  2. Right-click on it.
  3. You will get a menu of the most common tools such as task manager and the cmd window.

 

Display Windows 8 Administrative tools

Saturday, January 12th, 2013

The new Metro interface of windows 8 can be intimidating at first.  Especially, when all the usual tools are missing. They aren’t missing just hidden or in a different place.

One such set of tools are the old Administrative tools.  These can be enabled and will show up as their own set of tiles.

To display administrative tools:

  1. Move the cursor to the upper/lower right part of the screen and click Settings.
  2. Under settings; click Tiles
  3. You will see Show Administrative Tools and under that it will read No
  4. Click the bar to the right of no which will move the slider to the other side and No will change to Yes
  5. Click anywhere on the Metro field which will close the menu and the tiles for Administrative Tools will appear.

This will cover most needs as you test out Windows 8. Once you are comfortable, you can of course change the display back and create your own set of tiles for tools you frequently use.

How to show hidden files in Windows 2008

Friday, January 11th, 2013

Every major release of an OS brings changes to the layout. Such is the case of showing hidden folders on server 2008.

To enable hidden folder:

  • Open the C drive and look to the left for the organize menu.
  • Click it and select Folder and search options
  • Click the View tab.
  • Click the circle for Show hidden files, folders, and drives.
  • Click OK

The hidden folders and files will now appear.

Where is the command window in Windows 8?

Thursday, January 10th, 2013

Windows 8 is a massive change on the user interface.  Many of the things we took for granted are no longer where they used to be.

One such feature is the trusty option for the CMD window in the start menu.

It’s rather easy to get one actually.

Simply type cmd on the main user interface and this will bring up the search apps menu and it will highlight a box on the ui.

Either click the box or press enter and the screen will change to the familiar looking desktop with a command window opened.

I am told once you figure out windows 8, you will find it’s better then windows 7

Where is Hardware Management?

Sunday, December 30th, 2012

I was tasked with adding several machines to a network KVM switch. The HP servers run iLO for remote management functions and they easily installed. The DELL servers use DRAC which required work to get them configured. One DELL server didn’t have a DRAC card so I had to use IPMI.

The server ran Windows 2003 which does not automatically install the IPMI driver. This is accomplished through Add/Remove Programs

  • Click Start, Control Panel, Add/Remove Programs.
  • Click Add/Remove Windows Components.
  • From the component list, select Management and Monitoring Tools, and click Details.
  • Select Hardware Management.

 
Wait a minute! Where is the Hardware Management option?

It turns out this option is only available with the R2 version of Server 2003. A quick installation and the option was available.

Following the same steps as above, the next step is to click “Next”

The installation wizard will start and it will ask for the Windows Server 2003 R2 installation disk.

After it’s installed; it would be a good idea to verify installation as there is a technote and a hot fix to install if the IPMI driver does not appear.

To verify installation: 

  • Click Start, Control Panel, System.
  • Select the Hardware tab.
  • Click Device Manager.
  • Click View, Show Hidden Devices.
  • Expand System devices.

 
Look for Microsoft Generic IPMI Compliant Device. If it exists, it’s installed. If not, enter the following command:

rundll32 ipmisetp.dll, AddTheDevice

The device should appear. If not, you might need this hotfix.

Once the device is in place, we can go about configuring it.

I will present this in another post.

As always; the useful links:

Introduction

Microsoft
Opengear

Enabling

Microsoft

A firmware update is currently in progress. Unable to reset the RAC at this time.

Tuesday, December 18th, 2012

I was trying to add a couple old Dell servers to mergepoint for remote reboot capabilities. As I was configuring one, I received and interesting message when I attempted a : racadm racreset

ERROR: A firmware update is currently in progress. Unable to reset the RAC at this time.

I had upgraded the firmware and was rather concerned about this error. I really became concerned when I tried to get system information and received the following:

C:\>racadm getsysinfo

RAC Information:
RAC Date/Time = Mon Dec 17 15:24:44 2012
Firmware Version =
Firmware Build =
Last Firmware Update =
Hardware Version =
MAC Address = 00:11:22:33:44:55

Common settings:
Register DNS RAC Name =
DNS RAC Name =
Current DNS Domain =
Domain Name from DHCP =

IPv4 settings:
Enabled =
Current IP Address = 0.0.0.0
Current IP Gateway = 0.0.0.0
Current IP Netmask = 0.0.0.0
DHCP Enabled = 0
Current DNS Server 1 =
Current DNS Server 2 =
DNS Servers from DHCP =

IPv6 settings:
Enabled =
Current IP Address 1 =
Current IP Gateway = /
Autoconfig =
Link Local IP Address = /
Current IP Address 2 = /
Current IP Address 3 = /
Current IP Address 4 = /
Current IP Address 5 = /
Current IP Address 6 = /
Current IP Address 7 = /
Current IP Address 8 = /
Current IP Address 9 = /
Current IP Address 10 = /
Current IP Address 11 = /
Current IP Address 12 = /
Current IP Address 13 = /
Current IP Address 14 = /
Current IP Address 15 = /
DNS Servers from DHCPv6 =
Current DNS Server 1 =
Current DNS Server 2 =

System Information:
System Model =
System Revision =
System BIOS Version =
BMC Firmware Version = 01.23
Service Tag =
Express Svc Code =
Host Name =
OS Name =
Power Status = ON

Watchdog Information:
Recovery Action = None
Present countdown value = 300 seconds
Initial countdown value = 300 seconds

Embedded NIC MAC Addresses:
NIC1 Ethernet =
iSCSI =
NIC2 Ethernet =
iSCSI =
NIC3 Ethernet =
iSCSI =
NIC4 Ethernet =
iSCSI =

What was odd was the fact I could run the firmware upgrade without error and the card was talking to the Mergepoint.

I almost reported the card as bad but I had an epiphany and had a look at installed programs. There I found the OpenManage Server Administrator and Drac Toolkit. I uninstalled the Drac toolkit and received valid information from the Drac card.

Lesson of the day: Sometimes different versions of software which interface with a device can give false readings.

vbscript diskspace report

Sunday, November 25th, 2012
Found a nice little script which will check a system and report drive space.

In case the original link disappears; here it is.

Option Explicit

const strComputer = "."
const strReport = "c:\diskspace.txt"

Dim objWMIService, objItem, colItems
Dim strDriveType, strDiskSize, txt

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_LogicalDisk _
      WHERE DriveType=3")
txt = "Drive" & vbtab & "Size" & vbtab & "Used" & vbtab & "Free" _
      & vbtab & "Free(%)" & vbcrlf
For Each objItem in colItems
  DIM pctFreeSpace,strFreeSpace,strusedSpace

  pctFreeSpace = INT((objItem.FreeSpace / objItem.Size) * 1000)/10
  strDiskSize = Int(objItem.Size /1073741824) & "Gb"
  strFreeSpace = Int(objItem.FreeSpace /1073741824) & "Gb"
  strUsedSpace = Int((objItem.Size-objItem.FreeSpace)/1073741824) & "Gb"
  txt = txt & objItem.Name & vbtab & strDiskSize & vbtab & strUsedSpace _
        & vbTab & strFreeSpace & vbtab & pctFreeSpace & vbcrlf

Next

writeTextFile txt, strReport
wscript.echo "Report written to " & strReport & vbcrlf & vbcrlf & txt

' Procedure to write output to a text file
private sub writeTextFile(byval txt,byval strTextFilePath)
	Dim objFSO,objTextFile

	set objFSO = createobject("Scripting.FileSystemObject")

	set objTextFile = objFSO.CreateTextFile(strTextFilePath)

	objTextFile.Write(txt)

	objTextFile.Close
	SET objTextFile = nothing
end sub

Where is cleanmgr for server 2008 R2

Saturday, November 24th, 2012

I had a case of a drive filling up with nothing significant to delete and of course everybody needed everything. I decided to run disk cleanup to see if I could at least compress old files.

I entered:  cleanmgr

I was rewarded with a file not found message.

It turns out the Desktop Cleanup utility is not a default install with 2008. There are two ways you can install it.

The first would be to install the Desktop Experience feature which adds other missing desktop features. The problem with this approach is the system will need a reboot to finish the install.

The second would be to simply copy a couple files to appropriate locations.

Look in the winsxs folder for the following:

C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe

C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui

Simply copy:

Cleanmgr.exe to %systemroot%\System32

Cleanmgr.exe.mui to %systemroot%\System32\en-US

Now cleanmgr will function as expected.

This technote helped with the second option.

Citrix session screen flicker

Monday, November 19th, 2012

I had a user complain about screen flicker while trying to use tools on a server via remote desktop. The server in question was 32 bit windows 2003 running citrix presentation server 4.5. This was not wide spread so only the one server was having issues.

Searching the Net I found a technote at Microsoft which seem to address this issue.

I downloaded the hotfix, installed it and rebooted the server and the problem was solved.