Jump to content

Idontwantspam

Member
  • Posts

    1,048
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by Idontwantspam

  1. I figured it out! :thumbup

    I used the method described by phkninja. I'm not using dynamicy stuff, just using php for the require() function because I am sick of having to copy-and-paste the same header and footer onto every single page. I was being stupid because I just started to use php and I realized that the included pages for the footer and header were full html docs but now I realize it has to be just snippets and the end result is in html form which is what I was validating. It all works now. Thanks all.

  2. I don't ever download illegal stuff... I let my friends do it for me! :whistle:

    Actually, I don't ever pirate software. I'm well behaved like that. :rolleyes:

    But I do have a habit of "borrowing" install CDs and installing the product without activating to see if I like it, kinda like a trial version, and then buy it if I like it and uninstall it if I don't. But I don't count that as pirating.

  3. I have just started using PHP. I have always for my HTML used doctypes, XHTML 1.0 usually. Now that I'm using php, I have a question. When I put a doctype at the top of the php doc, the page doesn't appear. But when I remove it, everything's fine. Is there such thing as a doctype? Because I fail validation if I don't have a doctype. Is the solution to use

    <?php
    echo "put the doctype here";
    ?>

    at the top of the page so that when the browser (or validator) sees the page it sees the doctype? I'm not sure what to do here! Please help. Thanks.

  4. We were having a bit of an argument over in the Nerds at School thread about what what is. Now the official poll is here. What are you? What do you define as nerd or geek? Let the battle begin! They're all multiple choice, in case you believe in multiple definitions or are a nerd and a geek. I consider myself a nerd:

    • focused on/good at technology
    • focused on/good at school related stuff
    • A smart geek

    I have a feeling the geeks will win as that's what most people seem to call themselves. What are you?

  5. Well I found an easier way to do several of the mentioned things:

    First off, to disable Shared Docs for one certain user:

    HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer

    make a DWORD VALUE NoSharedDocuments and set to one.

    To see who is which SID:

    HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList

    All the user SIDs are there, and you can see where the profile is stored, thus being able to tell who it is. E.g. if I see SID S-#-#-#-##########-#########-##########-1002 and see that it points to C:\Documents and Settings\Example, I know that's the user Example and his SID is the above. I have no idea if that's the right number of #s. Just an example.

  6. The tutorial is here, though no screenshots or anything yet. You can download the ZIP with everything, including the instruction in PDF format and the reg files. Or you can read it here. The tut in the ZIP is more oriented towards people who don't know so much about the registry or Windows, so you may find it a bit obvious at times. I will put the go-change-the-registry-your-self version here for the more nerdy/geeky/whatevery people:

    • Set the computer to use the Classic logon prompt, AKA the Windows 2000-style one.
    • Open the registry. Go to
      HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon


    • Find the DWORD VALUE AllowMultipleTSSessions. Set it to one.
    • Disconnect. Either from the Task Manager or by using a shortcut to tsdiscon.exe, or a keyboard shortcut pointing there.
    • Log in as whoever. You use it just like the normal FUS, but now you have to disconnect instead of hit Switch User. Plus, you use the secure login and you can lock the computer, etc as the Windows Security dialog comes now for Ctrl-Alt-Del, instead of the task manager.

    I have confirmed that this on Windows XP Home Edition, XP Media Center Edition and XP Pro off of a domain. Is there anyone with XP on a domain who can report on whether this works there, too?

    The attached ZIP has everything. The PDF explains it all.

    fus1.zip

  7. OK, thank you. I'm kinda new to the whole policy thing, so I appreciate the help.

    Another question. Is there any way to edit user policies - for individual users - from the Group Policy Editor, rather than using the registry, if I'm dealing with local policies? Right now I just load the NTUSER.DAT file of the user I want to modiy, or open their SID in the HKU key if it's open. Is there an easier way, or am I stuck? And as for local security policies - can I set audit policies on Windows XP Home or is that not possible?

  8. Well, I think this depends on what you're changing. Are you just changing the name you type or click to log in with? Or are you changing the name that appears in C:/Documents and Settings?

    Look around in these places and see what you can figure out:

    the advanced User Accounts control panel:

    start > run > control userpasswords2

    the MMC local users and groups snap-in:

    start > run > lusrmgr.msc

    Also take a look in the registry at the following point:

    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

    Find the SID for the user you need to change and I think you can change where the profile should be stored.

    Also, you could theoretically I suppose maybe but it could screw things up do this:

    copy all everything in their C:/documents and settings/user folder to that of a new user, including their NTUSER.DAT file, which has all their registry info. But this could screw things up. So i dunno.

    Hope something here helps somehow. Good luck! :hello:

  9. OK, I resolved the issue with the disconnecting. A shortcut to tsdiscon.exe will disconnect the user, allowing a switch. If anyone can tell me where the reg data for whether FUS is enabled is, I'd appreciate it - I think that's a key part to this. I will google it when I'm done posting, but if anyone knows off the top of their head, let me know please.

    EDIT:

    Ah-ha! I figured it out! This is really interesting:

    It all depends on the following value:

    HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

    DWORD VALUE

    AllowMultipleTSSesions

    When this is set to 0, then you can't switch the users. When it is set to 1, you can switch users - even if you have the welcome screen disabled!!

    So now I can switch users without having to use the (what I consider) preschooler interface, AKA the welcome screen.

    I have tested this so far on only one computer, but will test it on more soon. Anyone else who can provide information would be appreciated.

    I will soon create a little tutorial with some screenshots and the necessary .reg files to complete the operation.

  10. I doubt that's legal. Why do you ask? If you are trying to pirate/install ilegally - and I'm not saying you are - , then you might not want to stay here. Read the forum rules if you haven't.

    Welcome! :hello:

  11. This is crazy - but true!

    Somehow I got Windows XP to let me switch users, even though I have the Welcome Screen turned off and I'm using the classic logon. Totally weirdly awesome. You probably don't want to read the whole darn story; just go down to the 4th post or so to see the necessary info. If you want to read this anyway, here's how it happened:

    I was making a .reg file to automate the process of making a Windows XP Logon more secure - turning off the welcome screen, turning on Ctrl-Alt-Del to logon, do not show last username, legal notice box, etc. I was testing this in a virtual machine, so that if I screwed up, my computer wouldn't be fried. So anyhow, I made a .reg file that is attached and you can see for yourself what it should do. Now I made the mistake of merging it when I had two users logged on. Administrator and Example. It was merged as Administrator. So anyhow, I pressed Ctrl-Alt-Del to test if it worked and it gave me Windows Security rather than the Task Manager, so I knew it worked. I click Task Manager and to my surprise, the User tab was still there. So I clicked on it and saw that Example was still logged on. Hmm, funny, I thought. I remembered then that I had left that account logged on. Curious, I highlighted Administrator and clicked Disconnect user. Rather than get the Computer Locked screen that I usually get, I got a login box, like the normal one. Very weird. So I entered the username Example and its password. It logged in. I did the disconnect procedure and logged back in as Administrator again. Both accounts were still on the Task Manager. So I logged them both off and logged back into Administrator and disconnected the user and logged into Example again and it still worked. After a restart, this still worked. Then I merged my "reset" .reg file, also attached. It basically reset everything back to no C-A-D, welcome screen and show username. Then I went and logged on as only Administrator, no other users logged in. Then I merged the original .reg file, and tried again. It worked.

    Now the thing is Lock Computer still works. If I'm logged in as Administrator and I lock, Example can't log in. Now you're starting to get the idea of how this could come in handy. Still being able to switch users, but getting to lock the computer, and have the secure login.

    So here's a few questions I have:

    • What registry key, if any, controls whether user switching is allowed? SOLVED
    • Has anyone else seen anything like this before? What do you know about this?
    • Would anyone want to test this on their computer, and see if it works?
    • Does anyone know a shortcut to Disconnect User? Something like using a shortcut to shutdown.exe -l to log off or rundll32.exe user32.dll LockWorkStation to lock the computer? Because this would be a much easier, useful... thing if there was a way to make shortcut to disconnect and then assign it a keyboard shortcut. SOLVED
    • For some reason the background of the logon screen is black now. Any way to change it back to blue?

    I'm working on a screencast of this to show what happens. It will be a flash file, either .swf or a .exe. I will upload to here if it's not too big, otherwise, I can email it to people if they want it. But it's not ready yet.

    Note on the attachments:

    set.reg sets the settings.

    undo.reg resets those values.

    icon13.gifWARNING: This does involve modifying your registry. I can't guarantee you won't screw something up. So don't blame me if you do.

    set.reg

    undo.reg

  12. Well, if you're comfortable with office xp and like it and don't need to upgrade, don't. But I do think Office 2007 is the best version ever. The UI takes some getting used to. I don't want to pay for it, so I'm still using Office 2003. So I'd say get it if/when you need it, but no hurry.

  13. GGAAAAAAAAAAAA :wacko: ME == Confused :blink:

    OK, thank you Cluberti. I will assume that HKLM takes precedence, but I will NEVER EVER assume that that's always the case.

    I am not using AD or anything like that. This is just on a local machine. Do you know where the policies for groups are on a local machine, if indeed they exist?

    Oh and another question, slightly unrelated, but you might know and I don't :rolleyes:

    If I were to enable auditing of various things, like logons, policy change, etc. where would that info be stored? I've never used this before, and I'm wondering where I would find the audit logs or whatever if I were to enable this auditing. Does anyone know? This would be locally on a Windows XP Media Center Edition machine. I'm talking about the settings in

    Local Computer Policy\Computer Configuration\Windows Settings\Local Policies\Audit Policy

    Anyone know?

    Figured it out - thanks Google!

    Eventvwr.msc

  14. I was referring to when I use the registry to make changes to a user's policies. For example, if I were to put a DWORD value of 1 named NoRun in

    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

    it would disable the run command for all users. But what would happen if I put that same value, but set to 0 rather than 1, in my HKCU (in other words in my NTUSER.DAT file - my profile). Would I be able to use Run or not? Which would trump the other - my setting or the system setting? I'm getting confused.

    nmX.Memnoch said:

    As far as system policies, HKLM should take precendence, depending on the policy.

    but cluberti said:

    Unless we're talking about group policies (another wrinkle) - user settings (HKCU) take preference over computer settings (HKLM), at least in the Administrative Templates.

    Now where are Group Policies stored? for groups I mean. Because the group SIDs don't appear in the registry, and I haven't located any NTUSER.DAT files for groups. Group policy editor when used locally appears to only affect HKCU, so I tend to use the registry when changing for individual users. Am I doing this wrong?

    The sense I'm getting is that HKCU is looked in and if the value's not found, then HKLM is looked in USUALLY but not always. Is this right?

    I'm confused! :wacko:

  15. Hmmmmmm.......

    Let me get this straight:

    You're all bragging about your great SAT math test scores, but what did you all get on the English SAT? Because there's some bad English going on here. "Your" instead of "you're". "Of coarse" in stead of "of course". No capitalization or punctuation. kinda? KINDA??!!!?!? OMG - I think you mean kind of, huh? Scary. :blink:

    Yeah, Ripken204, I'd say the English section sure as heck will bring you down. Or is it that you just don't have an apostrophe key on your keyboard? Or shift key for that matter. Your English is coarse. You're not good at English, of course. Not to pick on you or anything, but come on people! Firefox has a built in spell checker, you could use that at least! And read your post once before sending it. :whistle:

    Good grief!! :wacko:

    </rant> ;)

    By the way, that's one smart kid!

×
×
  • Create New...