Archive | Computer Stuff RSS feed for this section

Things to do with Explorer.exe


This is a list of commands that you can use to get explorer to open in different places on your system. Open ‘Documents’ when you open Windows Explorer %SystemRoot%\explorer.exe /n,::{450D8FBA-AD25-11D0-98A8-0800361B1103} Open ‘My Computer’ when you open Windows Explorer %SystemRoot%\explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D} Other commands: Source: http://support.microsoft.com/kb/130510 EXPLORER.EXE [/n][/e][,/root,<object>][[,/select],<sub object>] Switches /n:  Opens a new window in single-paned […]

Continue reading

Citrix Client to combat Loading Issues in IE9


This has been out for a while now and will be useful until client 13 comes out. This a private full packaged client which fixes the issue with IE9.  Trouble is you need to be registered to download the thing.  So if you want access to this you need to register an account at http://www.citrix.com […]

Continue reading

Mail Folders to another Mailbox with Powershell


This code allows you to export a folder and all contents to anothers mailbox with Powershell. This can be useful if a manager requires the contents of certain folders created by an ex-exployee. Export-Mailbox -Identity SourceUserName -IncludeFolders ‘\Inbox\_Misc’ -TargetFolder _Misc -TargetMailbox TargetUserName This needs to be run on the mail server Hope this helps  

Continue reading

Deleting Folder Contents with Powershell


Here a few methods of deleting the contents of folders with Powershell. These methods are useful for keeping servers clean and tidy and emptying users recycle bins. Clear out users recycle bin data based on SID Import-Module activedirectory [string]$recycleBinPath = ‘C:\$Recycle.Bin\’ $userSID = ((Get-ADUser chrisa).sid).value Remove-Item “$recycleBinPath$userSID” -recurse -force Delete all folders in $Recycle.bin dir […]

Continue reading

Set the Default Active Directory path when searching for printers


With in AD you can redirect users to search for printers. This can be very useful when building a new print server on the domain and not wanting users to be able to see the printers you create until you are ready. To do this do the following: Navigate to: User Configuration>Administratove Templates>Control Panel>Printers Open: […]

Continue reading

Getting a mailbox size with Powershell


Open the Exchange Management Shell and type: get-mailbox username|get-mailboxstatistics|fl totalitemsize The Output:

Continue reading

Clearing Traps in Solarwinds


At times the Traps and TrapsVarBinds tables fill up for no useful reason in Solarwinds. The way to clear these down are as follows: Clearing it Down Start > All Programs > Solarwinds Orion > Advanced Features > Database Manager Expand your database and right-click on the TrapVarbinds table. Select Query Table. Type the below […]

Continue reading

Customising the Windows 7/Windows 2008 Desktop Context Menu


There may be a reason to remove options from the bottom of the context menu that is bought up by right clicking on the Desktop. Follow this article to remove them: http://mintywhite.com/windows-7/7customization/remove-gadgets-screen-resolution-context-menu/

Continue reading

Clearing Profiles on a Windows 2003 Server


There is a tool that can be downloaded free which when scripted will allow you to clear out old profiles form the server it is run on. I have only used this on Windows 2003 Servers so far. The tool is called RemProf.exe. The idea of the tool is to remove the profile and hive […]

Continue reading

Delete the Contents of a Folder with Powershell


The following commands will allow you to clear the contents of a folder, in this case the C:\Users folder, and exclude those folders you do not wish to delete: $dirs – Get-ChildItem C:\Users -Exclude Public,Default,Administrator,”All Users”,”Default User” $dirs | % {rd $_ -Recurse -Force} This could be usedto clean up Remote Desktop Severs or Cirtix […]

Continue reading