Tuesday, October 30, 2012

Adventures in hearing aids



Just sharing the latest
---------- Forwarded message ----------
From: "ME " <>
Date: Oct 29, 2012 2:15 PM
Subject: Re: Hearing aids
To: "" <>

I schedule an appointment.  I really don't want another thing to carry around :)  phone, laptop, etc...

On Mon, Oct 29, 2012 at 1:18 PM,  <> wrote:
There is a remote control that is available for the aids that gives fast program switching and volume control. I'm glad the headaches are better . It may take a while to adjust to the aids but the trial period is only one cycle or 28 days. The remote would give you more flexibility and is only $200.00. I understand that the highs are bothering you and that is not what you are getting from you old aids. We could make a program that would absent of the highs for you to use when you wanted too.



-----Original Message-----
From: ME  <>
To:  <>
Sent: Mon, Oct 29, 2012 12:26 pm
Subject: Re: Hearing aids
HIM, Help me understand how I'm not being flexible?  My inflexibility is probably due to misunderstanding of everything in this world of digital aids.  I guess in essence I want to "play with all the settings" and understand how they affect me in various settings.  

I ask about features like "quick reset to the default program" so I don't waste the time (~5 secs) everytime I need a change from tcoil back to normal.  

I think like an computer engineer and speak/act that way to and can be misinterpreted.  The complete lack of control and having to in my mind, waste your time, playing in a "quiet" environment is detrimental to the fitting process.  Again my opinion.  I would love a way to work these aids in my environment.  Is that even a remote possibility?   

I've been also using the deaf community for their thoughts on my scenario.  Some told me suck it up and deal with it, others said try different audi's, most said spend the time to learn what your aid can do because a lot of Audi's aren't you.  Not trying to be condescending here, so please don't take it that way.

I've been using them all weekend, went to a conference in atl and had a very hard time hearing at specific times.  Speech just seems much harder understand add in noise event the restaurant program doesn't seem to help everytime.  

I'm trying get examples of where highs or tinny sounds cause me problems.  I thought emailing the examples that you might have some way of isolating the sound and determine the range that may need to be adjusted.  You never responded to it, and that left me a bit chagrined.

In my world, your computer is making a bad noise, first I identify the moving parts, clean\adjust\remove one at a time and note if the sound is better\worse\no change.  I feel I forced you into shotgun mode instead of following my own intuition.  

I didn't realize we had such a short time with the phonaks, I specifically asked about 3-6 months trial period based on a large number of people who've made the Ana-digi switch.

On the good news front, the headaches are less frequent and usually start in areas of high pitch environments.  I have heard some things that i'd not heard before but they really were trivial but neat some the less.  

I would like to make an appointment with you and have you print out the settings of the aids currently and the settings that are available.  You could even email them to me, I would be fine with that.  

I'm sorry, I know I'm demanding but I take it very seriously, akin to someone missing a leg wouldn't settle for a prosthetic that's 2 inchs short.

I need you to help me understand what I can and can't do with D-aids.

That curmudgeon, Pete :)





On Mon, Oct 29, 2012 at 6:41 AM,  <> wrote:
ME, it is not that I don't want to work with you, its that nothing available is going to give you everything you want and you don't seem to be very flexible. We only have 28 days to be able to return the aids to Phonak and if those don't work , there is nothing else to try. You may want to wait until something happens to the aids you have , and then you won't have the mental comparison to the ones you have.
-----Original Message-----
From: ME  <>
To:  <>
Sent: Thu, Oct 25, 2012 10:21 am
Subject: Re: Hearing aids
okay, if you feel like I'll never be happy then i guess we should end our relationship.  I really did like you and you've spent more time explaining things than others. I'm trying and sharing my experiences so that maybe something will click with you or your partner would help. Like the sounds I"m sharing to hope that you could identify the sound frequency as where we need to make adjustments while might sound normal (from the recording) to you are unbearable to me at the moment.  I'm using technology to help assist in configuring technology.

I'm still trying the aids, just disagreeing with some of your assessments.  If it's a one way communication how are we going to develop that relationship.  I'm not trying to be combative, I'm just trying to hear clearly as possible or get to a point where I can adapt.  The main problem with the left ear was static at random times in quiet scenarios, other than that i only feel like very minor changes would be needed.  The right ear definitely needs to be adjusted but since highs are over-powering.  I try to be respective of your time as much as possible but I want to learn what you are doing so I can better relay to you the changes. 

