Jump to content

jfmartel

Member
  • Posts

    195
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by jfmartel

  1. Here is your modified file so your command should be (if you dont changed the location for user's profile REG LOAD "HKLM\User" "C:\Documents and Settings\Default User\NTUSER.DAT" REG IMPORT "lock.reg" REG UNLOAD "HKLM\User" As you'll see in your reg file...i changed HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE\User This will allow you to change settings for the default user..... Lock.reg
  2. Basicaly it load the NTUSER.DAT (wich is the current_user branch you chose) into the HKEY_LOCAL_MACHINE. You can do that the regedit.exe with "file-->load hive" then selecting a name for you loaded branch..... Then you can impot registry tweaks as you want.... But because the change you want to do are in HKEY_LOCAL_MACHINE\User you got to change in your registry file HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE\User
  3. You might want to try these driver They are for Broadcom 57x. Edit your .inf file See file for edited..... b57xp32.inf
  4. Well not sure... but the main difference between your first command and the 2 other one.... is the final \ added to the end of the command..... Did you tried it?
  5. Havent tried it, i don't know if joining the domain would overwrite the value.....but thats a good idea. But you can try it. That would preconfigure them. Once your computer has joined the domain, you can tweak the Firewall with the GPOs Hope this help!
  6. You might want to try the search button Here is your answer.... in this case it's for default user user, but you can customize it for any user
  7. Add a "T" to sandard profil.. you should check your registry for complete syntax..... Im not sure if it's "StandardProfile" or "Standard Profile".......
  8. You might want to try Registry Monitor from Sysinternals. This is a very nice freeware to try. Consider also trying File Monitor. I used also Araxis Merge (you can get a free trials) to track change between my registry file..... Basically, export HKCU and HKLM, than make your change to your system. Then export again your HKLM and HKCU... than compare your file in Araxis Merge. Its very easy to see what change have been made Hope this help!
  9. I had some problem with one of my system. Dell Precision 370 wich use Broadcom 57x Gigabit Integrated NIC. Just after the CIW, Windows setup tells that driver or somewhat is missing. On broadcom site you have information about this. Yesterday, update the broadcom driver to newest version and they were not working with the RIS setup (in the i386). I dont think the problem is because RIS doesnt creates your PNF file. You might want to try older driver and see broadcom site for more information. You have to edit them to get them working Hope this help. Since im not an english im not sure that i have understood all corectly. If no, i would like to get more precision on your question Thank you!
  10. Yes it can works. I use it actually U have to use REG So it should be REG LOAD "HKLM\User" "c:\users\default user\ntuser.dat" REG IMPORT "regtweaks.reg" REG UNLOAD "HKLM\User" Important.... you must replace in your reg file the part "HKEY_CURRENT_USER" by "HKEY_LOCAL_MACHINE\User" Hope this help!
  11. Yes it is suposed to recreate to pnf file. But why do you need it? I far as i know, this does not created problem in my environment. Does your server see the Ris server?
  12. Ok thank you. So there is no setting i can set that will choose the first partiton and format it.... MS you got to work on that
  13. I've worked on something similar. In my ase, i anted to log on with an administrator account (not the local one) than in my runonceex change the local administrator password to a random one and to dump it on my network. You can read about this @ Random Administrator Password Unattended Windows Xo Hope this help!
  14. I'm still confused with tthis one. What am i suposed to do if i want to format the first partition and let other partition there?
  15. Use this in your reg tweak file ;Enable remote desktop [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server] "fDenyTSConnections"=dword:00000000 Use this in your winnt.sif file [TerminalServices] AllowConnections=1 PermissionsSetting=0 For your exception Add [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List] OR <EDIT>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List]</EDIT> "3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009" "139:TCP"="139:TCP:LocalSubNet:Disabled:@xpsp2res.dll,-22004" "445:TCP"="445:TCP:LocalSubNet:Disabled:@xpsp2res.dll,-22005" "137:UDP"="137:UDP:LocalSubNet:Disabled:@xpsp2res.dll,-22001" "138:UDP"="138:UDP:LocalSubNet:Disabled:@xpsp2res.dll,-22002" In my case it's domain profile (other could be standard profile) You should set your tweak in your Windows Firewall control panel. Then export your key and add it to your regtweaks file Hope this help! <EDIT>Sorry for error</EDIT>
  16. According to Winguides this tweaks works only on the Xp Start Menu. Just to make sure it wasn't working, i tried it..... Doesn't work... Seems like a couple tweaks doesnt work with "classic" start menu. I'm having some problem to get the "small icons" in start menu too. That was a nice try, thank you for helping me
  17. Hello all In my corporate environment, users have "My Computer" and "My NEtwork Places" displayed in theirs start menu. Now that i'm working on RIS, i'd like to know how i get to automated. I've tried to copy the "shortcut" but t doesn't work. It seems like some link aren't created with this method. This should look like this [EDIT]After watching with Sysinternals File Monitor, it seems that the "shortcutcut" to one of those link to either "My computer/target.lnk" Opened the file with notepad and it's unreadable....[/EDIT] Anyone can help me!
  18. Hello, I've got a RIS distrubition setup wich use 2 template (sif file) I'm using in this distrubtion a runonceex.cmd wich add command to run for both template. GuiRunOnce runs specific command for each template. SO can't be run from RunOnceEx But i'd like to know wich one runs first? GuiRunOnce or RunOnceEx Thank you!
  19. Well, just tried on my setup. I got the detailed view, but no Status bar...... Are you using this one?
  20. This one of the most annoying default in Windows XP. In explorer shell, no status bar!!! Well i've searched and tried a lot of time on this one. I know this setting is saved in HKCU\Software\Microsoft\Windows\currentVersion\Explorer\Streams And i know that i have to set my setting that i want, then export them in a reg then impot to other user. Detailed view is there......but no status bar. IS status bar somewhere else? Anyone is using the same settings? (Detail with status bar) Thank you!
  21. Thank you. That was a good help I've finally managed to get my full answer.... In our business... the username will be use as Initials for Office. What this code do is search the Active Directory for the current username. Then get the Full name (Will be use as Full name within Office) then convert the string to HEX. So here the code, executed at the logon Set oFSO = CreateObject("Scripting.FileSystemObject") Set oShell = CreateObject("Wscript.Shell") ' get UserName strName = oShell.ExpandEnvironmentStrings("%USERNAME%") strContainer = "ou=MyOUInAD" On Error Resume Next ' Constants for the NameTranslate object. Const ADS_NAME_INITTYPE_DOMAIN = 1 Const ADS_NAME_TYPE_NT4 = 3 Const ADS_NAME_TYPE_1179 = 1 Set objNetwork = CreateObject("Wscript.Network") ' Determine DNS domain name from RootDSE object. Set objRootDSE = GetObject("LDAP://RootDSE") strDNSDomain = objRootDSE.Get("defaultNamingContext") ' Use the NameTranslate object to find the NetBIOS domain name from the ' DNS domain name. Set objTrans = CreateObject("NameTranslate") objTrans.Init ADS_NAME_TYPE_NT4, strDNSDomain objTrans.Set ADS_NAME_TYPE_1179, strDNSDomain strNetBIOSDomain = objTrans.Get(ADS_NAME_TYPE_NT4) ' Remove trailing backslash. strNetBIOSDomain = Left(strNetBIOSDomain, Len(strNetBIOSDomain) - 1) ' Use the NameTranslate object to convert the NT user name to the ' Distinguished Name required for the LDAP provider. objTrans.Init ADS_NAME_INITTYPE_DOMAIN, strNetBIOSDomain objTrans.Set ADS_NAME_TYPE_NT4, strNetBIOSDomain & "\" & strName strUserDN = objTrans.Get(ADS_NAME_TYPE_1179) ' Bind to the user object in Active Directory with the LDAP provider. Set objUser = GetObject("LDAP://" & strUserDN) 'Get Common name strUsername= objUser.cn 'Convert Initials to HEX For i = 1 to Len(strName) strInitialsHex = strInitialsHex & "," & Hex(Asc(Mid(strName, i, 1))) & ",00" Next strInitialsHex = Right(strInitialsHex , Len(strInitialsHex ) -1) strInitialsHex = strInitialsHex & ",00,00" 'Convert Username to HEX For i = 1 to Len(strUsername) strUsernameHex = strUsernameHex & "," & Hex(Asc(Mid(strUsername, i, 1))) & ",00" Next strUsernameHex = Right(strUsernameHex, Len(strUsernameHex) -1) strUsernameHex = strUsernameHex & ",00,00" ' Create temporary registry file Const OverwriteIfExist = -1 Const FailIfExist = 0 Const OpenAsASCII = 0 Const OpenAsUnicode = -1 Const OpenAsDefault = -2 sTmpFile = oShell.ExpandEnvironmentStrings("%TEMP%") & "\UserInfo.reg" Set fFile = oFSO.CreateTextFile(sTmpFile, OverwriteIfExist, OpenAsASCII) ' Write to the temporary registry file fFile.WriteLine "Windows Registry Editor Version 5.00" fFile.WriteLine fFile.WriteLine "[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\UserInfo]" fFile.WriteLine """UserName""=hex:" & strUsernameHex fFile.WriteLine """UserInitials""=hex:" & strInitialsHex fFile.Close ' Import the registry file oShell.Run "regedit /s " & sTmpFile, 0, True ' Delete the temporary registry file oFSO.DeleteFile sTmpFile 'Connect to network drive Set oNetwork = WScript.CreateObject("WScript.Network") oNetwork.MapNetworkDrive "z:", "%logonserver%\%username%\home" Hope this help for someone else too Thank you all for helping me out on this one
×
×
  • Create New...