Category: Uncategorized

The Post-Deployment Configuration task may fail after you install the Windows Server Essentials Experience role on Windows Server 2012

https://support.microsoft.com/en-us/kb/2914651

To resolve this issue, follow these steps to add the service accounts that are mentioned in Event ID 7041 (that is, DOMAIN\ServerAdmin$ and DOMAIN\MediaAdmin$) to the "Log on as a Service" Group Policy setting.

  1. Start Group Policy Management Console (GPMC). To do this, take one of the following actions: Press the Windows logo key + R to open the RUN dialog box, type gpmc.msc in the text box, and then click OK or press Enter. Or, click Start, click in the Start Search box, type gpmc.msc, and then press Enter.
  2. Right-click Default Domain Controllers Policy, and then click Edit.
  3. Browse to Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment.
  4. In the details pane, double-click Log on as a service.
  5. Make sure that the Define these policy settings check box is selected, and then click Add User or Group.
  6. Type the name of the service account that is mentioned in Event ID 7041 For example, type DOMAIN\ServerAdmin$ or DOMAIN\MediaAdmin$. Or, click Browse to locate the account with the Select Users, Computers, or Groups dialog box, and then click OK.
  7. After you have the account name entered, click OK in the Add User or Group dialog box, and then click OK in the Allow log on locally Properties dialog box.
  8. To update the modified Group Policy manually, at command prompt, type gpupdate, and then press Enter.
  9. Rerun the Post-Deployment Configuration task.

How to disable SBS 2003 to 2008/2011 migration grace time period expiration

http://www.bursky.net/index.php/2012/02/disable-sbs-migration-grace-period-expiration/

Without going in to any further details, here’s the process how to prevent the SBS2003 from shutting down after 21 days of migration have passed. The basic principle is to disable the SBS Core Service (sbscrexe.exe). The problem is when you just kill it, it will restart itself automatically. To achieve this goal follow the steps below:
1.Download process explorer from http://technet.microsoft.com/en-us/sysinternals/bb896653
2.Run Process Explorer and SUSPEND the sbscrexe.exe file.
3.Open regedit and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SBCore
4.Right click the key and click permissions. Give the Administrators group full control on both the key and the child nodes.
5.Refresh the key so you can see all of the registry settings for sbcore and change the Start DWORD value from 2 to 4 to disable the service.
6.Using explorer navigate to the sbscrexe.exe file in the C:\WINDOWS\system32 directory and change permissions on the file to everyone deny.
7.Go back to process explorer and kill the sbscrexe.exe process. If it doesn’t start again then you have successfully disabled the file.

Dell OEM Activation issues W8 preinstalled and W8.1 reinstalled cleanly

Generics

XKY4K-2NRWR-8F6P2-448RF-CRYQH (Windows 8 Professional)
RR3BN-3YY9P-9D7FC-7J4YF-QGJXW (Windows 8 Professional with Media Center)
FB4WR-32NVD-4RW79-XQFWH-CYQG3 (Windows 8 [Home])
XHQ8N-C3MCJ-RQXB6-WCHYG-C9WKB (Windows 8.1 Professional)
GBFNG-2X3TC-8R27F-RMKYB-JK7QT (Windows 8.1 Professional with Media Center)
334NH-RXG76-64THK-C7CKG-D3VPT (Windows 8.1 [Home])

 

http://rweverything.com/

ACPI Table > MSDM Tab

How to change your Office 365 App Password

 

http://www.c7solutions.com/2015/03/how-to-change-your-office-365-app-password

If you are enabled for Multi-Factor Authentication (MFA) in Office 365 then you will need an App Password for some applications that do not support MFA. The user interface for creating a new App Password is quite well hidden in Office 365 (its not on the Password page for example).