Since we don't seem to be on the same page, I guess we should end, choice is yours.  I'm willing to keep trying but if you are that convinced i'll never be happy I won't waste your time.

On Thu, Oct 25, 2012 at 9:53 AM,  <> wrote:
ME, that is as close as we are able to do. If you are that unhappy , bring the aids back and just keep what you  are happy with. I am convinced that you aren't going to be happy with anything that is available commercially and I really don't understand why you are happy with what you have except that is what you are accustomed too.



-----Original Message-----
From: ME  <>
To:  <>
Sent: Thu, Oct 25, 2012 12:54 am
Subject: Re: Hearing aids
1.  Actually, your old aids should give you headaches.
Nope, never did and even during the "fitting window" as some audi's call it.  As i also said it could very well be a coincidence but 3 days running seems unlikely that it isn't
2. The high frequencies are getting stimulated more which should help the understanding but the only thing that would give headaches is the output.

If the highs are too high what would the side-effect be?  For me, it seems to be pain and excessive ear tiredness.  I'm hardly wearing them at work unless i have to talk on the phone or someone else because of the highs.  Speech has not cleared up in any shape or form, it's worse still.  Comprehension is definitely down but i've stayed true to what i said no matter how bad I want to, i've not put the analogs back on.

The static issues are hearing are the high frequencies . If you will notice you just get the "static' when you hear the S ,Sh, T, ed and Ch. That can be cut down a bit but you do need them.

I disagree you 100% on the static.  When the entire aid sounds like a radio static.  I should have mentioned that no one was talking at the time.  Attached is a similar sound.

Music sounds more natural with my aids off then my aids on, even with the music program.  I don't even bother wearing the aids now when listening to music.




On Oct 24, 2012 11:48 AM, "" <> wrote:
Actually, your old aids should give you headaches. The output in them is much greater than what you are getting now. The high frequencies are getting stimulated more which should help the understanding but the only thing that would give headaches is the output. The static issues are hearing are the high frequencies . If you will notice you just get the "static' when you hear the S ,Sh, T, ed and Ch. That can be cut down a bit but you do need them.



-----Original Message-----
From: ME  <>
To:  <>
Sent: Wed, Oct 24, 2012 9:47 am
Subject: Re: Hearing aids
HIM, Please order another dalia microP. The one in the left ear has had a number of static issues that resolve themselves.  The left ear sounds better than the right but both still need adjustments.  i've had headaches fro three days now, only when wearing the aids, is this normal?
On Mon, Oct 22, 2012 at 5:20 PM, ME  <> wrote:
HIM,

This maybe purely co-incidental but 30 mins after wearign the aids, I got nauseous and got a really bad migraine.  None of my triggers were present the only change was the hearing aids.

here are sounds that are very painful to my ears. one is the tapping of a ring on a desk, one is snapping fingers, one is someone clapping one is the sound of rushing water to a sink.  The snapping fingers one, (the whooshing in the backgroup is "white noise" generators courtesy of my employer).  keyboard typing aren't bad but aren't good either.  

The music program is great but I cannot hear any vocals, on the normal program its the reverse.  Maybe this will change with time.

I've promised myself, that I will not put the analogs in at all, but may take out the digitals to "rest" my ears.  The sound is overwhelming on the high side, and still seems muddy, i can't help but wonder if it's the highs that are making everything else muddy?

T-coil is good, but how can I have high gain as the starting point, I'm constantly having to turn it up everytime i'm on the phone.

Another silly question, is there a shortcut key to get back to program 1 so I don't have to go through 3 programs to get back to the beginning?

  
On Mon, Oct 22, 2012 at 8:28 AM,  <> wrote:
All are good questions and I'll be glad to explain them when you can come in . We have found you a totally analog aid from Resound and it should give you what you have had but it is a super power aid and we will have to adjust the output to something you can tolerate. I'm sorry I missed you . Let me know when you can come again.



-----Original Message-----
From: ME  <>
To:  <>
Sent: Sun, Oct 21, 2012 1:17 pm
Subject: Re: Hearing aids
I'm not sure I fully understand it, but I've been suggested a few things and one of them was a retest aids on, and aids off.  Another was the real ear thing.   I'm not sure I understand it,  and how it works. Could you explain it in laymans terms, and why you think it won't work?

How many programs can one aid have? Can each program have a different fitting formula?

Is there a model that we could try regardless of cost to cut everything out of the range of my hearing aids, and slowly add them back in? so I can hear the subtle changes?  

I keep seeing you link the aids together, what does that do?

Should I abandon my views, and let you drive?




On Sun, Oct 21, 2012 at 12:38 PM,  <> wrote:
Yes , we have real ear but I don't see how that would help in what  you are trying to do.
-----Original Message-----
From: ME  <>
To:  <>
Sent: Sat, Oct 20, 2012 9:06 pm
Subject: Re: Hearing aids
Just missed you friday, at 12:30.  

I've put the analogs back on for now since we couldn't get them adjusted.  I've been reading about "Real Ear"  is this something you have access to?   
On Fri, Oct 19, 2012 at 6:04 AM, <> wrote:
That's fine. Come by when you can .I'll be there until 1:00pm today or anytime Monday. HIM
-----Original Message-----
From: ME D.  <>
To: '' <>
Sent: Thu, Oct 18, 2012 9:58 pm
Subject: RE: Hearing aids
The changes we made this afternoon, is confusing me.  It seems the sound is all over the place at times, warbling or fading in and out, if you will. Almost like, if turning my head slightly the soundscape changes immensely.  Is this the aid compensating? 

Also the left one had several bursts of static for no reason at all.

The t-coil is a little better but still but I think I’d rather reset the volume back to the default on the right aid.

Is it possible for  you to send me/print me configurations each time we make a change?  I know you said you can store them, but I’d like to keep a copy. So I can write notes.



From:  [mailto:]
Sent: Tuesday, October 16, 2012 2:56 PM
To:
Subject: Re: Hearing aids

ME, the other hearing aids are here. Call and make a time to come in and we will be glad to see you. HIM
-----Original Message-----
From: ME  <>
To:  <>
Sent: Mon, Oct 15, 2012 9:35 pm
Subject: Re: Hearing aids
HIM,

Thanks for seeing me today.  I'm really impressed with the level of service you're providing me so far.  Unfortunately, after getting into the real world environment the phonak's that we tried isn't gonna cut it either.  The sound was fuller compared to the starkey model.  And I guess is closer over all to what i'm looking for, however they seem very prone to excessive feedback. the starkeys did too. 

 I noticed that the phonaks seemed muffled and no matter what setting I had them at.  They didn't seem to clip anywhere near as much as the starkey either.  Music was okay, speech never really cleared up enough for me to feel comfortable wearing these.  I'm hoping that we can get closer with the next pair that you ordered today.  I'm not opposed trying the more expensive aids, but the problem would just be the affordability of them.

What would it take, if it's even possible to, to profile the aids now, and match them to a digital aid with as many channels that it takes?  Is this a pipe dream?

I'm remaining cautiously optimistic for now, 

On Thu, Oct 11, 2012 at 5:25 AM,  <> wrote:
This Friday is a day off for me because I have to work at the Exchange Club fair. My partner Becky will be in the office until 1:00. I will be there next Friday until 1:00 if that will work. HIM
-----Original Message-----
From: ME  <>
To:  <>
Sent: Wed, Oct 10, 2012 7:34 pm
Subject: Re: Hearing aids
HIM, I apologize, I haven't made it in.  been one of those weeks, would friday@ 3 work for you?


On Mon, Oct 8, 2012 at 8:09 PM, ME  <> wrote:
Okay, Will do.  I'll try to get my audiogram from my other audi, that I haven't been real impressed with.


On Mon, Oct 8, 2012 at 8:06 PM,  <> wrote:
I will be at a health fair tommorrow from 2-4pm but call in the morning and see what would be a good time. In the ear aids would be fine and we can get the same strategy (NAL-R) and they work together ( talk to each other and the telephone can work like a surround sound and go into both ears at the same time.)I look forward to seeing you.
-----Original Message-----
From: ME
To:  < >
Sent: Mon, Oct 8, 2012 7:30 pm
Subject: Re: Hearing aids
Excellent, It will be easier for me to come by since I'm on one aide right now.  Is there a time better than others or would an appointment be necessary?  I'm also curious about ITEs as well.
On Mon, Oct 8, 2012 at 6:40 PM,  <> wrote:
We should be able to help you within your budget. The new aids can use the NAL-R formula and do have a great T coil. The pico forte was a good boomer and we think we can find it in the Phonak OK or the Starkey DP7 depending on the gain level you need. Call and come by when you can.


