Jump to content


Photo

Usage Tip: Can not update cursor


  • This topic is locked This topic is locked
2 replies to this topic

#1 Patrick

Patrick

    Advanced Member

  • Members
  • PipPipPip
  • 202 posts
  • Location:Odessa, Texas

Posted 04 March 2004 - 03:58 PM

This tip is updated with easier instructions than before.

First, we need to open the program files folder by typing %programfiles% into the run box or by browsing to it from my computer.
Posted Image

Depending on your version of accutrack, right click accu80 or accu70 folder and choose properties. A box like the one below will appear.
Posted Image

On this current window we need to uncheck the read only attribute
Posted Image
and then click apply.


If you are running the ntfs file system the security tab will be present. Click it for the next steps.
Posted Image

Locate and select the users group listed in this box and grant them full control.
Posted Image

locate and select the power users group and grant them the same rights.
Posted Image


Now lets click apply but do not close this screen yet.
Posted Image

Locate and click the advanced button.
Posted Image

Locate and check the check box that is circled and then click apply.
Posted Image

A dialog box will appear like the one below.
Posted Image

click yes

repeat the same procedure for your accudata folder.

#2 Patrick

Patrick

    Advanced Member

  • Members
  • PipPipPip
  • 202 posts
  • Location:Odessa, Texas

Posted 05 March 2004 - 05:26 PM

:o
I found another way to solve this problem. This is to fix NTFS file permissions. So this is a Windows 2000 and XP quick fix only.

This must be run from an user account that has administrative rights on the workstion and fileserver the datafiles are on. You must only have the current accutrack version installed. This script will search for acutrack.exe and the last file it finds will be used as default path, but you can change this.

copy and paste the following text into a text file and save it as fixaccuperms.cmd
***********************************************
@echo off
SETLOCAL ENABLEEXTENSIONS
cls

:getusername
set /p name=Enter a username to adjust rights.
cls
if "%name%" == "" (
cls
echo Name can not be blank
goto getusername
)
set /p answer=You entered %name%. Is this correct?
if %answer% == Y goto localdomaincheck
if %answer% == y goto localdomaincheck
goto getusername
cls

set domaincheck=null

:localdomaincheck
title User: %name%
set /p domaincheck=(l)ocal or (d)omain user?

if %domaincheck% == l goto getpath
if %domaincheck% == d goto getdomain
if %domaincheck% == L goto getpath
if %domaincheck% == D goto getdomain
if %domaincheck% == null (
cls
echo Error: answer can not be blank.
set domaincheck=null
)

if "%domaincheck%" == "" (
cls
echo Error: answer can not be blank.
)

echo Error: choose L or D
echo.
goto localdomaincheck

:getdomain
cls
set domain=%userdomain%\
title User: %userdomain%\%name%

:getpath
Echo Please use Windows Explorer and open up your accutrack data location.
echo locate the address bar and type the path here.
set /p datapath=datapath =

if "%datapath%" == "" (
cls
echo datapath can not be blank.
goto getpath
)

:pathconfirm
cls
echo You entered %datapath%.
set /p answer=Is this correct?

if %answer% == y goto accutrack
if %answer% == Y goto accutrack
goto getpath

:accutrack
cls
cd \
echo Searching %systemdrive% for acutrack.exe, this may take a min...
FOR /F "USEBACKQ DELIMS==" %%I IN (`dir /b /s /ad %systemdrive%`) DO (
if exist "%%I\acutrack.exe" set accupath=%%I
)

:accutrack2
cls
echo Current Accutrack program is located at: %accupath%
set /p answer=Is this correct? Y/N
if %answer% == Y goto end
if %answer% == y goto end
if %answer%== N (
cls
Echo Please use Windows Explorer and open up where your accutrack is installed.
echo locate the address bar and type the path here.
set /p accupath=accupath =
goto accutrack2
)
if %answer%== n (
cls
Echo Please use Windows Explorer and open up where your accutrack is installed.
echo locate the address bar and type the path here.
set /p accupath=accupath =
goto accutrack2
)
goto accutrack

goto end

:end
cls
Echo About to change permissions for the accutrack data directory %datapath%.
echo user: %domain%%name% will be granted full access to the folder and sub contents.
echo.
Echo Please shut all accutrack programs down now before proceeding!
echo.
set /p answer=Proceed Y/N
if %answer% == Y (
start "Changing %datapath% permission for user %domain%%name%" /wait cacls "%datapath%" /t /e /c /g "%domain%%name%":F
echo done
)

if %answer% == y (
start "Changing %datapath% permission for user %domain%%name%" /wait cacls "%datapath%" /t /e /c /g "%domain%%name%":F
echo done
)
echo.
echo.
echo.
Echo About to change permissions for the accutrack program directory %accupath%.
echo user: %domain%%name% will be granted full access to the folder and sub contents.
echo.
Echo Please shut all accutrack programs down now before proceeding!
echo.
set /p answer=Proceed Y/N
if %answer% == Y (
start "Changing %accupath% permission for user %domain%%name%" /wait cacls "%accupath%" /t /e /c /g "%domain%%name%":F
echo done
)

if %answer% == y (
start "Changing %accupath% permission for user %domain%%name%" /wait cacls "%accupath%" /t /e /c /g "%domain%%name%":F
echo done
)
echo.
echo.
echo.
echo Complete

pause




***********************************************

This will do what the pic above does.

All attempts at error checking etc were taken into account. This is meant to help those not familiar with ntfs permissions to correctly setup the file and folder permission for accutrack.

THis script uses the cacls command in win xp
for help on the cacls command open a command prompt and type cacls /? for a description of the switches and other options available.

#3 Patrick

Patrick

    Advanced Member

  • Members
  • PipPipPip
  • 202 posts
  • Location:Odessa, Texas

Posted 24 August 2004 - 10:12 AM

added here, image limits in main paost.
*****************Special note for user accounts**************
You may need to add to this area granting them rights needed for accutrack.
Posted Image

click add
a box like the one below will appear. Enter the username that needs the rights.
Posted Image

Edited by mon, 12 January 2011 - 04:44 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users