Pages

Sunday, August 16, 2015

This could come in handy.


Preparing to configure Windows. Do not turn off your computer….
After uninstalling SMTP server feature on windows 2008 R2 Server, asked for restart, so restarted the Server and after long time ( approx 1 Hour wait) server has not restarted.
Ping was working fine, but RDP was not working.
On the server console below text was getting displayed.
Preparing to configure Windows. Do not turn off your computer.

https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa11.jpg?w=500

So done below tricks to make server operational.
  1. Taken remote of another server of which user name and password is same as of SERVER A
  2. Opened services.msc , connected to server A
  3. Come to know WINDOWS MODULES INSTALLER Service is in Stopping mode
And was not allowing to stop or start from services.msc of Server B

https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa21.png?w=500

  1. If we hardboot server , there was chance of windows OS crash.
  2. Opened properties of WINDOWS MODULES INSTALLER service to check for the command getting executed for this service

https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa31.png?w=500
https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa41.png?w=500
  1. The executable for the service was
C:\windows\servicing\trustedinstaller.exe
  1. Now searched for remote task manager and downloaded from
this tool allows to connect to remote system task manager

https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa51.png?w=500

  1. Right click on the above executable and select option kill
  2. The server was shown below screen
https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa61.jpg?w=500


5. And restarted the server

Note...this can be done without installing external software as well as follows:

sc \\computername queryex TrustedInstaller

taskkill /s computername /pid /f

or

From another computer used “taskkill /S hostname /IM trustedinstaller.exe”. 

Friday, May 08, 2015

How to change from Evaluation to the real stuff in Windows Server 2012 R2

Yes it is possible to perform with no strange tools at all. Before you start you need to have your product key (either a MAK or a KMS client key)

Step-by-Step

  • Start an elevated command or powershell prompt.
  • Execute “slmgr /dlv” to get information on the current status.
image
  • Execute “dism /online /get-currentedition” to get the current edition, it should be an Evaledition
image
image
  • Restart the server (it will reboot twice)
  • Done

Saturday, May 02, 2015

VIPRE Agent "Not Communicating" after 1 - 5 days



VIPRE admin console will start reporting agents with a status of "Not Communicating" after 1 - 5 days.  Restarting the computer will change the status from "Not Communicating" to "Protected" but the issue will come back anywhere from 1 - 5 days after the restart.  This is a known issue, and there are 2 ways to fix this:

1. Use the Private Release

Issue is fixed in a private release (VIPRE Agent 7.0.5746)

To apply the patch do the following.

1. Open the VIPRE Business Console
2. Open Site Properties and select "Updates"
3. Uncheck "Automatically download Agent Software Updates"
4. Apply the change, select OK, and close the Console
5. Stop the VIPRE Business Premium Site Service
6. Download the Private Release below:

Note To find out if you are running standard or premium, go to the list of agents, right-click on the affected machine and choose Agent Details.  Near the upper left, you will see the Agent Type.

7. Save & Replace the file(s) in the Volatile Data's SoftwareUpdate folder:
  • C:\ProgramData\VIPRE Business\SoftwareUpdate (Default)
8. Start the VIPRE Business Site Service

Once finished, deploy the Private Release agent to affected machines. 


