POV-Ray : Newsgroups : povray.off-topic : Simple Windows question Server Time
14 Oct 2026 22:21:18 EDT (-0400)
  Simple Windows question (Message 1 to 20 of 20)  
From: Darren New
Subject: Simple Windows question
Date: 26 Feb 2008 22:40:13
Message: <47c4db9d$1@news.povray.org>
Does anyone know the UNC syntax for accessing an entire disk under 
Windows? I don't mean one partition, but the entire disk, and in 
particular the MBR and partition table.

\\.\C: does it for the C: partition, the first 512 bytes of which are 
the boot record, for example.

But I want to be able to read the MBR, and I'm wondering if there's 
something the equivalent of Linux's /dev/hda, given that the equivalent 
of /dev/hda1 exists on Windows.

Thanks for any suggestions to try. Note that \\.\physicaldrive0 doesnt 
work. :-)

I will say this for Linux: it's a heck of a lot easier to figure out how 
to move system files around. Windows does its damnedest to keep you from 
copying the registry to a new, bigger disk. :-)

I can't figure out the "automated system restore" at all. The backup 
program won't write to DVDs, and the restore program won't read from the 
network or USB drives. How the heck are you supposed to restore the 
backup it made without installing a second disk drive or something? 
Stupid, stupid, stupid. Even with a windows LiveCD it's tedious and 
painful, and assumes your new drive is at least twice as big as the old 
partition.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: Darren New
Subject: Re: Simple Windows question
Date: 26 Feb 2008 22:57:12
Message: <47c4df98@news.povray.org>
Darren New wrote:
> Thanks for any suggestions to try. Note that \\.\physicaldrive0 doesnt 
> work. :-)

Nevermind. The right google term (after 3 days of googling) is "physical 
drive". That goes to http://support.microsoft.com/kb/q100027/ which says 
\\.\physicaldrive0 should work. I must be doing it wrong.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: nemesis
Subject: Re: Simple Windows question
Date: 27 Feb 2008 01:25:00
Message: <web.47c5012f62deceb35f81c41d0@news.povray.org>
whatever it is, if there is such a thing it may be hidden behind a button
somewhere... ;)


Post a reply to this message

From: nemesis
Subject: Re: Simple Windows question
Date: 27 Feb 2008 01:25:01
Message: <web.47c5018962deceb35f81c41d0@news.povray.org>
uh-oh


Post a reply to this message

From: Darren New
Subject: Re: Simple Windows question
Date: 27 Feb 2008 01:47:34
Message: <47c50786$1@news.povray.org>
Darren New wrote:
> Darren New wrote:
>> Thanks for any suggestions to try. Note that \\.\physicaldrive0 doesnt 
>> work. :-)
> 
> Nevermind. The right google term (after 3 days of googling) is "physical 
> drive". That goes to http://support.microsoft.com/kb/q100027/ which says 
> \\.\physicaldrive0 should work. I must be doing it wrong.

And then, five minutes later, trying it one last time out of 
frustration, exactly the same as before, it now works. W. T. F??

I guess something had the drive locked or some such, and I wasn't 
getting back particularly informative error messages?

Oh well, I guess I'll see if it works where I really want it to work.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: Eero Ahonen
Subject: Re: Simple Windows question
Date: 27 Feb 2008 06:35:40
Message: <47c54b0c$1@news.povray.org>
Darren New wrote:
> 
> And then, five minutes later, trying it one last time out of 
> frustration, exactly the same as before, it now works. W. T. F??
>

You're slowly getting enough Linux -oriented to get Windows jamming as 
others of us have gotten for years ;).

> I guess something had the drive locked or some such, and I wasn't 
> getting back particularly informative error messages?

Actually, that's probably a lot better reason.

> Oh well, I guess I'll see if it works where I really want it to work.

Note that if it's about locking oslt, you can't be sure that it'll work 
always when needed :(.

-- 
Eero "Aero" Ahonen
    http://www.zbxt.net
       aer### [at] removethiszbxtnetinvalid


Post a reply to this message

From: Invisible
Subject: Re: Simple Windows question
Date: 27 Feb 2008 06:41:03
Message: <47c54c4f$1@news.povray.org>
Eero Ahonen wrote:

>> Oh well, I guess I'll see if it works where I really want it to work.
> 
> Note that if it's about locking oslt, you can't be sure that it'll work 
> always when needed :(.

You think that's random? On one of our servers, there are some folders 
in the recycle bin which *cannot* be deleted. Every time you try it 
complains that they're "in use". Despite the fact that the server has 
been rebooted God knows how many times over the years. But still these 
files cannot be removed.

Fortunately they're small...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Eero Ahonen
Subject: Re: Simple Windows question
Date: 27 Feb 2008 07:10:41
Message: <47c55341$1@news.povray.org>
Invisible wrote:
> 
> You think that's random? 

Nope. I think that if information needed for one process can be locked 
out by some other process, they might get to hit at the same time.

> On one of our servers, there are some folders 
> in the recycle bin which *cannot* be deleted. Every time you try it 
> complains that they're "in use". Despite the fact that the server has 
> been rebooted God knows how many times over the years. But still these 
> files cannot be removed.
> 
> Fortunately they're small...

Have you tried booting to fail safe mode and removing there? Right now 
someone (I'd guess Darren;) could tell you a Windows-utility equal to 
*n?x -sides lsof (LiSt of Open Files), meaning a utility which can tell 
you which process is using which open file (we have one at work, but I 
don't remember the name, so I won't get it until next week).


-- 
Eero "Aero" Ahonen
    http://www.zbxt.net
       aer### [at] removethiszbxtnetinvalid


Post a reply to this message

From: Invisible
Subject: Re: Simple Windows question
Date: 27 Feb 2008 07:16:02
Message: <47c55482$1@news.povray.org>
Eero Ahonen wrote:

>> On one of our servers, there are some folders in the recycle bin which 
>> *cannot* be deleted. Every time you try it complains that they're "in 
>> use". Despite the fact that the server has been rebooted God knows how 
>> many times over the years. But still these files cannot be removed.
>>
>> Fortunately they're small...
> 
> Have you tried booting to fail safe mode and removing there?

People get kinda annoyed if you do stuff to the server they're trying to 
use...

> Right now 
> someone (I'd guess Darren;) could tell you a Windows-utility equal to 
> *n?x -sides lsof (LiSt of Open Files), meaning a utility which can tell 
> you which process is using which open file (we have one at work, but I 
> don't remember the name, so I won't get it until next week).

I believe you can find this information from the "server" applet from 
the control panel.

Nope, wait, that's only for Windows NT. They removed it in Windows XP. 
Hold on... Ah yes, Computer Management. There's a "Shared Folders" item 
in the right pane, with an "Open Files" subitem.

Alternatively, either PS Tools or Process Explorer from System Internals 
might help you. [Altough given that M$ now ownes that, maybe not...]

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Eero Ahonen
Subject: Re: Simple Windows question
Date: 27 Feb 2008 07:41:23
Message: <47c55a73$1@news.povray.org>
Invisible wrote:
> 
> People get kinda annoyed if you do stuff to the server they're trying to 
> use...

That's why there are times called "service windows". On a service window 
people are *not* using the server so you can do stuff on it.

> I believe you can find this information from the "server" applet from 
> the control panel.
> 
> Nope, wait, that's only for Windows NT. They removed it in Windows XP. 
> Hold on... Ah yes, Computer Management. There's a "Shared Folders" item 
> in the right pane, with an "Open Files" subitem.

I'm not actually sure if that subitem tells you everything, but have you 
checked there? Of course, you should check it form the server, not your 
workstation (I surely hope your servers are not running XP).

> Alternatively, either PS Tools or Process Explorer from System Internals 
> might help you. [Altough given that M$ now ownes that, maybe not...]

Possibly. Go and find out, who's (ab)using your recycle bins ;).

-- 
Eero "Aero" Ahonen
    http://www.zbxt.net
       aer### [at] removethiszbxtnetinvalid


Post a reply to this message

From: Invisible
Subject: Re: Simple Windows question
Date: 27 Feb 2008 07:46:04
Message: <47c55b8c$1@news.povray.org>
Eero Ahonen wrote:
> Invisible wrote:
>>
>> People get kinda annoyed if you do stuff to the server they're trying 
>> to use...
> 
> That's why there are times called "service windows". On a service window 
> people are *not* using the server so you can do stuff on it.

I doubt anybody is going to pay overtime so I can remove a couple of 
items from the recycle bin.

>> I believe you can find this information from the "server" applet from 
>> the control panel.
>>
>> Nope, wait, that's only for Windows NT. They removed it in Windows XP. 
>> Hold on... Ah yes, Computer Management. There's a "Shared Folders" 
>> item in the right pane, with an "Open Files" subitem.
> 
> I'm not actually sure if that subitem tells you everything, but have you 
> checked there? Of course, you should check it form the server, not your 
> workstation (I surely hope your servers are not running XP).

This particular server is running Windows 2000 Server, which has the 
same Control Panel layout.

>> Alternatively, either PS Tools or Process Explorer from System 
>> Internals might help you. [Altough given that M$ now ownes that, maybe 
>> not...]
> 
> Possibly. Go and find out, who's (ab)using your recycle bins ;).

Well, these folders are managed by our automated project ****-up system, 
so I imagine that's probably the source of the trouble...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Eero Ahonen
Subject: Re: Simple Windows question
Date: 27 Feb 2008 08:19:48
Message: <47c56374$1@news.povray.org>
Invisible wrote:
> 
> I doubt anybody is going to pay overtime so I can remove a couple of 
> items from the recycle bin.
> 

Don't doubt it - ask for it. If not allowed, at least you'll know 
service windows are not considered needed, which means the servers can 
be maintained during work ours (you should explain this while asking for 
service windows).

> This particular server is running Windows 2000 Server, which has the 
> same Control Panel layout.

I assumed so :).

> Well, these folders are managed by our automated project ****-up system, 
> so I imagine that's probably the source of the trouble...

Sound very possible.

-- 
Eero "Aero" Ahonen
    http://www.zbxt.net
       aer### [at] removethiszbxtnetinvalid


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Simple Windows question
Date: 27 Feb 2008 11:29:44
Message: <47c58ff8$1@news.povray.org>
Eero Ahonen escribió:
> Invisible wrote:
>> Alternatively, either PS Tools or Process Explorer from System 
>> Internals might help you. [Altough given that M$ now ownes that, maybe 
>> not...]
> 
> Possibly. Go and find out, who's (ab)using your recycle bins ;).
> 

And not only find out, you can also force the file handle closed and 
delete the files. But there is a high chance of having the owning 
process crash if it tries to do something with that file handle it 
thought was open...


Post a reply to this message

From: Darren New
Subject: Re: Simple Windows question
Date: 27 Feb 2008 11:38:43
Message: <47c59213$1@news.povray.org>
Eero Ahonen wrote:
> You're slowly getting enough Linux -oriented to get Windows jamming as 
> others of us have gotten for years ;).

Well, this is the first time I've tried to do something really 
system-level in Windows. And I no longer have a working C compiler 
installed under Windows (using all interpreters/VMs), so I can't put in 
the exact calls I need.

MS doesn't exactly make the baroque stuff easy to find on their web 
site, either - especially when they're trying to push you to use the new 
stuff. :-)

I've always had minor annoyances with Windows, and never said Linux was 
bad as such. Never disputed that. They're just *different* annoyances 
than with Linux. :-)

It's like arguing over whether compiled or interpreted code is "better". 
Meaningless unless you talk about specific situations.

>> I guess something had the drive locked or some such, and I wasn't 
>> getting back particularly informative error messages?
> 
> Actually, that's probably a lot better reason.

Except it didn't work when booting off a liveCD, so I can't imagine 
what's locking drives at that level.

>> Oh well, I guess I'll see if it works where I really want it to work.
> 
> Note that if it's about locking oslt, you can't be sure that it'll work 
> always when needed :(.

It would probably work reliably if I actually had a compiler so I could 
make the right calls. :-)  It's not enough of a hassle yet to actually 
find and download a free windows compiler. Yet.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: Darren New
Subject: Re: Simple Windows question
Date: 27 Feb 2008 11:42:54
Message: <47c5930e@news.povray.org>
Invisible wrote:
> You think that's random? On one of our servers, there are some folders 
> in the recycle bin which *cannot* be deleted. Every time you try it 
> complains that they're "in use".

They're probably not really in use. :-)

In addition to the advice already given (safe mode, etc) there are also 
utilities that will set up entries in the registry that will make the 
boot process rename or delete the file before anything else starts
<http://lifehacker.com/software/how-to/delete-a-locked-file-in-windows-266433.php>
or you can boot a liveCD (google "bartPE") so you're not booting the 
server system at all.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Simple Windows question
Date: 27 Feb 2008 11:44:38
Message: <47c59376@news.povray.org>
Darren New escribió:
> It would probably work reliably if I actually had a compiler so I could 
> make the right calls. :-)  It's not enough of a hassle yet to actually 
> find and download a free windows compiler. Yet.

