Re: XPsp2 and WMP10 and default profiles - a solution

From: Tim Munro (Excelsior_at_Liamtoh.moc)
Date: 10/26/04


Date: Tue, 26 Oct 2004 10:10:47 -0400


    Well, I've figured out a way around this, so I thought I'd share it with
the group.

    Before setting this up you will need to create a script (provided below)
to:
        a) rename "Default User" (created from Administrator by sysrep) to
"DefUser.Org" (or what ever you like)
        b) rename "DefUser" (see below) to "Default User"
        c) delete DefUser.org <- optional step

This script needs to be referenced in the SysPrep.inf file, under
"[GuiRunOnce]"

Now you have the script, and it's reference:

 - Proceed as normal for creating your "Default User"
 - Just before you "reseal", RENAME (don't copy) "Default User" to some
other name. I use "DefUser"
 - reseal and away you go.

Here's the ccript:

Sub FixDefaultUser()

 Const Folder1 = "C:\Documents and Settings\Default User"
 Const Folder2 = "C:\Documents and Settings\DefUser"
 Const Folder3 = "C:\Documents and Settings\Default.Org"

 Dim Fso

 set Fso = CreateObject("Scripting.FilesystemObject")

 fso.MoveFolder Folder1, Folder3
 if err.number <> 0 then
    wscript.echo "Renaming Default User failed."
    Wscript.quit(1)
 end if

 fso.MoveFolder Folder2, Folder1
 if err.number <> 0 then
    wscript.echo "Renaming DefUser to Default User failed."
    wscript.quit(1)
 else
    wscript.echo "Default User successfully rebuilt!"
 end if

 set fso = nothing
 err.clear

End Sub

And here's the Sysprep.inf stuff:

[GuiRunOnce]
; if the above script sub routine was placed in a file called finalize.vbs
then
; the appropriate entry would be:
"C:\Util\Finalize.vbs"

        I hope this helps anyone suffering from these SP2 and WMP 10 changes

-- 
Tim
"Tim Munro" <Excelsiot@Liamtoh.moc> wrote in message 
news:%23mKNm1ftEHA.2688@TK2MSFTNGP14.phx.gbl...
>        I know this doens't help at all, but I too have this same problem. 
> A solution would be most welcome.
>
> -- 
> Tim
>
> "Sir Timbit" <sir_timbit@hotmail.com> wrote in message 
> news:OYx2ZYftEHA.2196@TK2MSFTNGP14.phx.gbl...
>> Hi there,
>>
>> I just finished updating a school lab image to XPsp2 and have a couple of 
>> questions about the default user and Windows Media Player 10.
>>
>> I've always used the local administrator profile as my default user, so 
>> it's configured the way I want it to be, and then I copy it over to the 
>> default user profile. All well and good, but I've noticed that with SP2 
>> and Windows Media Player 10 installed, XP always creates a Windows Media 
>> Player icon on the desktop. It even removes the one I placed in the All 
>> Users\Entertainment folder. Worse, when you first run it, you get the 
>> annoying welcome and configuration screen.
>>
>> I had all this preconfigured in the administrator profile. I don't want 
>> the Windows Media Player icon on the desktop and I don't want to have 
>> each user having to configure it when they first run.
>>
>> I've read elsewhere that there were changes in Sysprep for XPsp2 and that 
>> it ignores the default user profile folder and uses the Administrator 
>> folder instead, but that doesn't seem to apply here, as that is what I 
>> was using anyway.
>>
>> Does anyone know how to force the Windows Media Player settings in the 
>> default profile to stick?
>>
>> Thanks in advance,
>> Rick
>>
>
> 


Relevant Pages

  • Re: Automating set up?
    ... > I would like to know that their folder is automatically created, ... > up the mapping in a logon script unless there is a better way. ... My Documents will be a SUBDIRECTORY of the Profile directory here. ... Herb Martin> ...
    (microsoft.public.win2000.active_directory)
  • RE: Simple Script??
    ... Well, it is not the most elegant solution I have ever written, but the script ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Simple Script??
    ... I had a typo in the path...Your script is AWESOME THANKS AGAIN!!!! ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Set profile and homefolder path at logon?
    ... The profile folders are stored on server1. ... In each user's profile we have the profile path set to that server and their ... The same with the home folder - set to server1\username. ... What I was planning on doing was to set up a script which would copy those ...
    (microsoft.public.windows.server.scripting)
  • RE: Simple Script??
    ... But when i run it the script fails. ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)