Thursday, April 25, 2013

Disable password expiration in Office365

Open Powershell

Connecting to the Office 365 servers
$cred=Get-Credential
connect-MSOLService -credential $cred
 
After typing the first line, you will be asked to authenticate, you need to authenticate with a user who has administration privileges.

Disabling password expiration for all accounts
Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $true
 
Disabling password expiration for one account
You might want to check first if the user already has it’s password expiration set. This is done quite easily

Get password expiration status for all users
Get-MSOLUser | select UserPrincipalName, PasswordNeverExpires

Get password expiration status for specific user
Get-MSOLUser -UserPrincipalName myemail@here.com | Select PasswordNeverExpires

Setting the password to never expire
Set-MsolUser -UserPrincipalName myemail@here.com -PasswordNeverExpires $true

Tuesday, September 13, 2011

Hide disabled active directory users from Microsoft Online Exchange Address lists


Hide disabled active directory users from Microsoft Online Exchange Address lists
 The other day I ran across an issue where disabled active directory users were still showing up in the global address lists.  If you set the msexchhidefromaddresslists attribute to TRUE on the account in local AD, that will replicate to Online Exchange and the user will be hidden from all address lists including the Global Address list.
Open the Active Directory management snap-in, open the view menu and select Advanced Features.
 

Open the properties for the user you want to hide from address lists.
Select the Attribute Editor tab
Scroll and find the attribute msExchHideFromAddressLists
Change value to TRUE
Click OK
The attribute will synchronize to  MSOE system and the user will no longer show up in address lists.



Saturday, July 23, 2011

Remove Rootkit.Win32.TDDS with TDDSkiller

Getting hit by TDDS rootkit is really annoying--constant browser redirects to random website that will lead you to getting more and more infected.  All the scans you do with Malwarebytes, Superantispyare, Spybot, etc--will not find nor remove the rootkit.  I have found that Kaspersky made a nice little targeted scanner to remove this nasty little bastard.

Download, unpack, run, scan, nuke, reboot.

http://support.kaspersky.com/downloads/utils/tdsskiller.zip

Thank you Kaspersky!!!

Clean install Windows 7 from Upgrade media

As many of you might know you cannot activate a Windows 7 clean install done with upgrade media, this mainly has to do with a registry key that blocks it.  Here is a quick and easy way to activate.

Open regedit, navigate to this key:
HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Setup/OOBE/

Modify DWORD value "MediaBootInstall" from "1" to "0".
Close regedit.

Open a CMD prompt with administrator rights (right click command prompt, run as admin).
type: slmgr /rearm

Reboot, run activation wizard and complete activation, all done!
 

Thursday, May 26, 2011

Protecting your Mac from Malware

Just a couple free programs to keep your Mac clean, enjoy.

http://www.clamxav.com/

http://www.iantivirus.com/

They both do a pretty good job, I personally use ClamXav.

New Mac Defender malware variant drops admin password requirement!

New Mac Defender malware variant drops admin password requirement!

Watch out Mac users malware is increasing rapidly.  Now that programmers have figured out how to walk around the admin password requirement for installation we are going to see a major increase of infected Macs.   An installer window still comes up asking to install "Mac Guard" so as long as you don't install--you will be ok.   Check out this blog for more info.

 

Malware: OSX/MacDefender.F and OSX/MacDefender.G
Risk: Medium; effective SEO poisoning has led many Mac users to this type of malware, and no administrator password is required to install this new variant.
Means of protection: the first thing to do is make sure that when seeing a web page that looks like a Finder window, and purports to be scanning your Mac, you know that this is bogus. Leave the page, and quit your web browser. If anything has downloaded, and the Installer application has opened, quit it right away; look in your Downloads folder for the file, then delete it. Next, users should uncheck the “Open ‘safe’ files after downloading” option in Safari’s General preferences. 

Monday, May 16, 2011

Quick and simple instant remote desktop

Web based, cross platform, java, free, etc...  enjoy.

join.me
Free, simple, fast online meetings. Share your screen instantly with anyone.