|
I got a question about some registry settings
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Biosinfo\SystemBiosDate
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~Mhz
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\Identifier
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\VendorIdentifier
Would anyone be able to tell me how Windows obtains the information in these settings?
Also what would happen if I changed one of them (eg. change ~Mhz to a value lower/higher than my CPU speed)?
Much appreciate any help
|
|
|
|
|
I'm not sure, I am guessing it checks the hardware on boot.
Badut wrote:
Also what would happen if I changed one of them (eg. change ~Mhz to a value lower/higher than my CPU speed)?
Nothing, ~Mhz is just used to display in the My Computer dialog (possibly some other locations too) It would just affect what is shown there.
Matt Newman
|
|
|
|
|
Thanks Matt.
Matt Newman wrote:
Nothing, ~Mhz is just used to display in the My Computer dialog (possibly some other locations too) It would just affect what is shown there.
So I guess it's a similar situation with the BiosDate, Identifier and Vendor Identifier. These registry entries are for display only and they can be changed without affecting system operation?
|
|
|
|
|
Badut wrote:
So I guess it's a similar situation with the BiosDate, Identifier and Vendor Identifier. These registry entries are for display only and they can be changed without affecting system operation?
I can't see it causing any problem, unless a program would use this information. But chances are any software that would need such information could just check vs the actual hardware.
Matt Newman
|
|
|
|
|
Hello,
I'm running windows XP Professional. I want to run certain programs under the guest account that need certain rights. I cannot find any information on how to set permissions for one single program (like setting permissions for a daemon on linux). Is this even possible?
Thanks.
A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.
|
|
|
|
|
Is it an NT service, or just a regular program? If its just a regular program just right click on it and click Run as , its right below Open. If its an NT service you can change the account it will run under in the services control panel (found under administrative tools). Its under the log on tab for the service properties.
Matt Newman
If you chose to continue this discussion, I am fully prepared to make you my bitch. I invite you to ask around, and you'll find out that I'm quite capable of doing so - John Simmons on Trolls
|
|
|
|
|
It's just a regular program. But I don't want other users to type in the administrators password.
Exemple:
When a user logged on as 'Guest', it runs a program, the program should have administrator priviliges by default.
When you use the runas program, you'll have to type in the password of the specified user over and over again.
|
|
|
|
|
It's just a regular program. But I don't want other users to type in the administrators password.
Exemple:
When a user logged on as 'Guest', it runs a program, the program should have administrator priviliges by default.
When you use the runas program, you'll have to type in the password of the specified user over and over again.
|
|
|
|
|
Ok, I see what you mean. I think there is away to progmatically set the user it is running as, but I have never done it. Hopefully someone who has will respond.
Matt Newman
If you chose to continue this discussion, I am fully prepared to make you my bitch. I invite you to ask around, and you'll find out that I'm quite capable of doing so - John Simmons on Trolls
|
|
|
|
|
See that light, see that tunnel.
The original question was 'Can I run a program with SETUID on', translated from UN*X-speak to Windows-speak.
I believe the answer is no, you cannot. To impersonate another user requires the other user's password. RunAs is the Windows equivalent of 'su'. There is no equivalent of 'execute as owner' in Windows.
You could, programmatically, using SSPI, create an impersonation token, but again, that requires the user's credentials (guess how RunAs works?). It would be difficult (and foolish) to make available the password to an application without also running the risk that it would become widely available, not to mention the difficulties of keeping it in step with any password changes (although password notification would be one mechanism).
Steve S
|
|
|
|
|
Hi!
For an another project, i need a Tomcat running. But since i installed VS.NET, i've problems with my sessions in my JSP pages...
(Only under IE - and in the lan too).
Perhaps it's about the web.xml(in tomcat)... But i can't find witch parameter to change...
Does anyone have an idea?
Thanks
Delfosse Jérôme
|
|
|
|
|
I have GIGBYTE GA-7VKMLS[^] motherboard which has the standard two IDE ports. They are both currently full with the following hardware -
Primary
Master - Maxtor 6Y120PO ATA-133 HDD
Slave - Seagate ST380021A ATA-100 HDD
Secondary
Master - Lite-on XJ-HD166S DVD-ROM
Slave - Lite-on LTR-52327S 52x CD-RW
I have been finding that there is a bit of slowness when accessing the hard drives that I think may be caused by conflicts on the primary IDE channel. Plus I have an Imation LS-120 drive that has been sitting shrink wrapped on the shelf for the past 8 months looing at me. Which of course I want to put in but don't really need too.
So I have been thinking about buying a Skymaster PCI/IDE ATA-133 add-in card (sorry can't find a link anywhere). I have the money in my pocket now and so obviously want to go get it now, but thought I should pass this by the Code Project gurus before I do.
Note I bought one of these to put in a computer at work that could only see 64GB of a new 80GB HDD I bought. Haven't gotten around to installing RedHat 9 on it yet but the initial hardware setup seemed to go very well.
My plan is to setup the hardware in the following way -
Onboard
Primary
Master - Maxtor 6Y120PO ATA-133 HDD
Secondary
Master - Seagate ST380021A ATA-100 HDD <edit>This was meant to be a HDD and not a DVD-ROM</edit>
PCI Card
Primary
Master - Lite-on XJ-HD166S DVD-ROM
Slave - Lite-on LTR-52327S 52x CD-RW
Secondary
Master - Imation LS-120
Anyone see any hidden dangers I can't?
Or anyone out there with experience trying something like this who has mastered the problems found?
<edit>
After buying the card I decided to look more carefully at my case. It only has a spot for one FDD that has access to the outside world. So this means removing the standard FDD and replacing it with the Imation LS-120 drive. The BIOS supports the drive and booting from it and all. But thinking about it leads me to believe I would have to connect it to one of the IDE ports on the MB. Anyone agree with this belief?
</edit>
Michael Martin
Australia
"I suspect I will be impressed though, I am easy."
- Paul Watson 21/09/2003
|
|
|
|
|
Michael Martin wrote:
I have an Imation LS-120 drive that has been sitting shrink wrapped on the shelf for the past 8 months looing at me.
They still make those?
The only problem I can see with your setup plan is you went from 2 HDs and 2 Opticals to 1 HD and 3 Optical. Another thing, just make suer your bootable drives are all on the onboard controller.
Matt Newman
If you chose to continue this discussion, I am fully prepared to make you my bitch. I invite you to ask around, and you'll find out that I'm quite capable of doing so - John Simmons on Trolls
|
|
|
|
|
Matt Newman wrote:
They still make those?
Don't know, I bought it second hand myself about 8 months ago.
Matt Newman wrote:
The only problem I can see with your setup plan is you went from 2 HDs and 2 Opticals to 1 HD and 3 Optical. Another thing, just make suer your bootable drives are all on the onboard controller.
No, just my inability to type and proof read. The Secondary IDE Master was meant to read the Seagate 80GB HDD. I just stuffed up. The whole purpose of my idea is to put the two HDD's on seperate IDE channels to see if the slowness I am experiencing is caused by IDE conflict.
I really can't believe I checked that post twice for mistakes, then modified it and checked it again and still made a glaring mistake.
Michael Martin
Australia
"I suspect I will be impressed though, I am easy."
- Paul Watson 21/09/2003
|
|
|
|
|
Michael Martin wrote:
No, just my inability to type and proof read. The Secondary IDE Master was meant to read the Seagate 80GB HDD. I just stuffed up. The whole purpose of my idea is to put the two HDD's on seperate IDE channels to see if the slowness I am experiencing is caused by IDE conflict.
The only problem I could see is the inability to boot from an optical drive.
Matt Newman
If you chose to continue this discussion, I am fully prepared to make you my bitch. I invite you to ask around, and you'll find out that I'm quite capable of doing so - John Simmons on Trolls
|
|
|
|
|
Matt Newman wrote:
The only problem I could see is the inability to boot from an optical drive.
I'm pretty sure I will be able to boot from the DVD-ROM or CD-RW that will be plugged into the PCI IDE card. I have the 80GB HDD plugged into it in the computer at work and the system boots from that HDD. So in theory the optical drives should still be bootable on my machine.
Michael Martin
Australia
"I suspect I will be impressed though, I am easy."
- Paul Watson 21/09/2003
|
|
|
|
|
Hey everyone,
I installed the wrong verson of apache (Apache 2.0) and I need to install Apach 1.3. I compiled the Apache 2.0....does anyone know how to uninstall after you have compiled the software??
|
|
|
|
|
Won't just deleteing the files work? And just out of curiosity why won't 2.0 work over 1.3?
Matt Newman
If you chose to continue this discussion, I am fully prepared to make you my bitch. I invite you to ask around, and you'll find out that I'm quite capable of doing so - John Simmons on Trolls
|
|
|
|
|
Hi Everyone,
I am installing an apache web server on solaris 2.8. I have done this a bunch of times, but I am getting an error I have never seen before.....CAn anyone help??
[Mon Jan 26 14:25:23 2004] [warn] pid file /usr/local/apache2/logs/httpd.pid ove
rwritten -- Unclean shutdown of previous Apache run?
[Mon Jan 26 14:25:23 2004] [alert] (22)Invalid argument: setgid: unable to set
Group id to Group 4294967295
[Mon Jan 26 14:25:23 2004] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Mon Jan 26 14:25:23 2004] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Mon Jan 26 14:25:23 2004] [notice] Apache/2.0.48 (Unix) PHP/4.3.4 configured --
resuming normal operations
[Mon Jan 26 14:25:23 2004] [alert] Child 668 returned a Fatal error...
Apache is exiting!
[Mon Jan 26 14:25:23 2004] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Mon Jan 26 14:25:23 2004] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
Thank you for your help in advance
|
|
|
|
|
It's been a while, but just from first principles, it looks like:-
apache is trying to set the group id of a spawned process (ie a server connection) to an illegal value, which just happens to be -1. Most likely a config problem where a group isn't specified, or is specified by name but doesn't exist, since that probably maps to -1 when looking up the name.
I did know this stuff once, then got sucked into the MS world....
Steve S
|
|
|
|
|
Since my server has bitten the Big One (as chronicled in my Lounge post) tonight, due to an unrecoverable error starting the Directory Service, it's looking as if I'm in for yet another complete reinstallation of Win2K Server. Before I start I'd like to clarify a few things about DNS, since it's so central to Active Directory, and since mine has never worked right.
Years ago I registered a domain name, and I've always hosted it on my own PC for development use. I've always assumed (incorrectly, I now believe) that this domain name must also match my Windows domain name when setting up a server. A conflict happens when I install Win2K, as it insists upon creating a root SOA DNS record for the domain, even though that root is maintained by my Internet domain registrar.
The root question (sorry about the pun) is: Does my home network domain name have to be the same as my registered Internet domain name? Can I simply call my home network MyPlace - with no extension - and build my DNS tree from there? It seems to me that this would allow me to set up my DNS to ignore the world and listen for requests only on my internal interface, while at the same time allow me to host my own Internet site on IIS using my registrar as the SOA DNS server.
If this is a trivial question, I apologize, but having only Microsoft docs to guide me, it's nearly impossible to figure out what they mean when they say 'domain' in any particular context. Any guidance would be a great help...
Heard in Bullhead City - "You haven't lost your girl - you've just lost your turn..." [sigh] So true...
|
|
|
|
|
I just set my AD DNS to newman.local That behavior seems to be default on 2k3 Server, but it keeps your external and local queries sperate.
Matt Newman
If you chose to continue this discussion, I am fully prepared to make you my bitch. I invite you to ask around, and you'll find out that I'm quite capable of doing so - John Simmons on Trolls
|
|
|
|
|
That's a good sign! If I have to resort to rebuilding this thing again, I'll give it an unregistered domain name and see what happens. I assume that since I can direct DNS to listen only on the internal interface that it will never know the difference.
Heard in Bullhead City - "You haven't lost your girl - you've just lost your turn..." [sigh] So true...
|
|
|
|
|
I installed WINXP then Win2000 which I think made loader file corrupt.Is there any way I can get back XP without reinstalling.
|
|
|
|
|
Boot from the XP CD to the recovery console. There's a program to fix that, I forget the exact name but it's "fixmbr" or "fixboot" or something like that.
--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | 1ClickPicGrabber New v2.0.1! | RightClick-Encrypt
Pinky, are you pondering what I'm pondering?
I think so Brain, but how will we fit the hamster inside the accordion?
|
|
|
|