Posts

Pointless dialog boxes

Image
Wouldn't it be great if programmers would create dialog boxes that actually meant something? And testers would refuse to let a piece of software out before it was tested? And we could give feedback directly to the person who wrote such a terrible dialog box? Whoever wrote this one should be shot. First, it doesn't tell you what software is asking you to choose. Second, a choice of 1 IS NOT A CHOICE!!!!

Security Checklist for busy people

Of course we have all heard the scare stories in the media about passwords being compromised and personal data accessed. Most of these are scare-stories that the media like to jump on for a headline. But there are some simple things you can do to help stop a hacker. And hackers are more common than you might think. If you use the internet for anything personal, just spend a few minutes tightening up your data, it could save you losing something valuable to you – money, photos, etc. The first thing to say is that security is not a 0 or 1, it is not on or off. Security is something that gets tighter according to what you are protecting, and where it is. When people ask “are your systems secure” what they really mean is “can a motivated hacker get in”? This is rather like leaving your bike unlocked. If someone is looking for an unlocked bike, they will steal it. But if no-one in your neighbourhood wants to steal your bike, it is “safe” to leave it outside your front door unlocke...

Powershell to get the version of Exchange in Office365 you are running on.

Powershell to get the version of Exchange in Office365 you are running on. This powershell will get the version of Exchange that your Office365 tenant is running on, and pipe it to a file in c:\temp\ExchangeVersion.txt. If you set a scheduled task to run this nightly it will build up a history of the version numbers in the log file. $user = "<Office 365 login>" $password = convertto-securestring "<password>" -asplaintext -force $cred = New-Object system.management.automation.pscredential $user,$password Connect-MsolService -Credential $cred $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic -AllowRedirection Import-PSSession $Session $name= Get-Date $Name | out-file -append C:\temp\ExchangeVersion.txt Get-mailbox -identity "<mailbox on Office365>" | Select ExchangeVersion | out-file -append C:\temp\ExchangeVersion.txt $name= ...

How to find the source of a locked out account in Windows Server 2008 R2 / Windows 7

Image
How to find the source of a locked out account in Windows Server 2008 R2 / Windows 7 Check in the DC, for event 4771 in the Security Log: From the Client Address, you found the source of the problem. Log into the client, check the event log/security log: Here you can see a stored password is causing the problem. Delete the entry from the Stored Passwords app (Control Panel/User Accounts/Manage my network passwords).

SQL query for SCCM 2007 R2 to find all Dell desktops and laptops

My colleague wrote a SQL query for SCCM 2007 R2 that finds all the Dell desktops and laptops in our environment. select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System   INNER JOIN SMS_G_System_COMPUTER_SYSTEM   ON SMS_G_System_COMPUTER_SYSTEM.ResourceId = SMS_R_System.ResourceId  WHERE SMS_R_System.NetbiosName NOT LIKE "SR%"   AND SMS_R_System.Active = 1  AND SMS_G_System_COMPUTER_SYSTEM.Manufacturer00 like "%Dell%"

cannot launch App-V applications. Application Virtualization Client service cannot start.

If you have a user who cannot launch App-V applications, try the following: -           Check the Application Virtualization Client service is running. -           If it will not start, open a CMD prompt with admin privileges, and type: winmgmt /verifyrepository -           If the result is “ Repository inconsistent”, then type : winmgmt /salvagerepository -           Restart the Windows Management Instrumentation and the Application Virtualization Client services. -          if that command does not work, try the command winmgmt /resetrepository This should fix any WMI errors which may cause App-V to stop running. More info here:- http://blog.wortell.nl/sanderz/troubleshooting-app-v-4-6-client-error-1114-on-rds-servers/

Where did the network bindings go to, in Server 2008 R2?

Image
Where did the network bindings go to, in Server 2008 R2? They are very hard to find now! Here's where... Start / Control Panel Network and Internet / Network and Sharing Centre Change adapter settings. Now press the ALT key. You now see a new set of menus appear. Choose Advanced Settings and move the network adapter down. Update: In Server 2016 you need to use a PowerShell command to do this:- ref https://docs.microsoft.com/en-us/windows-server/networking/technologies/network-subsystem/net-sub-interface-metric Set-NetIPInterface -InterfaceIndex 12 -InterfaceMetric 15