How to connect to a Remote Registry on a Windows 7 or higher

October 30, 2013

Often you need to make changes to the user’s Registry to solve issues.

But that is easier said then done, even if you are an administrator Sad smile

(giving the conditions that you had not set all prerequisites already using Group Policy settngs)

So here we go :

– first get a version of MS Sys Internals – PStools    In my case the latest version 2.0, did not work !   So I went back to version 1.98.0.0

Once you start the PSEXEX cmd make sure you use the –h parameter to run with elevated permissions.

-h    If the target system is Vista or higher, has the process run with the account’s elevated token, if available.

Example :

PsExec.exe -h \\PC_NAME cmd

Once started you can see in the CMD prompt windows that you connected correctly.

image

Now run the following cmd :

netsh firewall set service REMOTEADMIN ENABLE SUBNET

image

Next start on your machine AND the remote PC the following cmd :

net start RemoteRegistry

image

Check on both sides if it is started.

Now you are ready to connect to the remote registry using the GUI

image

Enjoy !


Windows Disk Space – Software Distribution

October 15, 2013

Sometimes you run out of disk space on a PC or even a Server !!

Especially on the C drive this will become serious to keep everything running smoothly.

Apart from deleting the rubbish, you can follow this procedure to free up major disk space.

Follow this procedure to get rid of the C:\WINDOWS\SoftwareDistribution\Download

1. Is it safe to delete files Under C:\WINDOWS\SoftwareDistribution\Download

Yes, taken in account you follow these steps :

Start> Run

type cmd and press enter
type net stop wuauserv and press enter
type rename c:\windows\SoftwareDistribution Softwaredistribution.old and press enter
type net start wuauserv and press enter
type exit and press enter
 
Verify that the new software distribution folder created when you restart the update service. You will notice it will create the missing subfolders again and populate ONLY the downloads that you are missing and not the whole historical downloads.

Restart the computer and del the folder if you have no issues.

SD Downloads is auto cleaned after a couple of weeks.
Purging more often than that can be done by stopping the service, clearing the downloads dir, then restarting WAU.

This will save you a lot of Gb’s !!

2. Is it safe to delete the  SxS folder

should not be purged entirely, but you can clean up older and duplicate cache files with DISM:

    dism /online /cleanup-image /spsuperseded

Then, cleaning up temp spaces, such as with DiskCleanup helps.

Enjoy !


Internet Explorer – Development Tools F12 annoyance

October 14, 2013

Sometimes you encounter this annoyance pressing F12 to get the IE Development tools to pop up.

But nothing happens Sad smile

image

You can see the window is active in the background though ?

Solution to fix it is the following :

Select the Developer Tools window – right click it and select Maximize

image

Next when the window is open. Click on the window title bar and drag it to resize.

image

Done !