21. september 2001 - 04:41Der er
5 kommentarer og 1 løsning
Brugerkonti og tilladelser
Jeg har siddet i en Accessdatabase og leget med brugerkonti og tilladelser i den tro, at det kun havde indvirkning på den aktuelle database. Bagefter opdagede jeg til min skræk, at samtlige mine databaser kræver brugernavn og adgangskode. Jeg kan kun åbne den aktuelle database. Hvis jeg vil åbne de andre med den samme adgangskode, siger den at kontoen ikke findes. Jeg kan dog åbne de andre igennem den aktuelle database, som jeg \"legede\" i.
Hvordan får jeg Access tilbage til normal igen ? Er jeg nødt til at fjerne Office og derefter geninstallere og kan det overhovedet hjælpe ? Eller findes der en anden metode ?
Skal virksomheder stå stærkere mod angreb og kunne udvikle sig, skal sikkerhed, drift og forretning tænkes sammen. Det er tanken bag Jysk IT’s ambition om at skabe en “sikker fremtid” for kunderne.
Fra din CD, reetabler C:\\Program Files\\Common Files\\System\\system.mdw
(så skulle alle brugeroplysninger og koder være nulstillet igen)
Fremover så (INDEN du begynder på brugerkontier) lav en kopi en ovenstående fil.
Lav dine ændringer (med kontier og pass\'es) og kopier system.mdw hen hvor databasen ligger og åben den med drev:\\sti\\office\\access.exe drev:\\stitildatabase\\database.mdb
OG nedenstående parametre: (Det er /wrkgrp workgroup du skal kigge på)
Startup command-line options The following table lists the Microsoft Access command-line options.
Option Effect database Opens the specified Microsoft Access database or Microsoft Access project. Include a path if necessary. If you are running Microsoft Windows 95, the default path is your My Documents folder. /excl Opens the specified Access database for exclusive access. To open the database for shared access in a multiuser environment, omit this option. Applies to Access databases only. /ro Opens the specified Access database or Access project for read-only access. /user user name Starts Access by using the specified user name. Applies to Access databases only. /pwd password Starts Access by using the specified password. Applies to Access databases only. /profile user profile Starts Access by using the options in the specified user profile instead of the standard Windows Registry settings created when you installed Microsoft Access. This replaces the /ini option used in versions of Microsoft Access prior to Access 97 to specify an initialization file. /compact target database or target Access project Compacts and repairs the Access database, or compacts the Access project that was specified before the /compact option, and then closes Access. If you omit a target file name following the /compact option, the file is compacted to the original name and folder. To compact to a different name, specify a target file. If you don\'t include a path in target database or target Access project, the target file is created in your My Documents folder by default. In an Access project, this option compacts the Access project (.adp) file but not the Microsoft SQL Server database.
/repair Repairs the Access database that was specified before the /repair option, and then closes Microsoft Access. In Microsoft Access 2000 or later, compact and repair functionality is combined under /compact. The /repair option is supported for backward compatibility. /convert target database Converts a previous-version Access database or Access project to the default file format, renames the new file, and then closes Access. You must specify the source database before you use the /convert option. To view the default file format, click Options on the Tools menu, and then click the Advanced tab. /x macro Starts Access and runs the specified macro. Another way to run a macro when you open a database is to use an AutoExec macro. /cmd Specifies that what follows on the command line is the value that will be returned by the Command function. This option must be the last option on the command line. You can use a semicolon (;) as an alternative to /cmd. Use this option to specify a command-line argument that can be used in Visual Basic code.
/nostartup Starts Access without displaying the task pane (the second dialog box that you see when you start Access). /wrkgrp workgroup information file Starts Access by using the specified workgroup information file. Applies to Access databases only.
Notes To run a Visual Basic for Applications procedure when you open a database, use the RunCode action in the AutoExec macro or in the macro that you run by using the command-line option /x. You can also run a Visual Basic procedure when you open a database by creating a form with a Visual Basic procedure defined for its OnOpen event. Designate this form as the startup form by right-clicking the Database window, clicking Startup, and then entering that form in the Display Form/Page box. To specify a forward slash (/) or semicolon (;) on the command line, type the character twice. For example, to specify the password ;mjs/md on the command line, type ;;mjs//md following the /pwd command-line option.
Du kan også bare åbne filen \"MS Access-arbejdsgruppeadministrator\" (WRKGADM.EXE) som ligger i Office-biblioteket. Her kan du vælge at oprette en ny arbejdsgruppe (og tilslutte dig den).
Det virkede jo som det skulle, så du får point\'ene hojben.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.