Skip to content

System Admin

General discussions on System Administration and support. Are you your company's IT expert?

This category can be followed from the open social web via the handle system-admin@forum.codeproject.com

3.7k Topics 12.3k Posts
  • NetShareGetInfo - returns ERROR_ACCESS_DENIED

    sysadmin json help question
    2
    0 Votes
    2 Posts
    3 Views
    L
    i'm not sure what you mean when you say "both machines are logged on as administrator". It doesn't matter who is logged in on the other machine. Also, just because you're administrator on your machine you don't get admin privs on the other machine -- that would be quite a security hole! For this api to work, you must be logged into an account recognized as an administrator (or power user? i forget...) account by the machine to which this api is directed.
  • Running .EXEs in IE in Win2k?

    question
    3
    0 Votes
    3 Posts
    2 Views
    M
    Doesn't make sense to me. A plain EXE doesn't run inside anything. It sounds like he's thinking of ActiveX controls, which have been around since IE 3. --Mike-- http://home.inreach.com/mdunn/ While I can't be correct on all matters, I can make the reassuring claim that where I am inaccurate, I am at least definitively inaccurate. :love: your :bob: with :vegemite: and :beer: Sonork - 100.10414 AcidHelm Test out a prerelease build of my Hotfix Checker v2.0! (133K)
  • explorer shortcut

    tutorial
    5
    0 Votes
    5 Posts
    5 Views
    L
    /e! wonderfoool! (does anybody have idea how to say "open at my-computer" or "at network"? context menu at desktop opens something different than what will be run) t!
  • Make use of 2GB of RAM + some virtual mem

    question sysadmin performance help
    2
    0 Votes
    2 Posts
    3 Views
    R
    mem mapped files would allow your OS to take care of the virtual memory for you, parts that your app is currently using will be shipped into real ram as you use it anyway. But in graphics this swap can be a be unintelligent, portions of yuor graphic can (and probably will) be shipped out whilst your app is working on another part (assuming non contigious memory blocks). But this might be too slow for your graphics work. So, perhaps a compromise, claim a contigious global space (locked) of a size suitable for one of your graphics, and then swap each of your graphics into here yourself to work on. You may then be able to refine it by deciding which parts of your code need the graphic in your own swap area (for speed) and which don't. We do it for the joy of seeing the users struggle.
  • GetSecurityInfo on Samba

    linux security tools
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Dual PIII w/vp6 motherboard

    question
    2
    0 Votes
    2 Posts
    2 Views
    J
    No this is not the place to ask. Try tomshardware.com What about boosting your core voltage?
  • partition hard disk

    help question
    2
    0 Votes
    2 Posts
    2 Views
    J
    I think your approach is a Bad Thing(tm). You totally neglect the fact that parition types can be different (FAT32, NTFS). You also neglect the fact that different partition types have a different formatted format. Also neglected is the need to update the FAT for a FAT partition if you are adding files. You'd still need to update the FAT even if they are both FAT to begin with. See at the beginning of each partition there is a File Allocation Table (FAT). Turning two consecutive partitions to the same requires that 1) partition info is changed, 2) the new block of the grown parition needs to be formatted and linked up to the existing format of the 1st partition, 3) then the files and data need to be moved over and the FAT updated to reflect the addition of new files. Now, simular stuff happens on the 2nd partition. The FAT has to be moved to the new beginning of the parition. Any files occuping that segment of disk need to be moved (if any). As a result, that FAT has to then be updated. If your free space on your first parition is > used space on 2nd parition, then you can do this operation once. Otherwize, you'll have to repeat it and use the copy an amount of data over equal to the amount of free space on your 2nd parition. Steps: 1) Defrag both paritions (not needed but recommended, your software might do this automatically) 2) Shrink 2nd partition (remove free space) 3) Grow 1st parition (add free space) 4) Copy Data 5) Go to 2 until all files are moved over and partition 2 has size of 0, or is deleted. If you want a free product rather than paying for one, you can use FIPS 2.0 (Used by the Linux community) but that's not GUI based. You'll probably learn something though by using it.
  • Combobox Limitation under Windows 98

    3
    0 Votes
    3 Posts
    3 Views
    M
    Sorry, that applied to 16-bit Windows. Guess I answered that to quickly. :-O I'm rather sure that I've read something about Windows 95/98 keeping a 16-bit heap for GDI, though. I'll get back to you if I find out more.. /moliate
  • Memory Usage

    question css performance
    6
    0 Votes
    6 Posts
    2 Views
    N
    Thanks Moliate :-) Yup, I got it back :-D :-D :-D :-D :-D Sonork ID 100.9786 voidmain
  • Services & Sockets in NT

    c++ question
    3
    0 Votes
    3 Posts
    2 Views
    L
    Service in NT normally run in the local system account. Take the service properties and provide an administrator account and password. Clark
  • How can I get...

    question security architecture
    2
    0 Votes
    2 Posts
    2 Views
    M
    I think XP has the same security architecture as Win2k, although I have not looked further into it. I dont know how detailed information you need, but the book "Inside Windows 2000, 3d ed" has a chapter on security. If you don“t want to buy the book for one chapter, an introduction to NT security can be found below. http://www.windowsitlibrary.com/Content/121/03/toc.html
  • mailq in Windows 2000?

    question sysadmin windows-admin linux data-structures
    3
    0 Votes
    3 Posts
    3 Views
    N
    Thanks JS, I am home on Win 98. Tomorrow I'll chk out what you said from my office Win 2k machine. I guess that should work. Thanks once again Nish:) Sonork ID 100.9786 voidmain
  • 0 Votes
    2 Posts
    2 Views
    J
    Here is the answer. It is a licensing issue.. :( Incoming connections By creating an incoming connection, a computer running Windows 2000 Professional or stand-alone Windows 2000 Server can act as a remote access server. You can configure an incoming connection to accept the following connection types: dial-up (modem, ISDN, X.25), virtual private network (VPN) (PPTP, L2TP), or direct (serial, infrared). On a computer running Windows 2000 Professional, an incoming connection can accept up to three incoming calls, up to one of each of these types. On a computer running Windows 2000 Server, the number of inbound calls is only limited by the computer and its hardware configuration.
  • crazy idea.............. ?

    help hardware question
    2
    0 Votes
    2 Posts
    2 Views
    R
    Realtime processing within MSDOS was always a tricky thing, less so in Windows. The solution depends on what size of time you need to be within. For example a realtime process that only has to react per minute would be fine in any OS, since the time slice is much less than a minute. In DOS you are not in timeslices. Your program is called, and that is the only program running until your program ends. Except of cause drivers (TSRs - transient-stay-resident) running on interrupts. So, in this case you would want a driver that triggers a call in your program. A typical one would be on receiving data at a serial port. You would write software to buffer incoming data and trigger a software interrupt which calls a callback function in your main code. This is realtime with loss of driver-time, your programs reaction time and your own process-time (about as real as it gets in DOS). Direct access to the IRQ (interrupt controller) is no longer available in Windows, though it is not so much needed. In Windows (after Win3.x that is since 3.x was still a DOS machine), 98/NT/2000, you actually have it better since the port stream is for the most part handled for you. You only need to capture it then set a callback. As you are in timeslices your main program can carry on working on its data, then on a call from incoming data you collect and process. How real the time is depends on how much processing you need to do on the data and the speed of your machine. If the processing is longer than the time between receiving new data then obviously you are not in realtime and have to account for this in the processing itself. Carefull use of threading can increase your programs response time. But the speed of modern machines are generally fast enough to give you 'effective' realtime. On a worst case instance with Win95, I had to effectively crash Windows. I let my code take all time from the machine in order to keep up with the incoming data. The same project on a proper timeslice OS runs without problem (other than the standard bugs we all write). We do it for the joy of seeing the users struggle.
  • Compilation error in WinCE

    com performance help question
    3
    0 Votes
    3 Posts
    3 Views
    B
    Looks like you are try to compile some code from the Standard Template Library (STL). Embedded Visual C doesn't come with STL but I did see a port of it on the PocketPC Developers Network www.pocketpcdn.com . Brad Manske
  • How to install a modem in Linux

    linux help tutorial
    2
    0 Votes
    2 Posts
    2 Views
    M
    First you need to check if you have a real modem, or a sound codec with a phone line interface (a.k.a "Winmodem" or "software modem"). If you are having difficulties it's likely you have a Winmodem. Some of those can be made to work under Linux, see http://www.linmodems.org/
  • Berkeley sockets

    sysadmin question
    7
    0 Votes
    7 Posts
    3 Views
    J
    I was on Unix, so that wouldn't work, but I was able to make it work another way. Thanks for the answer, though. Jon Sagara "Oh Lisa, you and your lies. Bart's a vampire, beer kills brain cells. Let's go back to that building... thingy... where our beds... is."
  • Programming Applications for Microsoft Windows,Fouth Edition

    question
    2
    0 Votes
    2 Posts
    2 Views
    P
    Most languages use a run-time library, that contains implementations of functions that "have to be" in the language. For C, this is for example the implementaiton of printf, File I/O, memory managment, and all the zillions of functions you can #include Peter
  • mouse rollover

    database question
    2
    0 Votes
    2 Posts
    4 Views
    M
    Rollover on what? If the target is (derived from) a window, try the WM_MOUSEMOVE message. If the mouse is not captured, the WM_MOUSEMOVE message is received by the CWnd object beneath the mouse cursor.
  • Notifications about File and Directory changes on Wince

    help tutorial question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied