POV-Ray : Newsgroups : povray.off-topic : Simple Windows question Server Time
4 Nov 2024 13:16:04 EST (-0500)
  Simple Windows question (Message 1 to 10 of 20)  
Goto Latest 10 Messages Next 10 Messages >>>
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

Goto Latest 10 Messages Next 10 Messages >>>

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