April 15, 200422 yr Hi all,I try to add users to my machine on the t13, t12 moment.It says systemerror 1317, and says the user does not exists when I try to add the user to a group (administrators).Also when I want to restart the pc, it says I have no right or something???this is my cmd that I run on the t13, t12 moment: (things that went well are deleted to keep it small)errors:- shortcuts cannot be found- file to copy does not exists (or directory), but I am damned sure about that!CLS@echo offTITLE Windows XP SP1a ECHO.ECHO Delete unused shortcuts...DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"DEL "%AllUsersProfile%\Start Menu\Programmatoegang en -instellingen.lnk"DEL "%AllUsersProfile%\Start Menu\Windows-Catalogus.lnk" ECHO.ECHO Copying Winrar 3.30 filescopy "%systemdrive%\install\Winrar\Rarreg.reg" "%ProgramFiles%\WinRAR\Rarreg.reg" ECHO.ECHO Restarting in 1 minute...shutdown.exe -r -f -t 60 -c "Windows XP will restart in 1 minute" ECHO.ECHO Delete temp files...RD /S /Q %systemdrive%\DriversRD /S /Q %systemdrive%\install EXITWhat's wrong with this???btw. here is my userscreation:net user Geert /addnet localgroup Administrators Geert /add net user Jos /addnet localgroup Administrators Jos /add net accounts /maxpwage:unlimited EXIT
April 17, 200422 yr I did the following and everything worked out fine:In cmdlines.txt I added the following:[COMMANDS]"net user /add Games""net localgroup administrators /add Games""net user eigenaar /delete"So I didn't run it from a batch file but directly from the cmdlines.txt, I experienced some trouble to when running from a batch file. I didn't have no rights either, this way fixed the problem.try if this works for you....
Create an account or sign in to comment