|
Dave Kreskowiak wrote: You just have to do it once at night, see how long it takes, and schedule it appropriately.
The problem that I face is the electricity for my office just avaialable only between 7am to 7pm from Monday through Friday only. So during most of this time, user need to connect to the server to work with the shared file, we only have two hours at lunch time but I don't think 2 hours will enough for me to scan disk. I post the question in here whether anyone know are there any tool design to calculate the estimate time for the scan disk process. Thank you for your comment!!!
|
|
|
|
|
No, there isn't any tool that will estimate this, because, like us, there's no way for it to predict what is happening during a scan and how fast it's going to go.
You also don't have to scan the disk every night, or every week. Once a month is good.
|
|
|
|
|
As Dave has already said there is no way to find out how long time it might take. But you can make an estimation on what it will atleast take.
First take a very large contiguous file, copy it to another place on the harddrive and calculate how fast your drive is.
For example: if copying 600MB takes 20 seconds you have a speed of 30 MB/s.
What NTFS is doing when you copy a file is reading it in one place, writing it in another place and reading it again in this new place to check if it's correct.
Coincidentally this is (very) simplified what the surface check is doing too.
So if your speed is 30 MB/s it will take atleast 6700 s, which is just a little less than two hours, to control the disk.
This is a physically limited minimum time. On top of this the file system is also checked.
And if there are any problems the whole process might seriously slow down to anything but a stop.
|
|
|
|
|
Mekong River wrote: the electricity for my office just avaialable only between 7am to 7pm from Monday through Friday only
Huh? Who cuts the power after 7:00pm?
Mekong River wrote: don't think 2 hours will enough for me to scan disk.
Give it a try.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Mekong River wrote: Could anyone please let me know how long should it take for this scan disk process?
Difficult to tell since it can vary depending on many hardware factors.
Mekong River wrote: I want to have a proper schedule to scan it without impact to the user.
Probably best to schedule it right after the end of business day, and that can vary from organization to organization. You have to hope that the scheduled tasks end before the next business day begins. A client of mine, ends their business day about 3:30-3:45pm or so, and I schedule all of the maintenance tasks after about 4:00pm.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
In Device Manager, if you expand the Universal Serial Bus controllers node, you see a list of host controllers and hubs. How can I tell what type of device (e.g., mouse, keyboard, flash drive) is connected to a port?
Thanks.
- DC
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Click on view and select "Devices by Connection"
|
|
|
|
|
Thanks, but nothing useful there.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Have you clicked your way through the tree down to the USB Hubs?
In the case of my computer:
ACPI Multiprocessor PC -> Microsoft ACPI-Compliant System -> PCI Bus -> Intel(R) 82801G (ICH7 Family) USB2 Enhanced Host Controller -> USB Root Hub -> Generic USB Hub -> Generic USB Hub -> USB Composite Device -> USB Human Interface Device -> HID Keyboard device.
Otherwise I'm sorry if I have misunderstood your question.
|
|
|
|
|
Jörgen Andersson wrote: Have you clicked your way through the tree down to the USB Hubs?
No, I had not. After drilling all the way down (I was originally looking for something near the top level), it finds the devices in question. Thanks for the clarification.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
I have a WML (inside vbscript) query using a WHERE clause, as in the following:
SELECT * FROM SomeClass WHERE someproperty = somevalue
The problem that I have is figuring out a way to see if the query matches or not. I cannot use the Count property (I get an invalid query error message). Is Nothing an IsNull do not work either, whether it is on the object or its Item property.
Typename on the variable returns SWbemObjectSet
|
|
|
|
|
SWbemObjectSet has the Count property. For example, this script:
Set objWMI = GetObject _
("winmgmts:root\cimv2")
Set colDisks = objWMI.ExecQuery _
("Select * From Win32_LogicalDisk " _
& "Where DeviceId = 'C:'")
WScript.Echo colDisks.Count
will return 1. Count is not accessible when you use SWbemServices.ExecQuery with the wbemFlagForwardOnly flag:
Set objWMI = GetObject _
("winmgmts:root\cimv2")
Set colDisks = objWMI.ExecQuery _
("Select * From Win32_LogicalDisk " _
& "Where DeviceId = 'C:'", , 48)
WScript.Echo colDisks.Count
This script returns this error:
SWbemObjectSet: Unspecified error
but it is difficult to guess what is wrong without seeing any code.
Is Nothing and IsNull don't help either because an empty result set is still a valid SWbemObjectSet object:
Set objWMI = GetObject _
("winmgmts:root\cimv2")
Set colDisks = objWMI.ExecQuery _
("Select * From Win32_LogicalDisk " _
& "Where DeviceId = 'Blah'")
WScript.Echo colDisks.Count
WScript.Echo TypeName(colDisks)
WScript.Echo CStr(colDisks Is Nothing)
WScript.Echo CStr(IsNull(colDisks))
In January you said "Money in April" -
That was two years ago!
B. Python
|
|
|
|
|
There you go:
Option Explicit
Sub CreateHost (HostName, HostType, NTGroupName, AuthTrusted)
On Error Resume Next
Dim objLocator, objService, objHostSetting, objHS, objBTSHost
' Connects to local server WMI Provider BizTalk namespace
Set objLocator = Createobject ("wbemScripting.SWbemLocator")
Set objService = objLocator.ConnectServer(".", "root/MicrosoftBizTalkServer")
if err <> 0 then
wscript.echo "Error Point 1: " & Err.Description
end if
set objBTSHost = objService.ExecQuery("select * from MSBTS_Host where Name = " & HostName)
if err <> 0 then
wscript.echo "Error Point 2: " & Err.Description
end if
wscript.echo objBTSHost.Count
if err <> 0 then
wscript.echo "Error Point 3: " & Err.Description
end if
' More code after this
' ....
end Sub
On Error Resume Next
' Create a host, an instance of it, and associate.
CreateHost "MyHost", 1, "BizTalk Application Users", false
This produces the following output:
Error Point 3: Invalid query.
Thanks.
|
|
|
|
|
HostName seems to be a string, so try to enclose it in single quotes:
"Select * From MSBTS_Host Where Name = '" & HostName & "'"
In January you said "Money in April" -
That was two years ago!
B. Python
|
|
|
|
|
Dear all,
I have Windows Vista Ente. 32 bit running on Intel Core 2 Quad CPU Q6700, 2.66 Ghz cpu, $G ram .
After joining the machine to the domain, it takes about 15 minutes for the O.S. to load, its becomming too slowwww.
Any Ideas about the problem? solutions?
Best regards.
|
|
|
|
|
So what is the machine doing during these 15 minutes? How long does it take if not a member of a domain?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Dear David,
The "Please wait" Msg is displayed the whole loading time (15 min).
If its not a member it takes about ... the usual loading time , may be seconds.
Best regards.
|
|
|
|
|
Sounds like your systems administrator has enabled Roaming Profiles[^] which causes all of your user settings, security policies and some personal files to be stored on the domain server. Each time you login it takes time for them to download. Ask your system administrator if this is the case, I could be wrong.
Best Wishes,
-David Delaune
|
|
|
|
|
Hello to everyobdy,
I just want to know how many DNS entries can be stored inside a Forward Lookup Zone (Primary)...
thanks in advance
Paolo
|
|
|
|
|
Hi,
Im not sure if this is the right place, but i wrote this service app that listen to a tcp connection, but cannot connect to it from a remote computer in the same local network.
I can connect to it locally from the same pc, but not in another.
I was wondering if the is any security settings, or policies in Windows that will prevent the service from receiving a connection?
Do i need special rights for the service and how do i do it?
Can someone point me to the right direction as i cant find any info after days of searching..
fyi
- the app works if not running as a service
- im using administrator account with password
- windows xp sp3
- firewall off, but will work if on if app is not run as service
- sql connection works from remote pc
Thanks
|
|
|
|
|
Dear All,
we develop a notebook.
Some HW design problems,DDC line disconnects; So my os(xp) or graphic driver can't get ddc informations from my display screen. So in Display Properties->setting,it didn't offer 1680*1050 resolution for user to set. By the way, The graphic chipset is intel 945, and the size of my screen is 22 inch;
now ,I want to solve this issue by program.
I use ChangeDisplaysettings to modify this resolution.
unfortunately,it failed,return "the graghics mode is not supported" message; I try to use SetDisplayMode(DirectDraw),but it also failed.
now ,I have no ideas about it . could you give me some professional helps.
thanks in advance.
best regards
Figu
|
|
|
|
|
It won't work unless you have the drivers for the monitor. I've got the very same problem at work and, wow, guess what solved it!
|
|
|
|
|
Hi Dave,
Thanks very much for your reply.
The driver for monitor? we as if haven't any drivers;
Yesterday ,I try to use intel tool(iegd-ced.exe) to make a driver for graphic; yes ,it can solve this issue,but it doesn't pass "digital signer" certification. we are notebook company ,so it is not very good for me.
best regards
Figu
|
|
|
|
|
Dave Kreskowiak wrote: I've got the very same problem at work and, wow, guess what solved it!
Ummm, let me guess it, ..... the appropriate drivers?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Give that man a C-gar!
|
|
|
|