Monday, October 8, 2012

Stupid App Pool profile loading failure

http://gallery.technet.microsoft.com/Retrieve-SharePoint-49edcbe2#content

I'll come back to this, but this tool is handy for getting those passwords for managed service AApplication pool accounts.

Thursday, October 4, 2012

System error 2 has occurred?

So I was working on this client and couldn't seem to use net.exe
The file was missing!  So this was easy to fix, I got my 2003 install cd, and typed the following
expand -r cdromDrive:\i386\net.* %windir%\system32
should be two files.

So typed net again, and got:
System error 2 has occurred.
The system cannot find the file specified

if I typed net use, the commands worked fine.  Odd...

So after a little digging, I found that net.exe needs net1.exe also.  The solution was :

expand -r cdromDrive:\i386\net1.* %windir%\system32

And viola, everything hunky dory.

Monday, September 24, 2012

Case of the decommissioned DHCP Server

So a client decommissioned several DHCP servers improperly.  So every time you opened the DHCP Console, it displayed those servers even though they have been gone for some time now.

Open ADSIEDIT.MSC
Connect to the configuration container
navigate to CN=configuration,CN=Services,cn=Netservices
In the right pane, Double-click the CN=DHCPROOT entry
Find dhcpServers, remove the names of the decommisioned servers.

Thursday, June 28, 2012

Deploying File/Folder security using group policy on 64 bit OSes?

Take a gander at this KB Article http://support.microsoft.com/kb/2003730

Group Policy Error Events Logged When Unknown Environment Variable Is Used


If you are running an Active Directory forest and using a file system security policy you may see the following events logged:
Log Name: Microsoft-Windows-GroupPolicy/OperationalSource: Microsoft-Windows-GroupPolicyEvent ID: 7016Task Category: NoneLevel: ErrorKeywords: User: SYSTEMDescription:Completed Security Extension Processing in 20984 milliseconds.Event Xml:
...
20984 1252 Security {827D319E-6EAC-11D2-A4EA-00C04F79F83A}
Windows XP and Windows Server 2003 will log this event in the Application log:
Event ID: 1091Category: NoneSource: UserenvType: ErrorMessage: The Group Policy client-side extension Security failed to log RSOP (Resultant Set of Policy) data. Please look for any errors reported earlier by that extension.
All Windows version will log this event in the Application log:
Event ID: 1202Category: NoneSource: SceCliType: WarningMessage: Security policies were propagated with warning. 0xd: The data is invalid.
Depending on the actual policy configuration, the settings in the security policies may or may not be present. The More Information section explains the conditions for policy failure or success (despite the errors).

Cause

The events are logged because the file system security settings of one policy contain an environment variable that is unknown on the client computer. To find out more about the problem, enable logging of the security configuration client-side extension:
324383 Troubleshooting SCECLI 1202 Events
In the %windir%\security\logs\winlogon.log file, you will see an entry such as:
Process GP template gpt0000x.inf.-------------------------------------------Error 13: The data is invalid. Error converting %PROGRAMFILES(X86)%\MyApplication.
%PROGRAMFILES(X86)% is only an example. It is used when the policy is edited on a 64-bit version of Windows and security settings are made for the folder C:\PROGRAM FILES (X86) or one of its subfolders.
The gpt0000x.inf file, a text file containing the policy settings, can be found in the %windir%\security\templates\policies folder. It also contains the location of the policy in Active Directory in the line starting with GPOPath, allowing you to identify which policy has the unknown environment variable.

Resolution

To avoid the problem, create a new policy at the same level that receives the settings referencing the missing environment variable. Then use a WMI filter to allow the policy to only apply to machines that have the environment variable defined.
For example, the WMI filter for %PROGRAMFILES(X86)% would be:
Select * from Win32_Envrionment where Name = 'PROGRAMFILES(X86)'








Tuesday, June 26, 2012

Replicating Directory Changes in filtered set


$Identity = "ENTERPRISE DOMAIN CONTROLLERS"

$RootDSE = [ADSI]"LDAP://RootDSE"
$DefaultNamingContext = $RootDse.defaultNamingContext
$ForestDNSZones = "DC=ForestDnsZones,$DefaultNamingContext"
$DOMAINDNSZones = "DC=ForestDnsZones,$DefaultNamingContext"
$UserPrincipal = New-Object Security.Principal.NTAccount("$Identity")

DSACLS "$ForestDNSZones" /G "$($UserPrincipal):CA;Replicating Directory Changes in Filtered Set"
DSACLS "$DomainDNSZones" /G "$($UserPrincipal):CA;Replicating Directory Changes in Filtered Set"

Tuesday, June 5, 2012

VMWare Physical to Virtual Conversion Speedup

Here is a powershell script I wrote that disables SSL for  P2V Conversions using VM converter. 

$xml = New-Object XML
Function FindIT {
#test to see if it's a vista or better
if (Test-Path "$env:programdata\VMware\VMware vCenter Converter Standalone\converter-worker.xml"){
$filelocation = "$env:programdata\VMware\VMware vCenter Converter Standalone\converter-worker.xml";return $filelocation }
#test to see if it's 2k3 or older
Elseif (Test-Path "$Env:AllusersProfile\Application Data\VMware\VMware vCenter Converter Standalone\converter-worker.xml"){
$filelocation = "$Env:AllusersProfile\Application Data\VMware\VMware vCenter Converter Standalone\converter-worker.xml";return $filelocation}
else {Return $false}
}

if(!($filelocation= FindIT) -eq $false){
$xml.load($filelocation)
if ($xml.Config.nfc.useSSl -eq "true") {
Write-Host "SSL is Enabled.  I'm backing it up and changing it."
if (Test-Path "$filelocation.old"){Remove-Item "$filelocation.old" -Force}
Rename-Item "$filelocation" -NewName "$filelocation.old"
$xml.Config.nfc.useSSl = "false"
$xml.Save("$filelocation")
}else{Write-Host "SSL is not enabled"}
} else { Write-Host "I didn't find it where I thought it should be... Sorry." }



Update:  I changed the hard coded path to $env:programdata for vista+
Update:  I changed the hard coded path to $Env:AllusersProfile for 2003-

Sunday, June 3, 2012

Set Replicating Directory Changes for Sharepoint Userprofile service


Script to Set Replicating Directory Changes for Sharepoint Userprofile service.

This covers both aspects of the Replicating AD Permissions that need to be setup for sync process to work properly.  This was written as a result of reading http://www.harbar.net/articles/sp2010ups.aspx


Function Set-replicatingChanges{
param (
$domain,
$path)

#change this for your USER PROFILE SYNC Account
$user = "sp_userprofile"
$path
$acl = get-acl ".\$path"
#get sid of user
$objUser = New-Object System.Security.Principal.NTAccount($domain, $user)
$SID = $objUser.Translate([System.Security.Principal.SecurityIdentifier])

$ReplicatingChangesGUID = new-object Guid 1131f6aa-9c07-11d1-f79f-00c04fc2dcd2
$act = [System.Security.AccessControl.AccessControlType]::Allow
$readProperty = [System.DirectoryServices.ActiveDirectoryRights]::ReadProperty
$GenericExecute = [System.DirectoryServices.ActiveDirectoryRights]::GenericExecute
$ExtendedRight = [System.DirectoryServices.ActiveDirectoryRights]::ExtendedRight

#sets permissions
$ace = New-Object System.DirectoryServices.ActiveDirectoryAccessRule -ArgumentList ($SID, $ReadProperty, $act)
$ACL.addaccessrule($ace)
$ace = New-Object System.DirectoryServices.ActiveDirectoryAccessRule ($SID, $GenericExecute, "Allow")
$ACL.addaccessrule($ace)
$ace = New-Object System.DirectoryServices.ActiveDirectoryAccessRule($SID, $ExtendedRight, "Allow",$ReplicatingChangesGUID)
$ACL.addaccessrule($ace)
Set-Acl -ACLObject $acl -Path ".\$path"

}

#ipmo activeDirectory #automate this
if (!(Get-Module -name activedirectory)){
if ((Get-Module -ListAvailable|?{$_.name -eq "activedirectory"})){ipmo activedirectory}
}
if (test-path ad:){cd ad:}else{Write-Host "I couldn't map to ad:" -ForegroundColor Red;break}

$domain =$env:USERDOMAIN
$configContainer=(gci|?{$_.Objectclass -eq "Configuration"}).DistinguishedName
$domainDN = (gci|?{$_.name -eq $domain}).DistinguishedName

set-replicatingChanges $domain $configContainer
set-replicatingChanges $domain $domainDN

Saturday, June 2, 2012

Set IP Address via Powershell

I wanted to script a complete install from powershell for my lab enviroment.  So I knew i had to start with some plain old fashion calls to wmi and whatnot.  So I ended up googling it and came across Andy's post over at wordpress http://getpowershell.wordpress.com/2008/08/13/powershell-function-set-ipaddress/

So easily read and cleanly coded I wanted to share here as well, the only modifications that I changed was adding the requirement that parameters that have to be specified and out-null some responses.:



function Set-IPAddress {
param(  
[parameter(Mandatory = $true)][string]$networkinterface,
[parameter(Mandatory = $true)][string]$ip,
[parameter(Mandatory = $true)][string]$mask,
[parameter(Mandatory = $true)][string]$gateway,
[parameter(Mandatory = $true)][string]$dns1,
[string]$dns2,
[string]$registerDns = "TRUE"
)


$dns = $dns1
if($dns2){$dns ="$dns1,$dns2"}
$index = (gwmi Win32_NetworkAdapter | where {$_.netconnectionid -eq $networkinterface}).InterfaceIndex
$NetInterface = Get-WmiObject Win32_NetworkAdapterConfiguration | where {$_.InterfaceIndex -eq $index}|out-null
$NetInterface.EnableStatic($ip, $mask)|out-null
$NetInterface.SetGateways($gateway)|out-null
$NetInterface.SetDNSServerSearchOrder($dns)|out-null
$NetInterface.SetDynamicDNSRegistration($registerDns)|out-null
}



Friday, June 1, 2012

Powershell Community extensions command reference


http://www.codeplex.com/PowerShellCX

How did I get the list below for you?
 Get-Command|where {$_.modulename -eq "pscx"}|% {$_.name}

Add-DirectoryLength
Add-PathVariable
Add-ShortPath
call
Clear-MSMQueue
ConvertFrom-Base64
ConvertTo-Base64
ConvertTo-MacOs9LineEnding
ConvertTo-Metric
ConvertTo-UnixLineEnding
ConvertTo-WindowsLineEnding
Convert-Xml
cvxml
Disconnect-TerminalSession
Dismount-VHD
e
Edit-File
Edit-HostProfile
Edit-Profile
ehp
Enable-OpenPowerShellHere
ep
Expand-Archive
Export-Bitmap
fhex
Format-Byte
Format-Hex
Format-Xml
fxml
gcb
Get-ADObject
Get-AdoConnection
Get-AdoDataProvider
Get-AlternateDataStream
Get-Clipboard
Get-DhcpServer
Get-DomainController
Get-DriveInfo
Get-EnvironmentBlock
Get-FileTail
Get-FileVersionInfo
Get-ForegroundWindow
Get-Hash
Get-Help
Get-HttpResource
Get-LoremIpsum
Get-MountPoint
Get-MSMQueue
Get-OpticalDriveInfo
Get-PathVariable
Get-PEHeader
Get-Privilege
Get-PropertyValue
Get-PSSnapinHelp
Get-ReparsePoint
Get-ScreenCss
Get-ScreenHtml
Get-ShortPath
Get-TabExpansion
Get-TerminalSession
Get-TypeName
Get-Uptime
Get-ViewDefinition
gpv
gtn
help
igc
Import-Bitmap
Invoke-AdoCommand
Invoke-Apartment
Invoke-BatchFile
Invoke-Elevated
Invoke-GC
Invoke-Method
Invoke-NullCoalescing
Invoke-Reflector
Invoke-Ternary
Join-String
less
ln
lorem
Mount-VHD
New-Hardlink
New-HashObject
New-Junction
New-MSMQueue
New-Shortcut
New-Symlink
nho
ocb
Out-Clipboard
Out-Speech
Ping-Host
Pop-EnvironmentBlock
Push-EnvironmentBlock
ql
qs
QuoteList
QuoteString
Read-Archive
Receive-MSMQueue
Remove-AlternateDataStream
Remove-MountPoint
Remove-ReparsePoint
Resize-Bitmap
Resolve-ErrorRecord
Resolve-Host
Resolve-HResult
Resolve-WindowsError
rf
rver
rvhr
rvwer
Send-MSMQueue
Send-SmtpMail
Set-BitmapSize
Set-Clipboard
Set-FileTime
Set-ForegroundWindow
Set-LocationEx
Set-PathVariable
Set-Privilege
Set-ReadOnly
Set-VolumeLabel
Set-Writable
Show-Tree
skip
Skip-Object
sls
Split-String
sro
Start-TabExpansion
Stop-RemoteProcess
Stop-TerminalSession
su
swr
tail
Test-AlternateDataStream
Test-Assembly
Test-MSMQueue
Test-Script
Test-UserGroupMembership
Test-Xml
touch
Unblock-File
Write-BZip2
Write-Clipboard
Write-GZip
Write-Tar
Write-Zip

Wednesday, May 23, 2012

Group Policy Preference and Printers = heartburn

Okay so there is so much that can go wrong when you deploy printers via GPP.  So let's take this slow:
Assumptions: clean machine with no drivers

Computer Policy Settings
Admin Templates --> Printers
1.  Disable - Point and Print Restrictions
2.  Enable - Extend Point and Print connection to search Windows Update


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

OABGen encountered error 80040115 or EVENT LOGs 9334/9330


So I had a client who has 2 hub servers and 3 mailbox servers.  Exchange is housed in the parent domain and they have a child domain.  The complained that the Offline address book was not synchronizing properly since the migration to exchange 2010 occurred from old and dusted groupwise.

Sure there are tons of posts with this specific issue and several blogs say check DNS, addressing issues, registry , etc (source: http://blogs.msdn.com/b/dgoldman/archive/2007/11/15/oab-generation-fails-to-generate-with-errors-9330-and-9334.aspx ).

The event logs on the server generating the OABs in my case were exactly the same messages as the post above; the only thing to note was the, server that was failing, was being referenced was the DC in the child domain.  A packet capture I had done initially showed traffic being passed to the correct server.  So I went down a rabbit hole that didn't pan out.  As it turns out that in other logs the FQDN of this server was referenced but NOT for the OAL gen process.  So I appended the child domain name to the DNS suffixes in the order of parent domain, child domain.

Updated the OAB again and successfully resolved the issue.

OABGen encountered error 80040115 while initializing the offline address book generation  process. No offline address books have been generated. Check the event log for more information.
- \OABv2


OABGen encountered error 80040115 (internal ID 50004b2) accessing Active Directory for ''.
- \OABv2

Thursday, May 17, 2012

Best practices: Virtual Active Directory Domain Controllers

Here's a number of best practices for virtual domain controllers:

  1. Never, ever snapshot, never pause, and never clone via vmware client
  2. Educate yourself on your backup solution and it's AD backup capabilities
  3. Time Sync, is still very important.  Insure your host is sync'd or setup external time source
  4. vmtools client, if stopped/crashed can cause time issues  
  5. Make sure you can restore, not just backup.  Backups are useless if you can't restore.  The right backup solution will auto-verify the integrity 
  6. Anti-affinity, make sure your DC's don't end up on the same host.

Friday, April 27, 2012

Enabling Strict Replication Via ADSI so you don't ever forget

Powershell Baby!

# Get the distinguished name of the Active Directory domain
$DomainDn = ([adsi]"").distinguishedName

# Build distinguished name path of the Operations container
$OperationsPath = "CN=Operations,CN=ForestUpdates,CN=Configuration," + $DomainDn

# Retrieve a reference to the Operations container using the path we just built
$OperationsContainer = [adsi]"LDAP://$OperationsPath"

# Create a new object inside the Operations container using the GUID, of type "container"
$StrictReplicationContainer = $OperationsContainer.Create("Container", "CN=94fdebc6-8eeb-4640-80de-ec52b9ca17fa")

# Commit the new object to the Active Directory database
$StrictReplicationContainer.SetInfo()

Tuesday, March 27, 2012

SharePoint 2010 and the Health Analyzer | The Beagle - Technology for SMB's

Good article about Sharepoint and the Health Analyzer.  The main take away for me was the index fill factor which I've over looked in previous deployments.

SharePoint 2010 and the Health Analyzer | The Beagle - Technology for SMB's:

Reference: http://www.microsoft.com/download/en/details.aspx?id=24282

'via Blog this'

Wednesday, March 14, 2012

SQL Powershell Set all DBs to Simple recovery

Simple recovery model has its place but here's an easy way to set it programatically

$DBinstanace = sqlserver:\sql\\
gci $DBinstanace\Databases| where {$_.RecoveryModel -like "Full"}|`
foreach {
$_.RecoveryModel = [Microsoft.SqlServer.Management.Smo.RecoveryModel]::Simple
$_.Alter()
}

Thursday, March 1, 2012

Sharepoint 2010 PrerequisiteInstaller.Arguments File

Here's a helpful tip if you create your own PrerequisiteInstaller.Arguments.txt file.  Make sure there is a space at the end of each line if you're breaking it out to make it more readable.

/unattended
/SQLNCli:PrerequisiteInstallerFiles\sqlncli.msi
/ChartControl:PrerequisiteInstallerFiles\MSChart.exe
/IDFXR2:PrerequisiteInstallerFiles\Windows6.1-KB974405-x64.msu
/NETFX35SP1:PrerequisiteInstallerFiles\dotnetfx35setup.exe
/KB976462:PrerequisiteInstallerFiles\Windows6.1-KB976462-v2-x64.msu
/Sync:PrerequisiteInstallerFiles\Synchronization.msi
/FilterPack:PrerequisiteInstallerFiles\FilterPack\FilterPack.msi
/ADOMD:PrerequisiteInstallerFiles\SQLSERVER2008_ASADOMD10.msi
/Speech:PrerequisiteInstallerFiles\SpeechPlatformRuntime.msi
/SpeechLPK:PrerequisiteInstallerFiles\MSSpeech_SR_en-US_TELE.msi
/ReportingServices:PrerequisiteInstallerFiles\rsSharePoint.msi

other resources:
http://technet.microsoft.com/en-us/library/ff686793.aspx#switcharg
http://technet.microsoft.com/en-us/library/cc262485.aspx#section5

Tuesday, February 28, 2012

PST Capture - Microsoft Download Center - Download Details

I discovered this the other day. I thought it looked like it was worth sharing.

Microsoft Exchange PST Capture is used to discover and import .pst files into Exchange Server or Exchange Online


Download: PST Capture - Microsoft Download Center - Download Details:

'via Blog this'

Monday, February 6, 2012

Saturday, February 4, 2012

Whoops, My bad...





Yea so I was trying to correct an issue a while back, and then a few days ago I changed my password. Afterwards I was unable to connect to the lync control panel to manage users. Every thing else worked fine.  This was the error message below when connecting to the CP.

So what did I do wrong?  Well it's simple really now that I figured it out.

Click the basic settings screen for IIS 7.5 actions pane (right side),
on the edit site window, click connect as
change it back to passthru


Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x8007052e
Config Error

Can not log on locally to C:\Program Files\Microsoft Lync Server 2010\Web Components\Internal Website as user joeblow-adm@contoso with virtual directory password

Config File
\\?\C:\inetpub\temp\apppools\CSIntConfAppPool\CSIntConfAppPool.config

Requested URL
http://localhost:80/

Physical Path
Logon Method Not yet determined
Logon User Not yet determined

Config Source
  152:                
  153:                     joeblow-adm@contoso" password="[enc:AesProvider:3kQl4DocwKRf0PUrWuRu607OCRzM1hmxNLs5JxadIHK9zndCmVtsORPbjoz2Q5pe:enc]" />
  154:                     \\fs01.contoso.int\LyncFS$\1-WebServices-1\MeetingFiles" userName="" password="[enc:AesProvider:qSCnmWhk06ysPT4QG2e5mETtieO6v716/jqKNED8D84=:enc]" />




Friday, January 13, 2012

A Robocopy command updates DACLs incorrectly in Windows 7 or in Windows Server 2008 R2  - Microsoft Premier Online

Watch out for this robocopy no-no!
A Robocopy command updates DACLs incorrectly in Windows 7 or in Windows Server 2008 R2: "Article ID: 2639043 - Robocopy command updates DACLs incorrectly in Windows 7 or in Windows Server 2008 R2"

'via Blog this'

Assume that you use the following Robocopy command to perform file replication on a computer that is running Windows 7 or Windows Server 2008 R2:
robocopy /sec /mir
However, the Discretionary Access Control Lists (DACLs) for the files are updated incorrectly. This issue occurs even if the DACLs in the source location and in the destination location are the same.

Note When this issue occurs in a network environment that uses the Distributed File System Replication (DFSR) service, a very large DFS replication backlog is generated.

Sunday, January 8, 2012

External RemoteApp slowness?

Here's the scenario: internally RemoteAPP works fine in terms of app launching. However, external access the remoteapp takes a minute or more to login. You are using a RD Gateway

Solution: Using remoteApp manager Untick the settings on your host server to bypass proxy for local address

ref: