> When I try to unregister the windows service I get an error like: > > C:\Program Files\PostgreSQL\8.1\bin>pg_ctl.exe unregister -N > "pgsql-8.1" > pg_ctl: could not open service manager > > This is on Windows XP and the logged user is postgres You need administrative privileges to unregister a service. Can't run it as user postgres. //Magnus
> You need administrative privileges to unregister a service. Can't run it > as user postgres. I did the same under "Administrator" but then I get an access violation error like: Unhandled exception at 0x77c478c0 in pg_ctl.exe: 0xC0000005: Access violation reading location 0x00000000. What am I dong wrong?