2. Workaround: can be applied to 7.0.5711 and 7.05725 agent if upgrading is not desired.
  • Set AP to "Execution Only" (Confirm End-Users don't control AP
  • Ensure all Email Clients are Unchecked inside Email Protection 
  • Ensure Email Client Ports are both set to "0
  • Close all instances of Outlook and unregister VIPRE's "SBAMOutlook.dll" file 

Note: All users must have outlook closed to unregister "SBAMOutlook.dll"  If possible perform these steps when no one is logged into the machine.

Unregistering VIPRE's SBAMOutlook.dll:
  1. If possible: Log-out all other users 
  2. Close Outlook, if it's open 
  3. Open an Administrative Command Prompt 
  4. Change Directory to the Agent's Installation Folder 
  5. Run the following command: regsvr32 /u 'C:\Program files (x86)\VIPRE Business Agent\SBAMOutlook.dll" 


Note: There should be a dialog confirming success

Thursday, April 09, 2015

VOIP Dial Plans

Universal:
x.T|*xx
Default without having to dial 9 for a four digit extension:
[0-8]xxxT3|911|411|611|011xxx.T3|1xxxxxxxxxx|[2-9]xxxxxxxxx|*xxx.T3
The default but with the ability to test providers by dial 55 then phone number:
[0-8]xxxT3|55xxx.T|911|411|611|011xxx.T3|1xxxxxxxxxx|[2-9]xxxxxxxxx|*xxx.T3

Sources
http://apetec.com/voip/Polycom-DialPlan.htm
http://blog.voipdiy.com/2012/10/what-is-dial-plan.html
https://wiki.asterisk.org/wiki/display/DIGIUM/Dial+Plans
http://wiki.voip.ms/article/Dial_Plan_for_Linksys_ATAs
http://voipstuff.net.au/dial-plans/


Friday, March 27, 2015

VMware blogs

http://www.vladan.fr

http://www.virten.net

HP Customized ESXi Image and HP Server Support Matrix


As of 3/27/2015

  • ESXi and vSphere:
    • vSphere 6.0 March 12, 2015 - Download here
    • vSphere 5.5 U2 Nov 2014 - Download here
    • vSphere 5.5 U1 Dec 2014 - Download here
    • vSphere 5.5 June 2014 - Download here
    • vSphere 5.1 U3 Dec 2014 - Download here
    • vSphere 5.1 U2 Nov 2014 - Download here
    • vSphere 5.1 U1 Sept 2013 - Download here
    • vSphere 5.1 Feb 2013 - Download here
    • ESXi 5.0 U3 Nov 2014 - Download here
    • ESXi 5.0 U2 Sept 2013 - Download here
    • ESXi 5.0 U1 Oct 2012 - Download here
    • ESXi 4.x - Download here
    • Contents of above images available here
HP Server Support Matix for VMware
http://h17007.www1.hp.com/us/en/enterprise/servers/supportmatrix/vmware.aspx


Source
http://www8.hp.com/us/en/products/servers/solutions.html?compURI=1499005#tab=TAB4



Tuesday, March 24, 2015

Moving Firefox profile to new computer


  1. Completely close firefox on your old computer
  2. Copy the profile folder on old computer (C:\Windows\Profiles\\Application Data\Mozilla)  to the location where you want to new computer C:\Windows\Profiles\\Application Data\Mozilla.
  3. Start the Profile Manager by typing the following in Start firefox.exe -P
  4. Click on the "Create Profile..." button.
  5. In the dialog that opens, enter a descriptive name for the profile.
  6. Click on the "Choose Folder..." button. A "Browse for Folder" dialog will open.
  7. Select the profile folder you copied and click OK.
  8. Review the path shown in the "Completing the Create Profile Wizard" dialog to make sure it is correct, then click "Finish" to create the new profile.
  9. Select the new profile and press the Start button to start Firefox using the moved profile.

Image:Profilemanager1.png

Source
http://kb.mozillazine.org/Moving_your_profile_folder

Monday, March 16, 2015

Excel or Outlook takes a long time opening file

1. Click Start then click Computer.
2. Click Organize.
3. Select Layout, and then click to clear Preview pane.
4. Open the Excel workbook and test.

If the error continues to occur, go to the next method.

Windows Explorer:
1. Right click on Start button
2. Click Open Windows Explorer
3. Click Organize | Layout
4. Uncheck Details Pane and Preview Pane

Excel:
1. Click File | Open
2. Click Organize | Layout
3. Uncheck Details Pane and Preview Pane

Outlook:
1. Open a new e-mail
2. In the "Include" group on the Ribbon, click Attach File
3. Click Organize | Layout
4. Uncheck Details Pane and Preview Pane

Source
https://support.microsoft.com/en-us/kb/2779852
http://geniustechbar.blogspot.com/2013/03/excel-cannot-complete-this-task-with.html

Wednesday, February 18, 2015

CodeTwo Active Directory Photos

A nice free tool for importing photos into Active Directory.  The tool can be run from any computer which were the user is logged int an account with administrative rights.

CodeTwo Active Directory Photos
http://www.codetwo.com/freeware/active-directory-photos/


Tuesday, February 17, 2015

How to Unprotect an excel sheet without password

In Excel on the Developer Tabs press View Code

Copy and paste the following.  When Done press F5 to Run code.  The sheet is unprotected now.

Sub PasswordBreaker()
    'Breaks worksheet password protection.
    Dim i As Integer, j As Integer, k As Integer
    Dim l As Integer, m As Integer, n As Integer
    Dim i1 As Integer, i2 As Integer, i3 As Integer
    Dim i4 As Integer, i5 As Integer, i6 As Integer
    On Error Resume Next
    For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
    For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
    For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
    For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
    ActiveSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _
        Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
        Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
    If ActiveSheet.ProtectContents = False Then
        MsgBox "One usable password is " & Chr(i) & Chr(j) & _
            Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
            Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
         Exit Sub
    End If
    Next: Next: Next: Next: Next: Next
    Next: Next: Next: Next: Next: Next
End Sub

Sorce
http://uknowit.uwgb.edu/page.php?id=28850

Thursday, September 04, 2014

Unable to print or view the print preview of a webpage in Internet Explorer

The problem prints a blank page with a footer  displaying the following line: “file:///C:/Users/userprofile/AppData/Local/Temp/Low/randomfilename.htm”.

You maybe missing the "Low" folder.  Verify that is is there, if not re-create it.

1. Close all open IE windows.
2. Click on Start and then type in %temp% in the search box and click on the Temp folder in the list.
ie print preview blank
3. Now create a new folder called Low.
ie not printing anything
4. Once you’ve created the Low folder, close Explorer, re-start IE and try to print the web page again.

Alternatively you can use Microsoft's Fix it
Fix this problemFix this problem
Microsoft Fix it 50676

Source
http://support.microsoft.com/kb/973479
http://www.datacorps.com/2012/how-to-fix-internet-explorer-printing-blank-pages/

Saturday, August 30, 2014

HP & VMware Links


Nice page as of 8/30/2014 with HP & VMware related links.

http://www.v-front.de/p/hp-vmware-links.html


Some notable info

General links

HP customized VMware ESX(i) installation ISOs

HP Online Depot for ESXi 5.x

Friday, June 06, 2014

All mailboxes in an Exchange database are disconnected and/or your account has been disabled in OWA

This was for an issue which occurred on Exchange 2010 sp3 rollup 5.

Email flow had been working for years.  All of a sudden email flow stopped. Email server was restarted and email flow worked only for mailboxes located in one  specific Exchange database.  Mailboxes located in the other Exchange databases didn't have total email flow.  Mailboxes of affected users were unable to open Outlook.

When a working mailbox sent an internal email to an affected mailbox they would receive an undeliverable bounce back with the following message:
"Delivery has failed to these recipients or groups". "There's a problem with the recipient's mailbox. Please try resending this message. If the problem continues, please contact your helpdesk."

OWA was up but any mailbox in an affected database would receive a message "Your account has been disabled".  Among some of the details of the error message was:
Exception type: Microsoft.Exchange.Data.Storage.AccountDisabledException
Exception message: Cannot open mailbox

The issue stems from an Active Directory issue which caused the Exchange server to either get out of synch or to be caching information and not updating.  Below is how the issue was resolved.

Steps summary:

1. Try to reconnect disconnected mailboxes.
2. Check DNS server Exchange is using. (Note that this might not be a necessary step but it was part of resolution)
3. Clean Exchange database.
4. Fix any mailboxes stuck in Disconnect Mailbox folder.

Steps detail:

1. Try to reconnect disconnected mailboxes.

In Exchange Management Console (EMC) navigate to Microsoft Exchange -> Microsoft Exchange On-Premises -> Disconnected Mailbox.
Right click Connect.
Choose matching user.
Click OK.

2. Check DNS server Exchange is using

In Exchange Management Console (EMC) navigate to Microsoft Exchange -> Microsoft Exchange On-Premises -> Organization Configuration.
Right click and select "Modify Configuration Domain Controller"
Select Specify a domain controller
Domain = the domain the Exchange server resides on.
Configuration domain controller = make note of current selection and then choose a secondary domain controller.
Click OK.
Repeat above steps but this time Configuration domain controller = the original or primary domain controller.
Click OK

3. Clean Exchange database

In Exchange Management Shell (EMS) run the following cmdlet

Get-Mailboxdatabase

Make note of any database listed under Name column

Now run the following cmdlet. Replace the "DBNAME" with the database name from above. Run the cmdlet on each database.

Get-Mailboxdatabase –Identity “DBNAME” | Clean-Mailboxdatabase

4. Fix any mailboxes stuck in Disconnect Mailbox folder

In Exchange Management Console (EMC) navigate to Microsoft Exchange -> Microsoft Exchange On-Premises -> Disconnected Mailbox.
Click Refresh.
If any mailbox is still listed, right click and select Connect.
Choose matching user.
Click OK.

Bonus step that was not performed but might be necessary.
If mailbox does not appear after replication, Run Get-Mailboxdatabase | Clean-Mailboxdatabase.



References
http://exchangeexpertscommunity.blogspot.com/2013/07/your-account-has-been-disabled-error.html
http://social.technet.microsoft.com/Forums/exchange/en-US/b8c55f32-eebb-4c85-80b4-03b40d53db1d/exchange-2010-sp2-owa?forum=exchangesvrclientslegacy

Friday, May 30, 2014

Network printer won't print even though it is online

If a network printer won't print even though it is online. A driver may have become corrupted.  Try the following steps to resolve:
  1. Run printui.exe /s /t2
  2. Highlight unnecessary/old printers and click Remove
  3. Select Remove driver and driver package and click OK
  4. Repeat above steps and perform the same for the network printer having issue
  5. Stop Print Spooler and repeat above step for network printer
  6. Open Registry (regedit) and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Drivers\Version-3
  7. Highlight network printer and press delete entry
  8. Start Print Spooler
  9. Re-install network printer driver

Wednesday, May 28, 2014

How to remove/delete old updates on WSUS server

This How-To is designed to show you how to most effectively clean your WSUS server of old, depreciated or superceded updates. This how-to assumes that you have already selected the correct update classifications, products, and languages for your environment. If you still need to do that, see this How-To here: http://community.spiceworks.com/how_to/show/2572
1.

Open the Windows Update Services MMC


Wsus_console_big
2.

Select the All Updates View

Set the display to show the Approval status of 'Any except Declined' with a Status of 'Any'. Click Refresh.
All_updates_big
3.

Display the Supercedence Column

Right-click the column headers and select Supercedence.
Supercedence_column_big
4.

Sort by Supercedence

Left-click on the Supercedece Column.
5.

Select and Decline the Superceded Updates

The updates to be declined have one of two particular flowchart symbols for their updates pictured in the attached image. Select the correct updates and Decline them by either right-clicking the selected updates and clicking decline or by pressing the decline button in the action pane.
Supercedence_icons_big
6.

Run the Server Cleanup Wizard

Make sure you have all options selected in the wizard and let it run. It will delete the files from the declined updates.
Wsus_cleanup_big
7.

OPTIONAL: Automatic Approval Options

In the automatic approval options, under the advanced tab, there is an option to automatically approve update revisions for previously approved updates and subsequentially decline the now expired updates. I suggest you select them.
Wsus_approval-adv_big

Source

http://community.spiceworks.com/how_to/show/2563-clean-your-wsus-server