Here is how to find it.

  1. The user logs into Office 365 portal (http://portal.office.com) and clicks the cog icon to the top-right of the page
  2. Click Office 365 Settings
  3. Scroll down past Password and choose Additional Security Verification
  4. Click Update my phone numbers used for account security
  5. Click “app passwords” on the top menu. This takes you to https://account.activedirectory.windowsazure.com/AppPasswords.aspx. You can (and therefore should) bookmark this page now so you don’t need these instructions again!
  6. Create yourself an additional app password and give it a description.
  7. Use the new app password in the program that you need to login to.

POP3 Connector Mail Download limit

http://exchangemaster.wordpress.com/2010/01/13/pop3-connector-mail-download-limit/

If you have SBS and are getting the following errors.

Source: Windows Small Business Server 2008
Event ID: 210
Task Category: Windows SBS POP3 Connector
Description:
One or more messages (1) were left in the “” account on the POP3 server
“” because they are larger than the maximum acceptable
message size

You can increase the message size limit but I would strongly suggest you make sure you have the horsepower to do this or you WILL have performance issues trying to transfer large mail.

That being said, from the Exchange Powershell run the following

This command will display the current size

Get-ReceiveConnector | select identity, maxmessagesize

This will set the size to 50mb and the timout to 9 min.

Get-ReceiveConnector | Set-ReceiveConnector -MaxMessageSize 50mb -ConnectionInactivityTimeout 00:09:00

Then restart transport…

This will set all receive to 50 mb, use with caution

Quickie: changing message size limits on SBS std 2008 and 2011

http://blog.lan-tech.ca/2011/10/27/quickie-changing-message-size-limits-on-sbs-std-2008-and-2011/

Many clients today want to be able to send and/or receive messages with large attachments. By default SBS has built-in limits of 10 MB for both. To keep this simple and short I will not go into into practical limits or all the detailed options available. I do however recommend reading the link below, from which the information was gathered to get a better understanding of all limits and parameters:

http://blogs.technet.com/b/sbs/archive/2008/10/28/how-do-i-change-message-size-limits-in-exchange-2007.aspx

Note: This assumes a default SBS 2008/2010 environment, not an Exchange standalone (non-SBS) configuration and you have not edited the default send/receive connectors. If in doubt you can verify the connector names with the commands at the end of the article .

To raise the current default limit from 10 MB to 25 MB (as an example) cut and past the following 3 lines, one by one, into the EMS (Exchange Management Shell) located under All Programs / Microsoft Exchange Server 20xx. You need to substitute your SBS server name for ServerName.

  • Set-TransportConfig –MaxSendSize 25MB –MaxReceiveSize 25MB

  • Set-ReceiveConnector “Windows SBS Internet Receive ServerName” –MaxMessageSize 25MB

  • Set-SendConnector “Windows SBS Internet Send ServerName” –MaxMessageSize 25MB

Should you wish to review the current settings or connector names you can use the following commands.

  • Get-TransportConfig | ft name, MaxSendSize, MaxReceiveSize
  • Get-ReceiveConnector | ft name, MaxMessageSize
  • Get-SendConnector | ft name, MaxMessageSize
  • Get-mailbox | ft name, MaxSendSize, MaxReceiveSize

NTP DC Time Sync

When we are running a greenfield deployment, a migration, or a domain reconfiguration one of the key configurations to get right is the Domain Time setup.
We’ve had situations where anomalies in the time setup have brought down clusters (node’s time was out of whack).
In Hyper-V Management disable time integration for the DC(s).
On the primary DC (PDCe) VM that will be the time authority for the domain we run the following steps (please copy and paste into NotePad to clean up):
w32tm /config /syncfromflags:manual "/manualpeerlist:0.ca.pool.ntp.org,0x1 1.ca.pool.ntp.org,0x1 2.ca.pool.ntp.org,0x1 3.ca.pool.ntp.org,0x1" /reliable:yes
w32tm /config /update
net stop w32time && net start w32time
w32tm /resync /force
w32tm /query /source
If you hit ENTER after the last line above and copy from the line underneath to the beginning of the first line and paste into an elevated CMD all of the steps will run automagically. Note that the NTP.ORG servers are Canadian localized. There are servers for most regions in the world.

 

On every other DC in the domain we run the following steps in an elevated CMD:
w32tm /config /syncfromflags:domhier /reliable:no /update
net stop w32time && net start w32time
w32tm /resync /force
w32tm /query /source
Note that the above step(s) may need to be run a couple of times to get the settings to seat.

 

Once the above setup has been completed the domain’s time should remain on time. If there are any issues with time, that is it starts to slip or jumps ahead, check in Hyper-V Management to see if the IS setting for Time Sync has not somehow become enabled again.
If it has run the above steps again to reseat the settings.
NOTE: For SQL or high load VMs that tend to skew time, we’ve seen situations where the VM’s time skews before our eyes, then set up a BATCH file with the following in it:
w32tm /resync /force
Set it to run in the VM’s Task Scheduler every five minutes. If time still gets too far out of whack then decrease the time increment until the VM keeps its time as much as possible.

Automated Photoshop Image Resize

http://www.tjhole.com/use-photoshops-batch-command-to-save-images-for-web/

PDF instructions because WordPress sucks.

Whilst it is fairly straightforward to use the Save For Web tool in Photoshop the monotony of repeating this task for dozens of images can be quiet daunting.

This post will walk you through to create a simple Action to allow you to quickly resize whole batches of images in one go.

Step 1. Create a Web Optimisation Action to Taste
Open the image. For this tutorial I will be using a scan of a 120 image that is bright and vivid.

First you need to make sure the Action panel is visible in Photoshop.

1

 

The panel should look similar to this

2

Click the folder Icon at the bottom of the panel to create a new set.

3

A new folder will appear. (Note you can create the action in an existing folder if you wish)

4

Click the New Action icon between the folder icon and the bin.

5

Note you can assign a shortcut to the action so can quickly access it in future.

Once you have created the New Action it will automatically start recording.

Note you can pause/restart recording using the Stop/Record icons at the bottom of the panel

6

Open up the Image Size dialogue

Image->Image Size

The image I am using for this tutorial is a scan and the resolution is very high. A normal digital photography will be 240dpi/300dpi (pixels/inch).

Screen resolution is 72dpi. Change your Resolution to 72dpi (pixels/inch)

7

You will notice the width decreases from 5275pd to 158px. Now change your Height/Width dimension to the desired size.

Note if you wish to resize all your images to have a height of 600px set height to 600px, if you want to resize all the images width to 600px set the width to 600px.

8

 

dumb-word-press-sucks

 

Step 2. Use Batch to Run the Web Optimisation Action for multiple files

Now your action is complete you can open any image, run the action and know that it will save the Web optimised image using your settings.

However what is really helpful is using the BATCH command to open and optimise large number of images.

Open File->Automate->Batch.

9

When the batch dialogue opens select your Set/Action.

10

For the source select Folder, and Choose the directory where the images you want to optimise are stored.

Click OK.

It is worth noting this is a very basic application of the BATCH command and that you can use actions to build up more complex workflows.

NTP Time Sync on Domain Controller

net stop w32time

w32tm /config /syncfromflags:manual /manualpeerlist:"time-a.nist.gov, time-b.nist.gov, time-c.nist.gov, time-d.nist.gov"

w32tm /config /reliable:yes

net start w32time

******

w32tm /query /configuration