Search The Web

Tuesday, July 8, 2014

Clear Cached Credentials in Windows

Clear Cached Credentials in Windows


Cached credentials in windows can cause issues, especially when users change passwords and aren't able to access network resources. There are a few ways you can manage this, and even script it into your environment if this is causing you issues.

Credential Manager:

Credential Manager is a Windows control panel item that shows all the cached credentials on your system. to access this go to control panel -> cached credentials and locate the credentials that you wish to remove. This can also be accessed by opening the run command and entering control keymgr.dll

Windows Credential Manager
Windows Credential Manager

The DOS / script method

If dos is more your flavour or you would like to script this then there are 2 commands that you can use. Firstly, if there is a server specifically that you would like to clear the credentials from then you can use the command net use \\ /del where is the name of the serve that you wish to clear the credentials for and you may also need to use an FQDN depending on your network / DNS set up.
Delete windows credentials in DOS / script
Delete windows credentials in DOS / script
Alternatively you can also use net use * /del  to clear all cached credentials.
Delete Cached Windows Credentials
Delete Cached Windows Credentials
Please note that these commands are run on the client server not on the server resource.
This post can also be found on our sister site DizzyIT.com at http://dizzyit.com/2014/06/13/clear-cached-credentials-windows/


How Set a Static IP Address in Apple Mac OS X

How Set a Static IP Address in Apple Mac OS X
 

For those new to OS X from the Windows world (like I was), finding your way around can be a little frustrating in a world sans right mouse click! One task thats quite common (and one I came across this week)  is wanting to set a static IP address in OS X. Here's how it's done!
1. Open System Preferences with this icon:
Mac OS X System Preferences Icon
Mac OS X System Preferences Icon
2. Under the Internet and Wireless menu choose Network
Mac OS X Network Icon
Mac OS X Network Icon
3. Select Ethernet Network
Apple Mac OS X Ethernet Icon
Apple Mac OS X Ethernet Icon
4. Select the Configure IPv4 Drop down list and select Manually
Apple Mac OS X Configure IPv4
Apple Mac OS X Configure IPv4
5. Enter the Static IP, Subnet Mask, Router (Gateway) , DNS Server and Search Domain followed by Apply
Apple Mac OS X Static IP Address
Apple Mac OS X Static IP Address
6. And your done! To reset back to DHCP - just reset the Manually setting to DHCP

This guide can also be found on our sister site Dizzyit.com at http://dizzyit.com/2014/07/06/set-static-ip-address-apple-mac-os-x/

Tuesday, April 8, 2014

Use Powershell to Uninstall or Install Windows Roles and Features

Use Powershell to Uninstall or Install Windows Roles and Features 

