darksimoon Posted November 21, 2007 Share Posted November 21, 2007 (edited) hello friends;its me again-asking questions- i'm having problems with multiple runonceex. and i'm sending you the related pictures attacted.when i try it in windows it works but in a virtual machine it gives the below errors.meanwhile when saying windows, i mean that i have a partition which includes the unattended cd contents but except nothing. and i try something like batch files etc. from this partition as if its executed within CDROM. this is my way and at most cases it offers good practising opportunities.my configuration which mignt be necessary for this problem is as below motherboard :MSI KN ultraram :1GB 800MHZCPU :AMD x64 2100 MHzi expect your answers, thanks in advance(i'm sorry for the zipped file. now i!m sending the pictures theirself) Edited November 22, 2007 by darksimoon Link to comment Share on other sites More sharing options...
darksimoon Posted November 22, 2007 Author Share Posted November 22, 2007 hey friendsi think i found the reason for this problem. for my user "alper" is not belong administrator group so it gives such an error.so my next question is ; here are my files about user creation. can you pls check it for me ? or if its true can you tell me why might the user "alper" is registered as user but not administrator ?thank you very much again =========cmdlines.txt=============[COMMANDS]"useraccounts.cmd""UserRunOnce.cmd"".\regtweak\regtweaks.cmd" ".\command\RunOnceEx.cmd"".\command\component.cmd" ".\command\temp.cmd"=====================================useraccounts.cmd==========cmdow.exe @ /hidnet user alper "" /addnet localgroup Administrators alper /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.reg========================================autologon.reg===========Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="alper""DefaultPassword"="""AutoAdminLogon"="1"=============================== Link to comment Share on other sites More sharing options...
Arie Posted November 22, 2007 Share Posted November 22, 2007 Instead of net user alper "" /add, use net user alper * /add... but this is not your problem. The commands which you run from CMDLINES.TXT do not run as the user which you create; CMDLINES.TXT gets processed, you create a user, apply tweaks, et cetera, but you do all this during the setup process and not as the user "alper", so you're looking in the wrong direction in regards to your problem. I believe that your problem lies in your regtweaks.cmd or RunOnceEx.cmd or in that direction. You try to add registry keys, but are not allowed to do so, so either you write to the wrong keys or something, or more likely, you have restricted your registry with your tweaks. Please post the contents of your tweaks and RunOnceEx files. Also, try installing again, but without applying the regtweaks and RunOnceEx files. Let me know how it went. Link to comment Share on other sites More sharing options...
darksimoon Posted November 22, 2007 Author Share Posted November 22, 2007 hi Arie thank you very much for your reply. at least i know where to start and as a first step i excluded the registry tweaks. and now its getting ready in the VM ) as soon as get the results i 'll inform you about the result.thanks a lot again !!! Link to comment Share on other sites More sharing options...
darksimoon Posted November 22, 2007 Author Share Posted November 22, 2007 (edited) hi Arie;here's the result. though i have exlcuded the registry tweaks nothing changed. alper is still just user but not an administrator. then i decided to apply all the command at useraccounts.cms at a cmd windows and the result is as picture. do you have a comment for such occation ?edited:when i use "suleyman" instead of "alper" all commands at cmd window works. so i think the problem is that a user name must be consist of at least 6 digits. because my previous username was userxp and there were no problem. is it true ??? Edited November 22, 2007 by darksimoon Link to comment Share on other sites More sharing options...
darksimoon Posted November 22, 2007 Author Share Posted November 22, 2007 again hi Arie this time i found the reason machine name and user name cant be the same !!!!! my computers name is alper and i was trying to make a user called alper too. so i allways getting the error that "specified user does not exist"thank you very much for your help and encouraging me ) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now