Jump to content

Seems I have no rights


Recommended Posts

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
EXIT

What'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
Link to comment
Share on other sites


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....

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...