Get-Service -Name w32time -ComputerName Server1 | Set-Service -Status Stopped
Get-Service -Name w32time -ComputerName Server1 | Set-Service -Status Running
When saving an MSP file in the Office 2013 OCT you receive an error that says, “Unhandled exception: NodeType get property called for OXmlNode with null interface”
This can happen if you have updated the Admin folder of you distribution point & are modifying an existing MSP file.
Run OCT again. Instead of opening the existing MSP create a new one. Then click File Import.
Browse to your existing MSP file & click Open. Now make any necessary changes & click File>Save As & name it accordingly.
After demoting a Domain Controller you get an error every 5 minutes on your Exchange Server that says, “SACL Watcher servicelet found that the SeSecurityPrivilege privilege is removed from account SID.”
Restart the Microsoft Exchange Active Directory Topology service (MSExchangeADTopology). Keep in mind this will also restart several other services that are disruptive to users so try to do this after hours.
As a side note to find which object the SID belongs to run LDP.exe & use the SID Lookup tool.
The first time you or your users run OneNote 2013 they may get a dialog box that says, “You’re not connected to the internet. Your notebook will be created on this computer and will not sync to the cloud or to your phone.”
Unfortunately there is no Group Policy setting in the Office 2013 Administrative Templates to suppress this message. However it can be suppressed by using a Group Policy Preference to push a registry setting. The key if HKCU\Software\Microsoft\Office\15.0\onenote. The value type is REG_DWORD & the name is FirstBootStatus. Set the Value data to 0x1000101 or 16777473 in binary. Be sure to put a check by “Run in logged-on user’s security context” & type a description.
Get-ADUser -Filter * -SearchBase “DC=domainname,DC=com” -properties ScriptPath | select Name,ScriptPath
To type a flat sign (♭) type 266d then press Alt+X.
To type a natural sign (♮) type 266e then press Alt+X.
To type a sharp sign (♯) type 266f then press Alt+X.
Get-ADUser -Filter * -SearchBase “OU=Users,OU=Company,DC=domain,DC=com” | Measure
You’ll get something like this.
Count : 377
Get-ADPrincipalGroupMembership -Identity USERNAME | select name
Get-ADUser -Identity USERNAME -Properties MemberOf | Select -ExpandProperty MemberOf
When opening Cisco ASDM-IDM Launcher you get an error that says, “Windows cannot find ‘javaw.exe’. Make sure you typed the name correctly, and then try again.”
Add the path to the java installation in the PATH environment variable. For me the path was C:\Program Files (x86)\Java\jre7\bin but obviously it can be different depending on the Java version & your environment.
Oh, and I hate Java.