This is a weird one. In a search for something else entirely (which might become the subject of another post), I clicked on the c:\windows\assembly folder, and the result was a bit weird:
Specifically, the weirdness was in the icon for the filetype. I wasn't sure if I'd been able to see the contents of this folder in the past, but a bit of research shows this is .NET's answer to the system32 folder's .dll mashup. The folder on my computer is 1.7GB, which seems excessive, but the real problem with it is you can't make sense of what it's showing you - because it's pulling that info from a variety of subfolders, which it hides.
This, in itself, is interesting - and this is info from Geeks With Blogs about how that kind of shell namespace works.
The subfolders can be viewed from a standard command prompt. Easiest way to accomplish this in windows seems to be to use the subst command to map a drive letter to one of the subfolders, e.g.
subst z: %windir%\assembly\GAC
(you can then use subst z: /d to remove it when you've finished).
Alternatively, as the display of the namespace is controlled by desktop.ini, unhiding that and renaming it will cause the file structure to display in Explorer.
Saturday, 5 December 2015
Wednesday, 21 October 2015
Outlook
Many years of using Outlook, never seen this one before. Thanks for the minor heart attack, Microsoft...
E-mails "disappear" due to advanced filter setting on imap folder items
E-mails "disappear" due to advanced filter setting on imap folder items
Saturday, 17 October 2015
Windows 10 "upgrade"
Windows 10. Where do I start? What a mess.
Microsoft have decided that They Know Best and don't want everyone using Windows 7 for the next decade (because it actually works) in the same way that they used XP for a decade (because it actually worked). There's a big push to get everyone on Windows 10 whether they want to use it or not. That's a big problem as 1) there are serious security considerations with the new OS and 2) Microsoft will try to download many gigabytes of data in the background in the hope that you won't notice - whether you want to upgrade or not.
Microsoft has released a knowledgebase article about managing the install process, including preventing install of the updates. Typically (and usurprisingly) it's not exactly a walk in the park for non-technical users.
First things first: Microsoft are offering a free upgrade until next July. Even if you want it, there is no rush.
Generally good idea: turn off "recommended updates" in Windows Update. All you need to have for safety are the security updates, and you can still review the recommended updates and install them if you want to.
If the little Windows 10 square window has appeared in your system tray, at least one of the updates has already installed. To avoid a huge download (and potentially slow connection/extra bills if you're on a restricted connection) do the following:
1) Uninstall the relevant updates. These are KB3021917, KB2952664 and KB3035583 in Windows 7, or KB2976978 and KB3035583 in Windows 8.
2) Check the system drive for hidden folders $Windows.~BT and $Windows.~WS. These can both be deleted if you need the space, but use the command line - they won't all be deleted through Disk Cleanup, despite claims to the contrary. You can leave them if you think you may want to upgrade at some point in the future and the download damage has already been done. (In that case you can right-click on the system tray icon and hide it to stop it bugging you.)
3) Look for the updates listed above, then hide them in Windows updates (or they'll be offered again).
If the icon hasn't appeared yet, go into Windows update, look for the relevant updates and hide them, so they aren't scheduled for download. Setting Windows Update to "notify me but don't download" is an option (and the one I go for personally) but it really only works if you've got the discipline to check through updates as they come in and install the relevant ones, rather than just ignoring the "updates waiting" icon in your system tray. You don't need useless crap, but you do need security patches.
Microsoft have decided that They Know Best and don't want everyone using Windows 7 for the next decade (because it actually works) in the same way that they used XP for a decade (because it actually worked). There's a big push to get everyone on Windows 10 whether they want to use it or not. That's a big problem as 1) there are serious security considerations with the new OS and 2) Microsoft will try to download many gigabytes of data in the background in the hope that you won't notice - whether you want to upgrade or not.
Microsoft has released a knowledgebase article about managing the install process, including preventing install of the updates. Typically (and usurprisingly) it's not exactly a walk in the park for non-technical users.
First things first: Microsoft are offering a free upgrade until next July. Even if you want it, there is no rush.
Generally good idea: turn off "recommended updates" in Windows Update. All you need to have for safety are the security updates, and you can still review the recommended updates and install them if you want to.
If the little Windows 10 square window has appeared in your system tray, at least one of the updates has already installed. To avoid a huge download (and potentially slow connection/extra bills if you're on a restricted connection) do the following:
1) Uninstall the relevant updates. These are KB3021917, KB2952664 and KB3035583 in Windows 7, or KB2976978 and KB3035583 in Windows 8.
2) Check the system drive for hidden folders $Windows.~BT and $Windows.~WS. These can both be deleted if you need the space, but use the command line - they won't all be deleted through Disk Cleanup, despite claims to the contrary. You can leave them if you think you may want to upgrade at some point in the future and the download damage has already been done. (In that case you can right-click on the system tray icon and hide it to stop it bugging you.)
3) Look for the updates listed above, then hide them in Windows updates (or they'll be offered again).
If the icon hasn't appeared yet, go into Windows update, look for the relevant updates and hide them, so they aren't scheduled for download. Setting Windows Update to "notify me but don't download" is an option (and the one I go for personally) but it really only works if you've got the discipline to check through updates as they come in and install the relevant ones, rather than just ignoring the "updates waiting" icon in your system tray. You don't need useless crap, but you do need security patches.
Labels:
big brother,
upgrades that aren't,
win10,
win7,
win8,
windows update
Monday, 24 August 2015
Setting up a NAT network on VirtualBox
VirtualBox is available as a free download from Oracle.
It can be set up in various ways. New in the latest version is something called "NAT network" - essentially allowing you to run several virtual machines that share a virtual network, and NAT through the host machine's network card.
Set-up comprises:
1. Create virtual machines
2. Create virtual network - this affectively sets up the router (which was the bit I didn't realise)
3. Add the virtual machines to the network
Create the virtual network by going to File - Preferences - Network - NAT networks
Add a new one, call it whatever you like, then go into the settings for it and set the network CIDR - by default this is a class A network with a single subnet. If you're going to run a DC on this network with DHCP, untick the "Supports DHCP" option on the NAT network. Essentially, this page is setting up the (virtual) gateway router that sits between the guest VMs (either client or server) and the host (which, to the VMs, is equivalent to the internet). Port forwarding is not required for standard applications.
Having set up the NAT network, all the VMs have to be configured to use it - this is the virtual equivalent of plugging the cable in. Right-click on a VM and choose "Settings", then Network. Click the "Attached to:" drop down and choose "NAT Network". If there is only one NAT network configured, it will be chosen by default. Repeat for all VMs on the same network.
All that remains is to fire up the server VM and set up a static IP address in the same range, and a DHCP scope. Any client VMs can be set up to use DHCP.
It can be set up in various ways. New in the latest version is something called "NAT network" - essentially allowing you to run several virtual machines that share a virtual network, and NAT through the host machine's network card.
Set-up comprises:
1. Create virtual machines
2. Create virtual network - this affectively sets up the router (which was the bit I didn't realise)
3. Add the virtual machines to the network
Create the virtual network by going to File - Preferences - Network - NAT networks
Add a new one, call it whatever you like, then go into the settings for it and set the network CIDR - by default this is a class A network with a single subnet. If you're going to run a DC on this network with DHCP, untick the "Supports DHCP" option on the NAT network. Essentially, this page is setting up the (virtual) gateway router that sits between the guest VMs (either client or server) and the host (which, to the VMs, is equivalent to the internet). Port forwarding is not required for standard applications.
Having set up the NAT network, all the VMs have to be configured to use it - this is the virtual equivalent of plugging the cable in. Right-click on a VM and choose "Settings", then Network. Click the "Attached to:" drop down and choose "NAT Network". If there is only one NAT network configured, it will be chosen by default. Repeat for all VMs on the same network.
All that remains is to fire up the server VM and set up a static IP address in the same range, and a DHCP scope. Any client VMs can be set up to use DHCP.
Wednesday, 19 August 2015
Office registration
For Office 2010 Pro - only had this problem with trying to activate with a VLK.
If it gives peculiar errors on activation, or appears to activate but keeps asking to activate again on reboot, then activate via vbs:
a. Open an administrative command-prompt
b. Run one of the following command-lines based on your Operating System:
x86
cscript "C:\Program Files\Microsoft Office\Office14\ospp.vbs" /act
x64
cscript "C:\Program Files (x86)\Microsoft Office\Office14\ospp.vbs" /act
Slightly (sort of) related: Office performs a licence check whenever you start up an Office product, causing the Office Software Protection Platform service to start. This then doesn't shut down automatically. However, you can set this in the registry (need to create a new value):
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform
ValueName: InactivityShutdownDelay
ValueType: DWORD
ValueData: The number in seconds, that the Office Software Protection Platform will stay running for, after the most recent activity. The windows default for this is 300 seconds.
Details taken from the MS Technet forums.
If it gives peculiar errors on activation, or appears to activate but keeps asking to activate again on reboot, then activate via vbs:
a. Open an administrative command-prompt
b. Run one of the following command-lines based on your Operating System:
x86
cscript "C:\Program Files\Microsoft Office\Office14\ospp.vbs" /act
x64
cscript "C:\Program Files (x86)\Microsoft Office\Office14\ospp.vbs" /act
Slightly (sort of) related: Office performs a licence check whenever you start up an Office product, causing the Office Software Protection Platform service to start. This then doesn't shut down automatically. However, you can set this in the registry (need to create a new value):
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform
ValueName: InactivityShutdownDelay
ValueType: DWORD
ValueData: The number in seconds, that the Office Software Protection Platform will stay running for, after the most recent activity. The windows default for this is 300 seconds.
Details taken from the MS Technet forums.
Tuesday, 18 August 2015
AV rescue
Starting point for AV tools for a USB stick.
(All downloads available from BleepingComputer)
Create a bootable USB flash drive (requires WinPE from Windows ADK)
Will need to amend .cmd file by changing xcopy path.
Anti-rootkit
Malwarebyes Anti-Rootkit
TDSSKiller (only removes the TDSS rootkit)
Vba32 AntiRootkit
McAfee Labs rootkitremover
Panda antirootkit
TrendMicro RootkitBuster
MS Rootkit Revealer
GMER
aswMBR - specifically for MBR rootkits (needs reboot in safe mode)
Anti-malware
AdwCleaner
Malwarebytes AntiMalware
Anti-virus
EmiSoft Emergency kit (portable)
AVG remover
Avast remover
Sophos AV removal (standalone)
Specialist software
RogueKiller - stops running processes
rkill.exe - as above
ComboFix 15 - NB useful to have, USE WITH CAUTION. Win8 or below.
TreeSize Free - identifies storage use
CCleaner - Piriform crap cleaner. Old files.
Recuva - Piriform file recovery
Hijack This - identifies startup hijacks.
Revo uninstaller - (30-day trial)
Process Explorer - task manager on steroids
Desktop utils
HashTab - adds an extra entry to file property page showing checksum. (free/$10)
SpeedFan
(All downloads available from BleepingComputer)
Create a bootable USB flash drive (requires WinPE from Windows ADK)
Will need to amend .cmd file by changing xcopy path.
Anti-rootkit
Malwarebyes Anti-Rootkit
TDSSKiller (only removes the TDSS rootkit)
Vba32 AntiRootkit
McAfee Labs rootkitremover
Panda antirootkit
TrendMicro RootkitBuster
MS Rootkit Revealer
GMER
aswMBR - specifically for MBR rootkits (needs reboot in safe mode)
Anti-malware
AdwCleaner
Malwarebytes AntiMalware
Anti-virus
EmiSoft Emergency kit (portable)
AVG remover
Avast remover
Sophos AV removal (standalone)
Specialist software
RogueKiller - stops running processes
rkill.exe - as above
ComboFix 15 - NB useful to have, USE WITH CAUTION. Win8 or below.
TreeSize Free - identifies storage use
CCleaner - Piriform crap cleaner. Old files.
Recuva - Piriform file recovery
Hijack This - identifies startup hijacks.
Revo uninstaller - (30-day trial)
Process Explorer - task manager on steroids
Desktop utils
HashTab - adds an extra entry to file property page showing checksum. (free/$10)
SpeedFan
Monday, 17 August 2015
Outlook tweaks
With reference to Office 2010 Pro.
Outlook - always defaults on install to minimum usability!
Navigation pane can be turned off from View tab. All folders apart from Sent are in the "Messages" view.
Generally, to change nav pane for all folders, change the default message view.
Specifically here, change the page to suit, then apply current view elsewhere: View tab > Change View > Apply current views to other mail folders...
Select folders from the list which appears. This will not change hidden folders (ones with their own views) or any folders where the view has been manually changed. For the latter, reset all views first: start up Outlook from a command line with switches:
outlook.exe /cleanviews
Navigation pane can be turned off from View tab. All folders apart from Sent are in the "Messages" view.
Generally, to change nav pane for all folders, change the default message view.
Specifically here, change the page to suit, then apply current view elsewhere: View tab > Change View > Apply current views to other mail folders...
Select folders from the list which appears. This will not change hidden folders (ones with their own views) or any folders where the view has been manually changed. For the latter, reset all views first: start up Outlook from a command line with switches:
outlook.exe /cleanviews
Thursday, 6 August 2015
Windows 7 tweaking
Decluttering explorer's navigation pane:
Homegroups: link to How-to Geek
Disable homegroup services. That's it (assuming it wasn't added at install.)
Libraries.
I liken these to having a lady's maid or valet. You say what clothes you want, and those clothes appear as if by magic. If you want a shirt in the middle of the night, you're stuffed - you might know you have it, but good luck with finding it. There's also the danger that the location of some of your clothes is "in the pawn shop," which isn't immediately obvious.
Full tutorial at sevenforums
Removing requires regedit:
HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder
Change permissions on shell folder to give admins full control.
Modify attributes: b090010d removes, b080010d adds.
For Windows 7 x64, the above also needs doing at
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder
Changed pinned Explorer task location (independent of libraries!):
Under properties>shortcut change %windir%\explorer.exe (libraries) to (for example)
Computer: %windir%\explorer.exe shell:MyComputerFolder
My Docs: %windir%\explorer.exe /n,::{450D8FBA-AD25-11D0-98A8-0800361B1103}
User profile: %windir%\explorer.exe shell:Profile
C: drive: %windir%\explorer.exe /e,c:
Change start menu start locations away from libraries: use .reg files at sevenforums as it requires changing the values of entries from one string of gibberish to another. .reg files also provided for changing back. Needs a reload of the hive to work!
Homegroups: link to How-to Geek
Disable homegroup services. That's it (assuming it wasn't added at install.)
Libraries.
I liken these to having a lady's maid or valet. You say what clothes you want, and those clothes appear as if by magic. If you want a shirt in the middle of the night, you're stuffed - you might know you have it, but good luck with finding it. There's also the danger that the location of some of your clothes is "in the pawn shop," which isn't immediately obvious.
Full tutorial at sevenforums
Removing requires regedit:
HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder
Change permissions on shell folder to give admins full control.
Modify attributes: b090010d removes, b080010d adds.
For Windows 7 x64, the above also needs doing at
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder
Changed pinned Explorer task location (independent of libraries!):
Under properties>shortcut change %windir%\explorer.exe (libraries) to (for example)
Computer: %windir%\explorer.exe shell:MyComputerFolder
My Docs: %windir%\explorer.exe /n,::{450D8FBA-AD25-11D0-98A8-0800361B1103}
User profile: %windir%\explorer.exe shell:Profile
C: drive: %windir%\explorer.exe /e,c:
Change start menu start locations away from libraries: use .reg files at sevenforums as it requires changing the values of entries from one string of gibberish to another. .reg files also provided for changing back. Needs a reload of the hive to work!
Subscribe to:
Comments (Atom)
