
Rambler
MemberContent Type
Profiles
Forums
Events
Everything posted by Rambler
-
Bâshrat: thanks for the find kris_h: i can't help you with that method, but i can say i'm using method3 and the drivers work fine for me. I've included both Sound A and B btw.
-
Hi. I was writing this simple VBS script and i would need help on how to insert triple double quotes in command. I'm trying to run a program with WshShell.Run, but the problem is that i need to run the program under another user. As there's no WScript.RunAs (AFAIK), then i thought i would resort to using a command like this: WshShell.Run Chr(34) & "runas /user:administrator "%programfiles%\app_path\app.exe"" & Chr(34) The problem are those double quotes around the %programfiles%\app_path\app.exe part - you can't use them here for obvious reasons. I tried to use another Chr(34) instead of ", but it doesn't work. Can anyone help me out? Thanks
-
Which method when using network installation?
Rambler replied to Rambler's topic in The General Stuff
Your assumption is correct Ah so KtD stands for keep the drivers - you are correct that i don't need nor use that option. Guess i should read through the script more thoroughly next time Anyway thanks for reply. -
runonceex w inf 13min problem
Rambler replied to tjabocom's topic in Unattended Windows 2000/XP/2003
RunOnceEx always runs after user logs on. That's how it's supposed to work As you alread have AutoLogon=Yes, AutoLogonCount=1, then everything should work smoothly without your interaction. -
Hi, i was wondering which of the 3 available methods would be the best when installing windows from a distribution folder via network - ie. not using any cdrom. The distribution share is only available prior to installing windows for copying the files, it is not restored later. I don't fancy using method 1. Method 2 wouldn't work for obvious reasons, because it places files in the root of the cd/dist. folder. Method 3 worked for me when i copied the 7za.exe from the OEM/bin folder to $OEM$\$1 and edited my unattend.txt file with the entries made to winnt.sif, but then i was going through the batch files and found this section in BTS_DPs_finish.cmd: :KtD_M2M3 SET tagfile=\I386 FOR %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:%tagfile%" set CDDRIVE=%%i: IF NOT EXIST %CDDRIVE%\I386\presetup.cmd GOTO KtD_M1 IF EXIST %DPDIR%\SetupCopyOEMInf.exe ( START %CDDRIVE%\OEM\bin\WatchDriverSigningPolicy.exe START /WAIT %DPDIR%\SetupCopyOEMInf.exe %DPDIR% TASKKILL /F /IM WatchDriverSigningPolicy.exe ) ELSE ( %CDDRIVE%\OEM\bin\SetDevicePath.exe %SystemRoot%\Inf ) GOTO Cleanup Which (if i get it right) won't work in my case, effectivelly skipping to the KtD_M1 section? It doesn't seem to have any side effects, but i would like to know if there's some easy modification for usage with distribution folders. Thanks for any input.
-
Hi guys, i wanted to use DP Sound A for my Intel D915GAG board, but i'm not sure if it will work - Intel D915GAG board claims to have Realtek ALC860 sound chip, but Bashrat lists only ALC861 in the list - are these the same and will the DP work with this motherboard? Thanks
-
Maybe this is a silly question, but do you have cmdow available in set path? Otherwise the syntax seems alright to me.
-
That may be correct for YOUR version of WindowsXP, for the one we're using (WinXP OEM Czech), this doesn't hold true as the Custom setting is the default one.
-
Taskbar and Start Menu Properties
Rambler replied to Coolsights2000's topic in Unattended Windows 2000/XP/2003
It's in the registry tweaks threads - just download the collected tweaks from those threads and you'll find it there. Most of the settings you are looking for are in the HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced section of registry. -
You didn't get me entirely, i didn't want to disable page file completely, i just wanted to pick the System managed size option, to which corresponds this setting. Anyways, i've already circumvented it with doing this via registry - ie. setting the "c:\pagefile.sys 0 0" value which does the trick. It's weird that this is possible to be done via registry, yet the MS tools won't let you.
-
Tweaking the Default User
Rambler replied to Badforyou2000's topic in Unattended Windows 2000/XP/2003
Your tweaks won't affect default user if you run them from ROE - that is unless you force the immediate execution of ROE at T-12 by using the rundll32 iernonce.dll,RunOnceExProcess command. I'd recommed putting your registry tweaks to single/multiple files and add them from cmdlines.txt. -
Put this to winnt.sif/unattend.txt: [Identification] JoinDomain = domain_name DomainAdmin = domain_admin_name DomainAdminPassword = "password" Substitute the values naturally.
-
3 questions about XP Unattend installs
Rambler replied to jtindillier's topic in Unattended Windows 2000/XP/2003
1) It depends how you initiate your installations - if you use WinPE or DOS floppy, u could use diskpart tool (and script it if you wish) or use other tools. 2) Well I'm no expert regarding this, but IMO you could always add the user account at first logon using the "net user" command (preferably via RunOnceEx). 3) Add desktop icon when/where? Do you mean adding desktop icon for all users? You need to be more specific here as there's plenty options. -
Hello - is anyone out there using SetACL utility to manage access rights/folder/file permissions? I'm trying to set permissions for a folder, but i'm getting this error: SetACL finished with error(s): SetACL error message: The SID for a trustee could not be found The invoked command is: SetACL.exe -on "C:\Documents" -ot file -actn ace -ace "n:tester;p:full" I'm trying to set full access permission for local user "tester" on folder C:\Documents and it gives me the above error. Also, I'd like ask how do you people manage/set folder/file permissions - using setacl utility, using other tool or you don't have to change any permissions when doing unattended installations? Edit: Hm, it works fine for local user such as this "tester", but doesn't work once i use domain user/group. Ie. originally i was trying to set the permission on that folder for user "tester" in domain "work", so the command would look like: SetACL.exe -on "C:\Documents" -ot file -actn ace -ace "n:work\tester;p:full"
-
IIRC during T-12 you modify HKCU which is also the default user profile at that time, so it affects all users.
-
I recommend reading this
-
Unfortunatelly that is not the case - at least not with the OEM version I'm using - the default option after installation is the Custom setting ("Vlastní velikost"). Btw. the WMI script sample you provided doesn't work either - analogously to pagefileconfig.vbs, it reports value out of range for the min value (initial size). Edit: I guess I'll stick to the registry tweak for the time being, as it seems to work (ie. setting the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PagingFiles to C:\pagefile.sys 0 0).
-
Well I know what WMI is, but I've never heard of wmic before. I could read your article, because i'm Czech, so that was no big task ROE - might it be the case, because I'm simply calling the vbs file instead of calling it via w/cscript? As for the page file - do you (or anyone else) know what should i set the sizes to when I want the System managed size option? The example you provided would correspond to the Custom setting? Or am I wrong here?
-
If you could post an example that would be nice, thanks. Regarding the WMI classes - I guess I was living on a tree that I didn't know about wmic I've read the article on your site, it's been useful. ROE - as I said, it seems that the process assumes the previous entries in my RunOnceEx have already finished and continues with next ones, which messes up the VB scripts. Anyways I'll try tweaking it some more.
-
The information came from here http://www.msfn.org/board/index.php?showto...60entry115460 and subsequently from http://www.msfn.org/board/index.php?showto...ndpost&p=122246, but I guess I was assuming too much similarity between reg entries and that mentioned script. I'll look at that tweak, thanks. Well, that persuaded me to dump UDF Btw. - you mean modifying unattend.txt via some vbs before the installation? Any chance you have such script? Or can you link to some? I can do simple sendkeys scripts, but not much more I'm afraid. Doesn't ring a bell right now. But that might be because it's early in the morning and I just got up. Unfortunately I can't use MSI installations, because (most of) the applications don't come in a form of MSI (nor can be extracted from the installation file). Just a quick question - what is ROE?
-
Hi again guys, i still have some problems/questions regarding unattended install and i hope you can help me with them. Here we go: 1) Has anyone successfully used UDF file? I've been trying to use an UDF file to select a computer which is gonna be installed - meaning i have various computer name and product key entries in my udf, but it never worked. I have the syntax right, the udf file has correct format, but it always fails at the product key stage of setup. I've also tried all the combinations of ProductKey, ProductID etc, none worked. 2) I'm applying my reg tweaks from cmdlines.txt - they all work fine except for tuning the visual effects. To understand me - i want to set visual effects to "Adjust for best performance" - so i used regtweaks from this forum plus i also played around with exporting coresponding entries from registry. Now the problem - after the installation the proper radio button is selected (ie. Adjust for best performance), but it seems all or some portion of it is not applied, because my start menu shows with that fade effect which goes away if i manually select the radio button and click apply. Any ideas here? 3) I'm trying to set paging file size to "System managed size" via the MS' pagefileconfig.vbs script, but it won't allow setting MIN and MAX values to 0, which would correspond to this option. I'm aware that there's another way of doing this via inf file, but i'd like to avoid that as i don't use them at all. 4) General question regarding scripted apps installations - if i need to install applications with custom options/selections during the app setup, is my only possibility to use VBS or other scripts? I assume so as normal/silent switches doesn't allow for much customization in most cases. Another question regarding this - i've made some VBS scripts for my apps which i install via runonceex, but it seems they're not always installed properly as the runonceex process thinks the setup of give app already finished and continues with next entry, but that causes trouble to those VBS scripts apparently - any solution to this? Use the VBS script as last entries in runonceex? Or other method? Thanks in advance for any suggestions.
-
It is also mentioned in the MSFN unattended guide here Would save you time searching for the answer
-
Is there a way to set this option (os decide) via pagefileconfig.vbs script? When i use cscript %systemroot%\system32\pagefileconfig.vbs /change /I 0 /M 0 /VO C:, it complains about the minimum that it has to be in the 2MB-4096MB range.
-
I've tried both ways (adding active command to the script file and using it manually in diskpart) with no success. Only adding syspart helped. I found the solution at WindowsITPro.com saying:
-
Thanks guys for undestanding the "issue" I just tried and it works also when it's outside the I386 folder, but you have to put the correct path in the OemFilesPath variable (in my case, i'm keeping $OEM$ alongside with, ie. on the same folder level, the I386 as the MSFN guide states - this is mainly for ease of use, because it takes few secs when going into I386 before the folder content is shown).