Read windows xp registry on crashed disk - windows-xp

My windows xp machine died on me and I have now attached the disk to my new machine. I need to read the registry to get information out (like all my settings for putty).
How do I read the registry on an attached disk in windows xp?
Thanks.

Try this: http://smallvoid.com/article/winnt-offline-registry-edit.html

In Regedit try:
File ->
Load Hive... ->
Locate file in question from old drive
Or boot from a linux CD and export that way.

Related

The process cannot access the file because another process has locked a portion of the file - VMWare Centos7

The process cannot access the file because another process has locked
a portion of the file
Cannot open the disk 'C:\Users\Umair\Documents\Virtual
Machines\CentOS_pg\Windows 10 x64.vmdk' or one of the snapshot disks
it depends on.
Module 'Disk' power on failed.
Failed to start the virtual machine.
Create the backup of virtual Machine Directory.
Remove *.lck files or move to another directory
Restart the VM.

Is there a way to keep Windows EFS encryption metadata in place when uploading a file to Linux?

I am trying to copy an EFS Encrypted zip file from Windows to a Linux server (through OpenSSH scp). It was encrypted using the PowerShell .Encrypt() method. Unfortunately, for whatever reason, when I download the file from the Linux server to a Windows machine, it can't be opened because the Windows machine does not detect it's EFS encrypted, and just regards it as an unreadable zip file.
I have exported the EFS key from the first computer and installed it on the computer that opens the file. The file is successfully detected as an EFS encrypted file when I use a USB key to move the file around and can be opened properly.
The PowerShell script that I'm trying to create should be invisible to the user. Another question is: could creating and mounting a VHDX file still be part of a script that doesn't interrupt the normal workflow of the user?

Slamdata error when mounting: An unknown error ocurred: 500 ""

I have once before mounted this same database, so I am confident that I have the correct credentials.
During the last session that I had it mounted I was experimenting with my queries, visuals etc. and the session all of a sudden crashed.
Then when I reloaded slamdata, the mount for my database was gone.
Obviously I then tried to remount the same database with the same credentials in order to continue my work. However when I did this I got an error:
There was a problem saving the mount: An unknown error ocurred: 500 ""
And then there is a never ending spin wheel that sits on the mount button. I can leave this pop up and go to the original screen, but nothing occurs. And then if I try to remount again the same error occurs.
I have verified that I can still access my db and collections using robomongo. So if anyone knows what this error message refers to please let me know! I have yet to find its meaning online.
Note: I have already tried uninstalling and reinstalling/ restarted my computer.
In SlamData 4.2.1 this bug has been identified and fixed an issue with the MongoDB connecter that would corrupt the metastore if you use the _id field in a query. The fix is available in the SlamData 4.2.2 release soon
Below is the fix:
Delete the current metastore. Below is the location of this file for each supported operating system:
Mac OS:
$HOME/Library/Application Support/quasar/quasar-metastore.db.mv.db
Microsoft Windows:
%HOMEDIR%\AppData\Local\quasar\quasar-metastore.db.mv.db
Linux (various vendors):
$HOME/.config/quasar/quasar-metastore.db.mv.db
Open a terminal and switch to the location that you stored SlamData into. You should find a quasar-web.jar file in the following location based on your installed operating system based on default installation paths:
Mac OS:
/Applications/SlamData 4.2.1.app/Contents/java/app/quasar-web.jar
Microsoft Windows:
C:\Program Files (x86)\slamdata 4.2.1\quasar-web.jar
Linux (various vendors):
$HOME/SlamData 4.2.1/quasar-web.jar
Run the following command in a terminal:
java -jar quasar-web.jar initUpdateMetaStore
This will rebuild your metastore. Once complete it will return you to your operating system prompt.
Rerun the SlamData application as you normally would
Remount your database
At this point in time you can access your saved workspaces.
NOTE: You will not want to open the workspace you were using that caused this issue as it will cause the same problem.

Powershell script to copy files to remote server

I'd like to have files on a local machine and copy them to a remote machine on the internet. For this reason, I can't use UNC files shares. I'd also like to avoid using MSDeploy or FTP if possible. Does powershell have an easy way to copy a bunch of files to a remote server?
Look at BitsTransfer module, might help you - http://technet.microsoft.com/en-us/library/dd819420.aspx
When the remote server is a Linux or UNIX system, I use PSCP.EXE, the Windows SCP client created by the developer of Putty. I also use Puttygen to create a key pair that can be used instead of interactive password authentication.

pgAdmin - Sharing DB Connection Definitions

I have a few database servers and few developers.
I have set up database connection definitions on my PC for each servers and now I want to share with other developers but I was not sure how to export and import the definitions.
I am running pgAdmin 1.10.2 on Ubuntu 10.04 (lucid).
You should have a .pgadmin3 conf file in your home directory. You just need to give that one to your fellow developers.
By the way, for those looking for the answer to this question on the Windows platform, the server definitions are stored in the Windows registry at HKEY_CURRENT_USER\Software\pgAdmin III\Servers
You can export this key to a .reg file and share it. However, due to the naming of the keys, it will likely overwrite any existing keys in the target registry.
On Original Computer
Export the server definitions found in Windows registry found here:
Windows Key > regedit
HKEY_CURRENT_USER\Software\pgAdmin III\Servers
Right Click on Servers Folder and click Export
Leave the default radio button 'Selected Branch' the way it is. This will be how it knows where to insert it when you want to import it.
Choose a name for your file (e.g. pgadminServers) and click Save
This is the file you will use to import to another computer (which ideally has the same version of pgAdmin)
On New Computer
Make sure pgadmin is not currently open
Windows Key > regedit
File > Import > Choose your pgadminServers.reg file.
Click Ok to the alert that says 'The keys and values contained in //filepath have been successfully added to the registry.'
Close or exit the registry editor
Launch pgAdmin
PgAdmin 4 stores the server connection details in an SQLite3 file.
In Windows this file is located at:
%APPDATA%\pgAdmin\pgadmin4.db
In Linux it lives at:
/var/lib/pgadmin4/pgadmin4.db
You can configure a custom location by editing
config_local.py file.
Not enough reputation, else I would add a comment to #ojhurst
IF you leave your pgAdmin III open or have already added a server and then import the pgadminServers.reg file
Edit that file (or modify entry in registry) the following entry
[HKEY_USERS\S-1-5-21-....-1140347\Software\pgAdmin III\Servers]
"Count"=dword:0000001
to the total count of servers (e.g. 53)
[HKEY_USERS\S-1-5-21-....-1140347\Software\pgAdmin III\Servers]
"Count"=dword:0000053