I used these instructions:
http://arrozcru.no-ip.org/ffmpeg_wiki/tiki-index.php?page=MSys_MinGW

You could also get cygwin, which is probably easier to set up.


Post a reply to this message

From: Darren New
Subject: Re: Simple Windows question
Date: 27 Feb 2008 11:52:30
Message: <47c5954e$1@news.povray.org>
Nicolas Alvarez wrote:
> I used these instructions:
> http://arrozcru.no-ip.org/ffmpeg_wiki/tiki-index.php?page=MSys_MinGW

Thank you!

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: KalleK
Subject: Re: Simple Windows question
Date: 27 Feb 2008 12:52:35
Message: <47c5a363$1@news.povray.org>
Invisible schrieb:
> Eero Ahonen wrote:
> 
>>> Oh well, I guess I'll see if it works where I really want it to work.
>>
>> Note that if it's about locking oslt, you can't be sure that it'll
>> work always when needed :(.
> 
> You think that's random? On one of our servers, there are some folders
> in the recycle bin which *cannot* be deleted. Every time you try it
> complains that they're "in use". Despite the fact that the server has
> been rebooted God knows how many times over the years. But still these
> files cannot be removed.
> 

http://ccollomb.free.fr/unlocker/
Using this tool at least once a week

kk

> Fortunately they're small...
>


Post a reply to this message

From: Tom Austin
Subject: Re: Simple Windows question
Date: 28 Feb 2008 08:46:31
Message: <47c6bb37$1@news.povray.org>
nemesis wrote:
> whatever it is, if there is such a thing it may be hidden behind a button
> somewhere... ;)
> 
> 

It got lost between the 'z' and the 'windows' key


Post a reply to this message

From: Eero Ahonen
Subject: Re: Simple Windows question
Date: 28 Feb 2008 16:22:13
Message: <47c72605$1@news.povray.org>
Darren New wrote:
> Eero Ahonen wrote:
>> You're slowly getting enough Linux -oriented to get Windows jamming as 
>> others of us have gotten for years ;).
> 
-clip-
> I've always had minor annoyances with Windows, and never said Linux was 
> bad as such. Never disputed that. They're just *different* annoyances 
> than with Linux. :-)

Yep. Now I have to make sure you did notice the smiley on my text ;). 
You just seem to have a bad habit to find out mysterious things from 
Windows - the ones listed as missing options etc...

>> Actually, that's probably a lot better reason.
> 
> Except it didn't work when booting off a liveCD, so I can't imagine 
> what's locking drives at that level.

Agh, then it's surely something else. Go figure...

-- 
Eero "Aero" Ahonen
    http://www.zbxt.net
       aer### [at] removethiszbxtnetinvalid


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.