Showing posts with label Windows Faults. Show all posts
Showing posts with label Windows Faults. Show all posts

Tuesday, March 31, 2015

Removing the Windows update cache

 

If your Windows update is stuck, errors on install or does not download, you can install manually or remove the Windows Update cache and let Windows learn again.

Run ‘cmd’ as Administrator

Either from the command line run ‘net stop wuauserv’ or stop the service in services.msc.

Go to the %windir% folder

run the commad ‘rd /s SoftwareDistribution’ to delete the contents

Restart the wuauserv (Windows update) service.

Microsoft detail this here.

Hat tip to…

Monday, November 03, 2014

Citrix StoreFront 2.6 error on first use - ManagedPipelineHandler

 

If you get the error, on Windows Server 2008 R2:

HTTP Error 500.21 – Internal Server Error.
Handler "DefaultPageHandler" has a bad module "ManagedPipelineHandler" in its module list

image

Run the command:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i

To reinstall\re-register asp.net

image

Press F5 to refresh.

image

hat tip: http://discussions.citrix.com/topic/349746-storefront-25-installation-issuesplease-help/

Monday, July 21, 2014

How to install and use Citrix WebInterface 5.4 on Windows Server 2012 R2

 

Prepare your Windows Server 2012 r2

image

Install the following roles and features:

  • .NET Framework 3.5 Features
    • .NET Framework 3.5 (includes 2.0 and 3.0)

image

  • Web Server (IIS) with sub-components
  • Management Tools with sub-components
    • IIS 6 Management Compatibility
      IIS 6 Metabase Compatibility

image

Install Citrix WebInterface

  • install Microsoft Visual J# from the XenApp 6.5 installation media
  • Citrix WebInterface 5.4 from the XenApp installation media

After the installation is completed you can now open the Citrix WebInterface Management Console. At this point the installation will fail.

  • You can work around this issue by creating a text file named mmc.exe.config in %WinDir%\SYSWOW64 with this content:

<?xml version ="1.0"?>
<configuration>
        <startup>
                <requiredRuntime version="v2.0.50727"/>
                <supportedRuntime version="v2.0.50727"/>
        </startup>
</configuration>

  • Now in the Citrix WebInterface Management Console again and create the required sites

The file mmc.exe.config can cause issues with other tools, so remove it after you are done

  • Now correct the CitrixWebInterface5.4.0AppPool in IIS

If you try to access a new WebInterface site you will receive an error message about .NET complilation.

You can fix this for all sites on this server by changing the .NET Framework version for the Citrix application pool:

  1. Open Information Manager Service (IIS) Manager
  2. Open your server
  3. Open the Application Pools
  4. Edit Basic (or advanced) Settings on CitrixWebInterface5.4.0AppPool
  5. Chose .NET Framework Version v2.0.50727 (or Dot NET CRL 2.0 in advanced)

image

Thank you to Marcel Meurer, www.sepago.de/e/marcel/2012/09/25/how-to-install-and-use-citrix-webinterface-54-on-windows-server-2012 who I based this on.

Tuesday, April 23, 2013

Remove Missing Dependencies for SCVMM 2012 RC VHDs

 

Ran into this issue with SCVMMM2012 and I could not delete a VHD from my library as I had a series of items that were dependent on the VHD. I resolved the template issue by entering the following command from Powershell on the SCVMM server:

Get-SCVMTemplate | where {$_.Name -like "Temporary*"} | Remove-SCVMTemplate

The second issue will be identified by the following error when you attempt to delete the VHD:

The library object (VHDNAME) cannot be removed because following objects are dependent on it:

Virtual Hard Disk deployment configuration