You can use Powershell or uninstall or install Windows Roles and Features instead of using the GUI. This is especially useful in two scenarios : Server Core installations and also for scripting (new server installs, remote installs etc).
Firstly, you will need to identify the name of the Windows Feature that you wish to add / remove. Open an Administrative powershell prompt and type:  get-windowsfeature
Get-Windowsfeature
Get-Windowsfeature
Once you have identified the roles and feature that you wish to remove (in this case we are going to remove the gui shell) tye the command uninstall-windowsfeature If you want to force a reboot at the end of the process then use the -reboot switch.
Uninstall-windowsfeature
Uninstall-windowsfeature
If you wanted to re install this feature, or install any other feature then again open an administrative powershell prompt and type install-windowsfeature
Install-WindowsFeature
Install-WindowsFeature
Again, if you wanted to force the reboot (especially useful when scripting this then add the -reboot switch.







How To Fix Windows Update Error 80070005.

How To Fix Windows Update Error 80070005.


Windows Update Error 80070005 is usually caused by something going awry in your user permissions to the point where Windows Updates cannot install as it no longer has permissions. The fastest way I am aware of to get around Windows Update Error 80070005 is as follows:
  1. Log off the current user and log in with the administrator Account
  2. attempt to install updates from Microsoft updates ( or local WSUS server if applicable)
  3. after updates have been re installed reboot the computer and log in as the original user.
  4. The user should now be able to install updates
I'm not sure why this works, but it does! I would hazzard a guess that logging in as local admin allows the computer account to reset the ACL permissions that it needs.
The other things to check in troubleshooting Windows Update Error 80070005 are:
  1. Make sure that the firewall is not blocking windows updates. to verify this disable your firewall and try
  2. is the user profile generally corrupt? if so try and old out the profile (details on how to do so here: http://dizzyit.com/2011/10/29/how-do-i-old-out-a-windows-7-user-profile/)
  3. run the windows update repair tool and see if this fixes your issue (details here: http://dizzyit.com/2013/06/07/fix-windows-update-issues/)
This article can also be found on our sister site DizzyIT .com at : http://dizzyit.com/2014/04/07/fix-windows-update-error-80070005/




Tuesday, March 18, 2014

Auto Accept or Decline Meeting Requests in Outlook

Auto Accept or Decline Meeting Requests in Outlook


The process to auto accept of decline meeting requestsin outlook is pretty straight forward. this functionality is useful for some managers, or for resource booking of rooms or resources. Alternatively, sometimes you want this to be turned off so that you can have more granular control over which meetings you choose to accept or decline.
To auto accept or decline meeting requests in outlook:
  1. Open Outlook and select File -> Options
Outlook_Options
Auto Accept or Decline Meeting Requests in Outlook
2. Select Calendar then scroll to Auto Accept or Decline. From here you can configure outlook to auto accept or auto decline meeting requests
Calendar_AutoAccept
Auto Accept or Decline Meeting Requests in Outlook
Your outlook calendar will not be configured to accept or deny meeting requests automatically.

Sunday, March 16, 2014

ITunes Error 126 in Windows 7, 8, 8.1

ITunes Error 126 in Windows 7, 8, 8.1


Error 126 occurs in Itunes when you are either trying to open, install or re install itunes on a Windows platform. The error seems to be related to .Net Framework 4, as well as perhaps some DIVX incompatibility.
ITunes Error 126
ITunes Error 126
in order to resolve the issue:
  1. un-install any apple products on your system (start -> control panel -> programs and features). What you are looking for here is anything that says "Apple Inc." in the Publisher Column. Dont forget things like Quicktime, Bonjour and ICloud. Also note that you DO NOT have to delete your ITunes Music for this.
Apple Inc files in Programs and Features for fixing Error 126
Apple Inc files in Programs and Features for fixing Error 126
2. Make Sure that the following files \ folders have been removed have been removed (if you had a custom install location please refer to that location)
  • C:\Program Files\Bonjour
  • C:\Program Files\Common Files\Apple
  • C:\Program Files\iTunes
  • C:\Program Files\iPod
  • C:\Program Files\QuickTime
  • C:\Windows\System32\QuickTime
  • C:\Windows\System32\QuickTimeVR
3. Update your Windows .Net Framework 4 ( you can also do this at the start if you like). the best way to do this is via windows update. You may also want to update your DIVX installation at this time as well.
4. Begin re installing Apple software, starting with Apple Quicktime. Once that is installed, start with ITunes and the other apple products that you need.
Did this solve your Apple ITunes 126 Error? please let us know on our facebook if you have any questions or comments!
This post can also be found on our sister website DizzyIT.com at: http://dizzyit.com/2014/03/17/itunes-error-126-windows-7-8-8-1/

Tuesday, February 25, 2014

This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.

This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.


This error message "This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator " occurs when certain programs such as One Note, Outlook and Office 365 are not happy about Internet Explorer being the default web browser.
There are a fewways you can address this issue:

1. Upgrade your internet Explorer to the latest version

Not the most exciting or elegant solution, and perhaps is another version of "shut up and reboot" but its worth a try and I have seen it fix this issue. for security and functionality reasons, unless you have a good reason to its normally recommended to be on the latest version of IE.

2. Set the default browser to IE

This is pretty straight forward
Windows 8:
  •  go to the start screen and type in default programs and then choose this item
Default programs Windows 8
Default programs Windows 8
  • choose set your default programs from the menu
Control Panel, Default Programs Windows 8
Control Panel, Default Programs Windows 8
  • select Internet Explorer then choose set this program as default
Windows 8 Internet Explorer then choose set this program as default
Windows 8 Internet Explorer then choose set this program as default
3. Reset Internet Explorer Settings
Sometimes due to policies etc, or registry keys that have been influenced by other programs. these can be reset by setting Internet Explorer back to its default configuration.
to do this its advisable to close any microsoft programs you have open such as Word and Outlook and then,
  • open Internet Explorer
  • choose the Gear Icon for settings then choose Internet Options
Internet Explorer Settings Gear
Internet Explorer Settings Gear
choose the advanced tab, and then select reset internet explorer
choose the advanced tab, and then select reset internet explorer
  • choose the advanced tab, and then select reset internet explorer
Reset Internet Options
Reset Internet Options
  • close internet explorer and try again
This post can also be found at our sister site www.Dizzyit.com at: http://wp.me/p1Zlmi-7r

Bulk Reset User Passwords with Powershell.

Bulk Reset User Passwords with Powershell.

On occasion, you need to bulk reset user passwords for an ou or group of users. This  can easily be accomplished using Powershell and the following script.
Get-ADUser -Filter * -SearchScope Subtree -SearchBase "OU=Department,OU=Users,DC=corp,DC=company,DC=com" | Set-ADAccountPassword -Reset -NewPassword (ConvertTo-SecureString -AsPlainText "New Password Here" -Force)
Bulk Reset AD Passwords
Bulk Reset AD Passwords
Change the OU path to what you need it to be, and before you proceed you probably want to check the affected users with this script to ensure that you dont overwite something like the CEO or an admins password:
Get-ADUser -Filter * -SearchScope Subtree -SearchBase "OU=Department,OU=Users,DC=corp,DC=company,DC=com"  | Ft Name 
Check OU Membership With Powershell
Check OU Membership With Powershell
Again, just change the OU structure to what you need.
As a point of note, you run this, depending on what you ahve installed you may need to  import the Active Directory Module for Powershell with Import-Module ActiveDirectory
Import-Module ActiveDirectory
Import-Module ActiveDirectory
This article can be viewed on our sister site www.dizzyit.com at: http://wp.me/p1Zlmi-7k

Manual Sync ADFS with Powershell.

Manual Sync ADFS with Powershell.

Occasionally you cant wait three hours for your ADFS to synchronise your local Active Directory with the Azure copy. No matter, as you can force a directory sync with the following powershell command:
Start-onlinecoexistencesync
start-onlinecoexistencesync www.dizzyit.com
start-onlinecoexistencesync www.dizzyit.com
This command will sync your on premises Active Directory with the Azure online copy. This is especially useful in situations such as Office 365 implementations where you have changes such as email addresses or group membership changes that need to be updated into the online directory.

This post can be viewed on our sister site www.dizzyit.com at: http://wp.me/p1Zlmi-7e




Thursday, January 9, 2014

Remove Protected mode is turned off for the internet and restricted sites zones message in Internet Explorer

Remove Protected mode is turned off for the internet and restricted sites zones message in Internet Explorer


In Internet explorer 10 and 11, when you disable protected mode you will get a warning stating that Protected mode is turned off for the internet Zone or perhaps Protected Mode is turned off for the internet and restricted sites zones. As Protected Mode seems to have some issues of its own, Due to this it's common to want to remove this warning in SOE images where applicable.
image
Protected mode is turned off for the Internet zone in IE
image
Protected mode is turned off for the Internet and restricted sites zone in Internet Explorer

This feature of Internet Explorer is set in the registry at HKCU\Software\Microsoft\Internet Explorer\Main. scroll till you see the dword key NoProtectedModeBanner and this should be set to to disable, or 0 to enable the message should you wish.
Registry Key for Protected mode is turned off for the Internet zone
Registry Key for Protected mode is turned off for the Internet zone

This can then be applied via Group Policy if you like by opening the GPO editor (start -> run -> regedit) and navigating Computer Configuration -> Preferences -> Registry -> Right Click on Registry and choose New -> Registry Wizard. From here you can navigate to the NoProtectedModeBanner key and assign to the policy as required.
Set Group Policy for Protected Mode message in Internet Explorer
Set Group Policy for Protected Mode message in Internet Explorer
The above article discusses how to remove the protected mode is turned off warning message as seen in Internet Explorer. this article can also be found at our sister site DizzyIT.com at : http://dizzyit.com/2014/01/10/remove-protected-mode-turned-internet-restricted-sites-zones-message-internet-explorer/