|
My advice would be:
1) Install a new hard drive, and format it
2) Install Norton Ghost, and Ghost each of the old partitions to the new drive
3) Run the upgrade
If it goes horribly wrong, simply use Ghost again, and you can get back to exactly as you were before the upgrade. Then, armed with your new0found experience, you can have another go.
|
|
|
|
|
how to make it search inside all files?
(my try searches just inside .cpp (maybe in something else i haven't too), ignores .php .h .dsp etc.)
(when i search just for file name it finds all)
command line find.exe is ok
win xp professional, sp1 or sp2
|
|
|
|
|
Tibor Blazko wrote:
how to make it search inside all files?
What do you want to ask about??? Could you ask again with more detail question?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
did try search for files and folders (from start menu)?
for me it does not work
|
|
|
|
|
Tibor Blazko wrote:
for me it does not work
Does it mean that search dialog box not apprea? Or the search did not supply any result?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
dialog opens, finds in some file types:
(my try searches just inside .cpp (maybe in something else i haven't too), ignores .php .h .dsp etc.)
(when i search just for file name it finds all)
|
|
|
|
|
Hi, I have a work group computer at my office and 2 printer. One printer connect to the computer using LPT port and share it to the other people in the organization. The other print has it own IP address build in so it could share to any people without connect to any other machine.
NOW, the problem is came in. There are many people that print to those printer so much and administration section could not control which user print a lot of document. As a summary record on manually, those printer print around 500 pages everyday. From here, what I just want are:
1. How to set the printer priority for the printer? Some people just print around 5 pages, but the printer is busy to print document from the other user around 150 pages.
2. I want to control how many time that user printer perday, per week and permonth and how many pages that they print? When I know the person that is print a lot, it will easy for me to set the priority of printer for each user.
Does these two thing is offer by windows feature, or i need to write my own application to control it??? Any suggestion is really appreciate.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Is there a way of making Windows 98 boot up 'normally' even though it may not have been shut down through it's usual way?
For example, if the power has been removed, so Windows doesn't shut down as per norm, is there a way of not making Windows 98 go through the regular scandisk checks, etc. but boot up as if it had shut down normally.
Any suggestions will be much appreciated.
Thanks
|
|
|
|
|
afroblue wrote:
Is there a way of making Windows 98 boot up 'normally' even though it may not have been shut down through it's usual way?
For example, if the power has been removed, so Windows doesn't shut down as per norm, is there a way of not making Windows 98 go through the regular scandisk checks, etc. but boot up as if it had shut down normally.
Here is the solution: go to your root drive C: and find the file MSDOS.SYS and right click on the file and choose property and clear the Hidden and Read only check box. Then open the file with Notepad then you will find are structure in it own way. Try to set an argument under an Option braket ([Option]. Then add an option AutoScan = 0 . For more detail information, try to read this article.[^]
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I am trying to determine which Windows OS is running on a machine, programmatically. I am able to get the Major Version, Minor Version, Revision, which SP, etc, etc, etc. What I am in need of is determining which version of Win2k and Win2K3 are running on machines (i.e. Win2K Pro, Win2k Server, Win2k Advanced Server, etc) . Does anyone out there have any idea on how to capture this info without interrogating a domain controller/AD or WMI (too slow)?
Any help will be greatly appreciated.
Mike
|
|
|
|
|
Call GetVersionEx() and pass in an OSVERSIONINFOEX struct. The OSVERSIONINFOEX docs explain how to tell the OS versions from the various flags that get returned.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ
"That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas."
-- Buffy
|
|
|
|
|
This scripte is demonstrate in VBscript language. I how you could embed it in your application:
Set dtmConvertedDate = CreateObject("WbemScripting.SWbemDateTime")<br />
<br />
strComputer = "."<br />
Set objWMIService = GetObject("winmgmts:" _<br />
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")<br />
<br />
Set colOperatingSystems = objWMIService.ExecQuery _<br />
("Select * from Win32_OperatingSystem")<br />
<br />
For Each objOperatingSystem in colOperatingSystems<br />
<br />
Wscript.Echo "Caption: " & objOperatingSystem.Caption<br />
<br />
Next
For more information try to read this article.[^]
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Is there any description or article available that how cab files are executed by the OS.I am just interested in knowing how does OS execute them.I have tried searching them on Net but can't find any relevant description.
Be FaithFull To Your Work.
|
|
|
|
|
Try to read the information from here[^].
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi. I have a problem:
I write a programm (named SoL) which may be default for mp3, avi, mpg, mpeg files.
I want to set my own icon for this files when my program selected as default for they.
I do next actions:
1) Write in registry - HKEY_CLASSES_ROOT\SoLfile
2) HKEY_CLASSES_ROOT\SoLfile\DefaultIcon = C:\ProgramFiles\SoL\SoL.exe,25
25 - number of icon ID in resources of my SoL.exe.
3) HKEY_CLASSES_ROOT\.mp3 = SoLfile
HKEY_CLASSES_ROOT\.avi = SoLfile
............................
Result icon of these files set to default (files which has not any associated icon )
Help me please, if you experienced in this question.
|
|
|
|
|
I am trying to programatically determine the system partition (which is on Physical Drive 0) - this may not be the boot partition - on an NT based OS and have been unable to find information anywhere on how to do this without getting down to low-level code. Does anyone have any ideas on how one would accomplish this? I am needing this to determine which drive has the boot.ini file used by NT as it may not be the C: drive.
Robert
|
|
|
|
|
rouchark wrote:
I am trying to programatically determine the system partition
If we go to MSDOS command line and type this command: echo %systemdrive% then it will display the drive letter of the system drive that you install windows in the command prompt. I think from here you could output the result of the system drive to a text file by using this command: echo %systemdrive% > DriveLetter.txt and let your application that you build to read from the text file, then it will know which drive is the system drive.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
The Win32 API call GetEnvironmentVariable will give me that information; however, the %systemdrive% environment variable will only give me the drive for the OS I am currently booted into. On a multiple boot system the boot.ini file which is used is only located on 1 partition - the system partition which is not necessarily the one I am currently booted into.
I believe I have determined how to get this information; the registry value:
HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\BootDir
I verified on a multiple boot system where the %systemdrive% was F: and the boot.ini file was located on C:; however, the name BootDir is misleading.
This Microsoft article explains the System Partition and Boot Partition:
http://support.microsoft.com/default.aspx?scid=kb;en-us;314470[^]
Thanks for your input.
Robert
|
|
|
|
|
Thank you very much for your reply. I know that my answer is a little to narrow for you. It is very nice that you could found out the solution. But i still support you everytime if you have any further problem in the future.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Question 1:
Guys, what's the difference between:
1. Processor\%Processor Time - Total
2. Process\%Processor Time - Total
See attached image "perfmon_ProcessorVsProcessor.JPG" - the two are different!
URL: http://www.codeguru.com/forum/showthread.php?p=1196346#post1196346
Question 2:
Also, how can it max over 100% at 101.563%?
Question 3:
I have access to another server with four processors. It's % Processor Time goes up to 400% plus?? What's happenning? Should I divide this figure by 4?
Question 4:
What's acceptable/suitable value for:
1. Processor\%Processor Time - Total
2. Process\%Processor Time - Total
Please refer to second attachment: "Physical Server CPU.processor loading.JPG"
URL: http://www.codeguru.com/forum/showthread.php?p=1196346#post1196346
|
|
|
|
|
The _Total counter sums the values of all the instances of these objects - it isn't actually a real counter. So, the Process % Processor Time _Total counter gives the sum of processor time used by all processes, including the 'System Idle Process', which isn't really a process at all: it's used for accounting for idle time, when the processor isn't being used. The Processor % Processor Time counter instances don't include the idle time, which is the difference you're seeing.
The fluctuations you see in the total Process time - which by definition should always be 100% - are due to the way the Performance Monitor works: it has to read all the counters one at a time, then sum them up. Because this takes some time, another process can get some run-time while it occurs, which leads to the sampling being a little inaccurate.
There is one instance of the Processor: % Processor Time counter for each installed processor. Each instance shows the amount of time the corresponding processor spent busy. If all processors are active, the sum of each processor's busy time will indeed reach 400%. Again, the way it's sampled could cause it to exceed 400%.
As for what's an acceptable value, I've seen a figure of being constantly over 80% as a sign you should consider adding processors.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
So, "processor \ % Processor Time" is amount of time the processor is actually working? Does it include "system processes" + "user processes"?
According to counter explaination:
% Processor Time is the percentage of elapsed time that the processor spends to execute a non-Idle thread. It is calculated by measuring the duration of the idle thread is active in the sample interval, and subtracting that time from interval duration. (Each processor has an idle thread that consumes cycles when no other threads are ready to run). This counter is the primary indicator of processor activity, and displays the average percentage of busy time observed during the sample interval. It is calculated by monitoring the time that the service is inactive, and subtracting that value from 100%.
Norman Fung
|
|
|
|
|
Thanks...
Mike Dimmick wrote:
As for what's an acceptable value, I've seen a figure of being constantly over 80% as a sign you should consider adding processors.
What about a 15% % Processor Time? Does it indicate a CPU that's under utilized?
Norman Fung
|
|
|
|
|
Hi,
I was write a GINA dll that works fine on Windows XP. I use version 3 of Winlogon functions that is compatible with Windows 2000+. But when I tested this dll on Windows 2000 Advanced Server and Windows Server 2003, a problem occurred. When the message dialog with message "Preparing network connections" or "Applying computer settings" appear, this dialog remains for a long time (in fact for ever). What could be happened? Do you know?
Thanks.
Esmaeil Vakili
|
|
|
|
|
Try to boot in safe mode and run the command sfc /scannow in the command prompt to check for any file error in an operating system.
|
|
|
|