Thanks to Ryan Holt for this (http://www.ryanholt.net/2012/02/07/quick-tip-remove-missing-dependencies-for-scvmm-2012-rc-vhds/) and @TheChadVent for the tip.

Sunday, April 14, 2013

System Center [sic] App Controller Certificate Import Error

 

I get this error when using a W2K12 Cluster File Server for a Library Server in SCVMM 2012 SP1…

 

Export of the library server certificate from the VMM server has failed for library server %clustered library server%. In order to perform this operation, you must be an Administrator in both Virtual Machine Manager and App Controller, and also a local Administrator on the server. (StatusCode: Microsoft.SystemCenter.CloudManager.Providers.ProviderException)

and

An internal error has occurred trying to contact an agent on the NO_PARAM server: NO_PARAM: NO_PARAM.
Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent. (StatusCode: Microsoft.VirtualManager.Utils.CarmineException)

image

You we have some steps you can use to manually import the missing certificates.

  1. Open MMC (Start -> Run -> MMC)
  2. Add the certificate snap-in and select Computer account and specify your VMM server
  3. Add the certificate snap-in and select Computer account and specify your App Controller server
  4. Expand the Trusted People\Certificates folder for the App Controller server
  5. Browse to the Trusted People\Certificates folder for the VMM server
  6. Make sure you're looking in the Friendly Name column for the certificates
  7. Find the certificates that start with SCVMM_CERTIFICATE_KEY_CONTAINER and then has the FQDN of the library cluster nodes
    You only need the certificates for the library server - you don't need any of the certificates for the Hyper-V hosts
  8. Copy the certificates to the Trusted People\Certificates folder on the App Controller server

If you previously had success importing certificates, you might find that some of the library certificates are already present. You do not need to recopy these certificates - just the missing certificates for the library servers.

On the VMM server you will see a certificate for each of your host computers - you do NOT need to copy these certificates.

http://social.technet.microsoft.com/Forums/en-US/appcontroller/thread/48b86539-5a8e-4909-87a2-4eb97564ffff 

 

<DaveColvin>

All I have to say is ‘cool story Bro, tell it again’. Yep this did not work for me and I ended up creating a new W2K12 Server and presenting the storage that way… But it look good heh?

</DaveColvin>

Monday, April 08, 2013

Server 2012 Phone Activation

Hi Server,

Let me choose somewhere other than Afghanistan… That’d be great.

image

BTW Phone Australia on 13 20 58 Option 3 then option 1…

Friday, March 22, 2013

Duplicate SIDs in on multiple Cluster Nodes

 

I was working on a two node w2k8 R2 cluster running in VMware ESX 5.1, running SQL 2008 and a bunch of other services, the disks were local and also RDMs out to iSCSI NetApp disks. The system had been running for about three months, but started acting weird… yep just weird.

You could logon with a domain cache credential, but there was no ‘LogonServer’ but when you did you get a temporary profile.

image

Services that had a domain service account that needed a profile would fail.

A local logon with Administrator would fail with a ‘the Group Policy service failed the logon. Access is denied’.

image

The issue turned out to be the first server was cloned to the second server and both had the same SID. This caused account and domain connection issues and looked like file corruption, virus issues, and got progressively worse, to the point you could not add/remove programs due to ‘appdata’ issues and finally the two servers we cut loose and rebuilt.

I have also been told of SQL server and FIM Portal 2010 that all have problem with this, so maybe a worthwhile check from time to time access environments… A quick powershell would be handy Winking smile

 

Article on fixing Windows profiles.
http://www.sysprobs.com/fix-temporary-profile-windows-7

Why SIDs should matter. http://blogs.technet.com/b/markrussinovich/archive/2009/11/03/3291024.aspx

Thursday, March 14, 2013

Installing SQL Server 2012 on Server 2012 error

 

Error while enabling Windows feature NetFX3 Error Code -2146498298

image

Thanks to my mate Tony to Install netfx3

Mount Windows 2012 ISO/DVD

open a command prompt and issue the command:

 

dism /online /enable-feature /featurename:netfx3 /all /source:d:\sources\sxs

An you are ready to try again.

image

 

Of course if you need a GUI here is how (hat tip to Scott):

kickthatcomputer.wordpress.com/2013/03/02/installing-dotnet-3-5-on-windows-8-and-server-2012/

Monday, December 24, 2012

Windows password recovery USB

 

Most of these providers are going to payed supply and the instructions are awful. Here is the best one I found and used the other day.

Full web site: http://pogostick.net/~pnh/ntpasswd/ 

Download files for USB install usb110511.zip (~3MB) (md5sum: 50ced8d2a5febe22199f99acec74e63b)

How to make an bootable USB drive

Get a soon to be blank USB

Copy the files from the above usb*.zip onto the USB drive root folder

either as root or via sudo, use disk utility or df or any other utility to find the usb drive name (generally /dev/sdb1)

unmount the drive if it mounted, either as root or via sudo,

syslinux.exe –ma /dev/sdb1

Boot and away you go..

image

Monday, July 23, 2012

SCCM Client–No programs are available from a Terminal Services Sessions

 

User occasionally see this error when they try an run advertised programs with SCCM 2007 (on a Windows 7 PC, not a terminal server). This is generally just a timing issue due to rebooting and if needed you can train the users to wait, or go into the control panel and update the machine policy.

Here is the error.

SCCM after reboot

This is a policy refresh.

SCCM Policy

After the SCCM policy refresh, the applications appear.

SCM updates

Users are back up and running… Joy

SCCM install

Thursday, July 05, 2012

alternateBrowserExists: automation server…

There is a web server on site that throws this error on first connection:

An error has occurred in alternateBrowserExists: automation server can’t create object.

To resolve it I need to ENABLE the initialize and script active X for the Trusted Sites Zone (if it is a trusted site).

 

image

clip_image001

Thursday, June 28, 2012

Windows CA Error - The revocation server is offline 0x80092013

 

If you are trying to start a CA and getting the error, The revocation server is offline 0x80092013

image

There is a CERTUTIL command to fix this, or at least stop it caring !

Run following command on the affected CA server.

certutil –setreg ca\CRLFlags +CRLF_REVCHECK_IGNORE_OFFLINE

image

And restart the CA.

Monday, April 30, 2012

LabelFlexGrid.Initialize

Object doesn’t support the property or method

image

This obscure error was caused by a mix of OCX (vb6 support files) that were installed on a W2K3 server. To fix this particular issue I removed all the OCXs from the server, installed a new VM, SP2’ed it, copied over the OCXs and registered them all again using the DOS command.

CD \Windows\System32
for %f in (*.ocx) do regsvr32 %f

And the app will live again for another day… I wish it would go away…

Thursday, March 22, 2012

Created the wrong DHCP option type?

 

Never fear the NETSC command will help you…

So you created the scope and choose WORD. nice.

image

But you wanted STRING.. doh.

image

And of course it cant be changed. But go to a CMD prompt and away we go.

Open a CMD window…

Run netsh

dhcp server 10.0.0.1

Command completed successfully.

delete optiondef 60

Command completed successfully.

Reload the server manager to re-read this information and you can start again.

Monday, March 19, 2012

App-V RDS not running locally W2K3

 

If you are testing App-V then you are likely to use the local installed package (ie an sequences application that has been created as an MSI that you install and run without a streaming server or remote share or SCCM server).

This works fine on (in my case, all terminal servers nah RDS servers) W2K8 x86 and W2K8r2 but on W2K3 x86 I would get the same error over an over. “A network connection was not detected”.

image

I tried the RDS client 4.5, 4.6, 4.6 sp1 and hotfix 1/3/4. All the same. Then I removed it, rebooted and reinstalled the 4.6 client using this command line to install it:

“Stand-Alone Client for use With Streaming”

Setup.exe /s /v"/qn SWICACHESIZE=\"12144\" SWISKIPDATASETTINGS=\"false\" SWIGLOBALDATA=\"C:\AppVirt\Global\" SWIUSERDATA=\"^%APPDATA^%\" SWIFSDRIVE=\"Q:\" REQUIREAUTHORIZATIONIFCACHED=\"0\" ALLOWINDEPENDENTSTREAMING=\"1\" AUTOLOADONLAUNCH=\"1\" AUTOLOADONLOGIN=\"0\" "

As you see above in bold the allow independent streaming was set but it did not work, it should have be set to ‘1’. But it gave the error that "you do not have sufficient permissions to stream from a file" Shown below.

app-v file

To fix this go to the registry and set the following:

HKLM\SOFTWARE\Microsoft\SoftGrid\4.5\Client\Configuration and change the value "AllowIndependentFileStreaming" value to 1.

And then it works fine.

 

ME:
https://twitter.com/DaveColvin
http://davestechnology.blogspot.com.au
https://facebook.com/DaveColvin
https://plus.google.com/u/0/108931920885627816138
http://XPFalcon.com

Tuesday, October 11, 2011

Windows 7– lost thumbnail view

This has been killing me, but I found the answer, sorry I can’t credit the original poster.

  1. Open Control Panel
  2. Choose Folder Options
  3. Click the Views tab
  4. Uncheck "Always show Icons, never thumbnails"
  5. Uncheck "Display file icon on thumbnails"
  6. Click Reset Folders button.

Thank goodness !

Thursday, April 28, 2011

PCNFCFG deleteTarget /N:name & Error deleting the target

 

pcnscfg list shows a target which is wrong but cannot be changed or deleted.

Error message from pcnscfg: Error deleting the target. The target was not found.

This target listed causes PCNS to target this server to sent the passwords to but it can't find it and gives me a 6025 error in eventviewer.

Open ADSIEDIT.MSC

Open the domain, select new Query

Name the query, the query string is ObjectClass=MS-MIIS-PCNS-Target

Find the target, right click and delete.

Restart PCNS and try again.

Hat-tip: http://social.technet.microsoft.com/Forums/en/identitylifecyclemanager/thread/80e13fb6-a09d-4bfa-b70f-e664ec4c0074

Error: The zone cannot be created. A conditional forwarding zone already exists for that name.

 

I tried to create a secondary DNS zone, but I received the following error: The zone cannot be created. A conditional forwarding zone already exists for that name.

  • Connect to the domain controller.
  • Go to Start > Run > Dnsmgmt.msc
  • Point to the server’s name > Properties > Forwarders ,and remove the domain  that you are trying to create the secondary DNS zone.
  • Re-create the zone from the start.

Thanks to: http://vvirtual.wordpress.com/2010/09/28/error-the-zone-cannot-be-created-a-conditional-forwarding-zone-already-exists-for-that-name/

Blog Archive