Sign in
Antimail
Adi Oltean's Weblog - Flashbacks on technology, programming, and other interesting things
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NET
Bing
Classification
Click or miss
FCI
FSRM
gaming
Pages
Programming
Puzzles
Questions
Science
Script recipes
Storage
Vista
VSS
Web Search
Windows Server
Windows XP
XBox
XBox, gaming
Archive
Archives
September 2009
(1)
June 2009
(2)
May 2009
(7)
February 2008
(1)
January 2008
(1)
December 2007
(2)
November 2007
(4)
October 2007
(4)
September 2007
(1)
May 2007
(1)
March 2007
(2)
February 2007
(2)
January 2007
(3)
December 2006
(2)
November 2006
(3)
October 2006
(3)
September 2006
(6)
August 2006
(12)
July 2006
(2)
June 2006
(4)
May 2006
(3)
April 2006
(5)
March 2006
(6)
February 2006
(3)
January 2006
(23)
December 2005
(17)
November 2005
(14)
October 2005
(9)
September 2005
(27)
August 2005
(22)
July 2005
(19)
June 2005
(36)
May 2005
(29)
April 2005
(21)
March 2005
(15)
February 2005
(17)
January 2005
(19)
December 2004
(23)
November 2004
(14)
August 2004
(1)
July 2004
(3)
June 2004
(5)
May 2004
(2)
April 2004
(2)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Antimail
Running CMD.EXE as Local System
Posted
over 9 years ago
by
Adi Oltean
4
Comments
Many times in the past I had to run an interactive command-line shell under the Local SYSTEM account. That is, a CMD window on your desktop running under the system account. This technique is extremely useful in many cases, for example to debug ERROR_ACCESS_DENIED...
Antimail
Useful copy/paste trick in CMD.EXE
Posted
over 9 years ago
by
Adi Oltean
12
Comments
Many people have trouble doing copy/paste in CMD.EXE. Indeed, there are no keyboard shortucts for this thing, and the selection of the text to copy can only be done through the mouse. You have to go to the system menu, select "Copy", then do your selection...
Antimail
Script recipe of the week: how to copy an opened file
Posted
over 8 years ago
by
Adi Oltean
27
Comments
I just read recently a post on the newsgroups - someone wanted to backup her PST file. The problem is that Outlook keeps this file open all the time, therefore we are unable to just copy this file once in a while. Argh... A cute little script ...
Antimail
A bit of black magic: How to assign drive letters to VSS shadow copies... on Windows XP !
Posted
over 7 years ago
by
Adi Oltean
13
Comments
A while back, I wrote a post on how to assign drive letters to shadow copies. On Windows Server 2003, the solution is simple, as there is already an API (called ExposeSnapshots()) to assign a drive letter to a shadow copy device. This API can be exercised...
Antimail
Don't disable system services! (unless you REALLY know what you are doing)
Posted
over 9 years ago
by
Adi Oltean
11
Comments
(1) The problem While searching the newsgroups I found out an interesting issue. It seems that many people are manually disabling some System Services, like "Volume Shadow Copy" (VSS) or "MS Software Shadow Copy Provider" (SWPRV). While this seems to...
Antimail
How to write a DCOM server in C#
Posted
over 9 years ago
by
Adi Oltean
12
Comments
Updated 12/06/2006 : http://msdn2.microsoft.com/en-gb/library/system.runtime.interopservices.registrationservices.unregistertypeforcomclients.aspx states that PInvoking CoRegisterClassObject is a technique which is not supported. Well, why DCOM and...
Antimail
Attack of the clones: how to assign a drive letter or directory to a shadow copy
Posted
over 8 years ago
by
Adi Oltean
17
Comments
In one of my previous posts I mentioned a simple script to copy a file from a shadow copy. This allows you to access files that are opened exclusively by some application. You won't have enough drive letters... Here I present a similar script (let...
Antimail
When CoCreateInstance returns 0x80080005 (CO_E_SERVER_EXEC_FAILURE)
Posted
over 8 years ago
by
Adi Oltean
3
Comments
A sneaky error The following post summarizes my personal experience with a subtle COM error. CO_E_SERVER_EXEC_FAILURE (0x80080005) is an error which can be randomly returned by CoCreateInstance() if you are using an out-of-process COM server. As far...
Antimail
Creating shadow copies from the command line.
Posted
over 9 years ago
by
Adi Oltean
3
Comments
A less-known feature in Windows XP and Server 2003 is the command-line support for shadow copies. The command is called VSSADMIN.EXE and is already present in the operating system - just run it without parameters and you will see some sample usage. Here...
Antimail
NTFS Curiosities (part 2): Volumes, volume names and mount points
Posted
over 8 years ago
by
Adi Oltean
14
Comments
In the old days of MS-DOS and Windows 95 you could identify any volume by its drive letter. Things were so easy. But not anymore after we shipped Windows 2000. In W2K you could also have mount points - volumes mounted under certain directories. This feature...
Antimail
DOSDEV.EXE - a misterious tool
Posted
over 8 years ago
by
Adi Oltean
4
Comments
Once in a while, you might encounter this tool in some Microsoft-provided SDKs, or Resource Kits, for example in the Windows Resource Kit, the Exchange Report Toolkit, and others. But this tool never came with any relevant documentation. It just displays...
Antimail
The VSS (Volume Shadow Copy) SDK is available for download
Posted
over 9 years ago
by
Adi Oltean
7
Comments
This is the link: http://www.microsoft.com/downloads/details.aspx?FamilyID=0B4F56E4-0CCC-4626-826A-ED2C4C95C871&displaylang=en You can use this SDK to develop VSS requestors, writers and providers. For example, you can write code that define and...
Antimail
Downloads - Microsoft Research
Posted
over 9 years ago
by
Adi Oltean
4
Comments
Accidentally, I just discovered an interesting web page with all sorts of curious (downloadable) projects developed by various teams from Microsoft Research: http://www.research.microsoft.com/research/downloads/
Antimail
A simple way to access Shadow Copies in Vista
Posted
over 5 years ago
by
Adi Oltean
29
Comments
In the past, I presented various ways to browse these mysterious device objects called "shadow copies". Shadow copies are static images in time (snapshots) of your volume contents, at some point in the past. These shadow copies are volumes on...
Antimail
VSS writers and inconsistent shadow copies
Posted
over 8 years ago
by
Adi Oltean
0
Comments
A few days ago, a customer told me that he encountered a weird error while using NTBackup to backup the system. The error text looked like this in backup log: Media name: "System State.bkf created 8/29/2005 at 5:38 PM" Volume shadow copy creation...
Antimail
NTFS curiosities (Part I): Short file names
Posted
over 8 years ago
by
Adi Oltean
7
Comments
Aaron Stebner noted that it is possible to configure Windows to always use short file names. This is a legacy feature left over from the Windows 95 land. Sometimes, you just have to run some old MS-DOS applications. These apps will get confused about...
Antimail
Who hogs down my CPU?
Posted
over 9 years ago
by
Adi Oltean
6
Comments
I always wanted to find a simple way to figure out the answer for this puzzling question. Usually I ended up opening Task Manager to find out what process eats all my CPU resources. But this doesn't work in most of the cases. For example, what about the...
Antimail
How you can uniquely identify a LUN in a Storage Area Network
Posted
over 9 years ago
by
Adi Oltean
0
Comments
A SAN is a complex animal From the first minute you try to understand it, you might be overwhelmed by the cascade of new things: fibre switches, multi-path software, redundant controllers, disk enclosures etc. But the idea is pretty simple. In a few words...
Antimail
Puzzle: geometry problem
Posted
over 8 years ago
by
Adi Oltean
18
Comments
Here is a fun one: The triangle ABC is isoseceles, with angle (ABC) = angle (ACB) = 80°. We draw now two segments inside the triangle. First, we choose the point D on segment AC such that angle (CBD) is 60°. Also, we choose the point E on AB, where angle...
Antimail
How to do atomic writes in a file
Posted
over 8 years ago
by
Adi Oltean
3
Comments
Let's assume that you want is to write some simple code that writes to a text file. A few assumptions: 1) You need avoid corruptions of any kind. 2) Either all of your writes have to make it to the disk, or none of them. 3) The file is updated serially...
Antimail
Hurricane Katrina: Plea for help revealed by satellite imagery
Posted
over 8 years ago
by
Adi Oltean
5
Comments
I hope that the right people already know about this particular message for help: This message was noticed three days ago by Scott Stanfield, on the latest NOAA imagery released on the web on September 1, and posted by Jeff Atwood in his blog. ...
Antimail
Windows Server 2003 R2 Beta is now available for download/preview
Posted
over 8 years ago
by
Adi Oltean
6
Comments
First - what is R2? Think of it as an "storage enhancement pack" for Windows Server 2003 SP1. It comes as an additional CD with a set of optional Windows components, mostly for storage management (DFS/FRS, Storage and SAN management, a better NFS implementation...
Antimail
Nostalgia: Turbo Pascal 5.5
Posted
over 8 years ago
by
Adi Oltean
8
Comments
I recently noticed that Borland made the famous Turbo Pascal 5.5 available for free download. I couldn't resist to give it a quick run: During my college years at University of Bucharest this was the development IDE that everyone used it. I liked it because...
Antimail
Launching a CMD window as Local System
Posted
over 9 years ago
by
Adi Oltean
5
Comments
What is your favorite method of launching CMD.EXE as Local System? I found the following method after a little experimentation. Just run the command below to create a generic service called TESTSVC. C:\>sc create testsvc binpath= "cmd /K start" type...
Antimail
Tips for deploying Shadow copies for Shared Folders
Posted
over 9 years ago
by
Adi Oltean
2
Comments
Shadow copies for shared folders (in short, SCSF) requires two steps in deployment: 1) Enabling shadow copy creation at the file server side. With this, you ensure that files exposed in your shares on this server will have previous versions. 2) Ensuring...
Page 1 of 16 (398 items)
1
2
3
4
5
»